Repository navigation
Local builds wait only for their person and close after a week idle - #38
Merged
Merged
Conversation
… builds.created_by_user_id (migration 000041) from a person's token (REST, MCP); whoami and list_builds' waiting_for_review show a local build only to its person; builds:expire closes local builds idle 7 days with a note; docs: who reviews main's builds, review mode recommended, wait only with a reviewer; plugin 0.1.38
ndbroadbent
force-pushed
the
local-builds-waiting
branch
from
December 2, 2026 08:44
3977549 to
5ca2f47
Compare
VisualCIdocspring/visualci · build #161 · 2 changed, 10 added, 300 unchanged · approved by visualci coordinator agent (MCP) for Nathan Broadbent
This PR vs base: nothing since #157, across 2 builds
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.
Local builds belong to the person whose run they were. From the adoption check: Talira's stale local build #2 sat in everyone's waiting list.
Who made a build:
builds.created_by_user_id(migration 000041) is set when a person's token creates the build, on RESTPOST /api/v1/buildswith avcu_token and MCPcreate_buildwith a user's token or OAuth. A project token leaves it empty.Waiting lists: whoami's
waiting_for_reviewandlist_buildswithwaiting_for_review: trueshow a local build only to the person who made it (Model::waits_for). Other members and project tokens see CI builds only.Idle local builds:
builds:expirecloses a local build that has waited a week with nothing happening (no review, comment or snapshot change), with the note "Closed without review: a local build, idle for 7 days." It stays in the build list, and a new local run waits afresh.Docs, "Repositories without pull requests":
reviewmode with the agent that pushed reviewing its push;waitonly where a deploy mustn't go out with an unreviewed change, and only if someone reviews within the timeout;list_builds' waiting_for_review doc says the same. Skills regenerated, plugin 0.1.38 (Docs: GitHub App and required-check gaps found adopting VisualCI in our own repos #37 has 0.1.37).Test: the owner's local build and a CI build both waiting.
close_idle_localcloses the local build with the note and leaves the CI build.MCP and API request tests pass on docspring-dev; clippy and fmt are clean.
Review: the MCP tools-list JSON snapshots change (the waiting_for_review description). No screenshots change.