Repository navigation
team-setup: hand over to the gate's starting page on restart - #19
Merged
trotterdylan merged 1 commit intoOct 7, 2026
Conversation
Pressing Restart used to keep the bb page up through the whole restart, polling until the server came back and only then reloading. A bb whose server has just left is a dead UI: every request and socket fails, and there is nothing it can show. Now the banner polls twice a second and reloads the page as soon as the Deployment reports the old pod gone; the router answers that load with its starting page, which reloads itself until the new pod is up. Waiting for not-ready rather than reloading at once keeps the reload from landing on the old pod in its last moments. A POST that applied nothing, because the server was already current or the quiet window got there first, drops the banner instead of waiting for a restart that never comes. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Pressing Restart now reloads the page as soon as the server has gone down, so the gate's own starting page takes over instead of a dead bb UI. It polls
/_bb-gate/updatetwice a second after the POST, reloads on the first not-ready answer, and reloads anyway after 15 seconds if the Deployment never reports going down. A POST that applied nothing drops the banner without a reload.Lands with bitcomplete/bb-gate's pre-pull DaemonSet and zone preference on the same branch, which take the image pull off the restart; this PR goes first.
🤖 Generated with Claude Code