Repository navigation
Local builds that are never finalized finish quietly instead of failing (sc-8795) - #24
Merged
Merged
Conversation
This was referenced Dec 2, 2026
… an hour with nothing new, a local build is finalized as a subset of what arrived and compared, with a warning saying so, instead of failing like an abandoned CI build; one workers::expire_abandoned for build create (REST, MCP) and builds:expire; the local runs page says so; plugin 0.1.30
ndbroadbent
force-pushed
the
local-expiry
branch
from
December 2, 2026 06:48
16433dc to
7518078
Compare
VisualCIdocspring/visualci · build #134 · 302 unchanged · no changes This PR vs base: nothing since #132, across 1 build Updated as builds change. Agents can review with VisualCI's MCP tools. |
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.
sc-8795, second part. A local run that never calls
visualci build finalizewas expired as a failure after an hour ("the CI job most likely stopped"). That happens with a per-test helper in a test runner with no hook at exit, such as Rust test binaries. Since #21,visualci test -- <command>finalizes a run when it ends. For runs without it, a quiet local build now ends quietly too.builds::Model::expire_abandonedhandles a build with nothing new for an hour by its mode:compare --waitalready checked keep their results. It carries the warning LOCAL_FINISHED, which says it finished withoutvisualci build finalizeand points tovisualci test. Processing keeps that warning (it rebuilds a build's warnings from its settings).It returns
Expired { failed, finished }.workers::expire_abandonedis one helper for the three callers: build create (REST and MCP) and thebuilds:expiretask.Docs: the local runs page says a never-finalized local build isn't a failure. The local-runs skill is regenerated, plugin 0.1.32. (main is at 0.1.31.)
Test: the abandoned-build request test now also creates a local build and ages both by two hours. The CI one fails with ABANDONED. The local one isn't failed or receiving: it's a subset, may be empty, has finalized_at set, no error, and LOCAL_FINISHED as its last warning. A second sweep finds nothing. API and MCP request tests pass on docspring-dev, and clippy is clean.
Review: no screenshots change.