Repository navigation
infra: deploy script follow-ups from the #14 review #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes #16 wrong until #16 is updated, so the merge order now matters.
#16 still has
timeout-minutes: 20, with the comment "5 min waiting for the server's lock + 3 min rollout + 3 min rollback". Raising the lock wait to 15 min changes that sum:So if this merges and #16 goes in unchanged, a deploy that actually waits on the lock gets killed by GitHub mid-rollback: the cluster is left half-reverted and the log says "timed out" with none of the
show_stateoutput. That's the failure I was worried about in my comment on #16, now made more likely rather than less.You say the 30-minute change happens in #16, and I believe you — it just isn't there yet, and #16 is a draft that gets rebased. Could the 30 go in before this merges, or could this PR carry it? Whichever is easier; I mainly want them not to be able to drift apart.
Smaller, for later rather than now: at three Deployments (worker, phase 2) it's 15 + 9 + 9 = 33, over even the new 30. Your argument that the lock rarely waits — because the pipeline's
concurrencygroup already serialises main — is fair, and I'm not asking you to change the number. But the rule behind both numbers is "180 s × however many Deployments are ink8s/app/", and that rule still isn't written down next to either of them. One sentence in this comment block would mean whoever adds the worker knows there are two numbers to revisit, in two different files.