It would be helpful if there was more control over when DO App rebuilt.
I would like to change environment variables without triggering a rebuild and the reason is:
If I make changes to my code base which includes adding new environment variables then I go to DO and add the environment variables. This triggers a build but it is not pulling the new code base from github during this rebuild. So once that build is done then I have to rebuild again so that it rebuilds with the new version on github.
Long story short I have to do two rebuilds if I change something that requires adding environment variables.
Another option would be to have a setting that disables auto rebuild on environment variable changes or to at least cancel a rebuild that is in progress.
I noticed today when I added an environment variable it did not trigger a rebuild. Has this been updated? Its hard to tell because sometimes the UI is buggy about showing a building state.
Attachments Open full size
Another reason this is a must-have feature:
Sometimes I need to scale my app in response to a spike in traffic. App Platform will sometimes trigger a rebuild when I do this. I'm told by support it is because there has been an update to App Platform itself. It's great that it automatically knows to rebuild so my app is taking advantage of the updates, but in this particular case I don't have time to wait for a full rebuild- I need my new nodes running ASAP.
Attachments Open full size