Repository navigation
Deploy safety: builds sweep every minute, a stalled build restarts once nothing holds it, a 60 s hold (build 1069 sat 19 minutes after a deploy) - #202
Merged
Conversation
VisualCIdocspring/visualci · build #686 · 510 unchanged · no changes This PR vs base: 14 changed, 86 added since #616, across 2 builds docspring/visualci · journeys · build #684 · 50 unchanged · no changes This PR vs base: nothing since #612, across 2 builds Updated as builds change. Agents can review with VisualCI's MCP tools. |
…utes after its last change once nothing holds it (a killed run's next attempt found the dead hold and left; build 1069 sat 19 minutes)
…last renewal; the job's first retry waits 90 s, past a killed run's hold
ndbroadbent
force-pushed
the
dead-holder-restart
branch
from
December 4, 2026 12:30
f3c2ddc to
f9d0665
Compare
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.
Build 1069 sat in processing for about 19 minutes after the 10:07 deploy (the Status check fired at 10:18).
Cause (Loki, from talira infra)
builds.processrun, while that run held the build's processing lock.Fix
/statuscomment, the config docs and.env.examplefollow.Tests
the_sweep_runs_a_stalled_build_again_once_nothing_holds_it. A build idle for 4 minutes whose lock is held isn't restarted; once the lock is released, it is. On main it fails ("nothing holds it now": 0 restarted).Not here: graceful worker shutdown on SIGTERM. A run that finishes or hands back its lock on a deploy would be better than this safety net. That needs work in the framework's queue worker, plus a longer grace period from infra; that's a follow-up.