Repository navigation
A run builds every repository of its plan, and nothing waits on a person without a typed reason - #956
Merged
Merged
Conversation
…son without a typed reason
coderhelm
Bot
dismissed
their stale review
December 1, 2026 20:50
Superseded by CoderHelm's latest review
Contributor
|
🟡 Post-merge health check: deploy cancelled: the deploy for
|
…queued is put back - The placeholder check reads each changed file's status: a file the diff removes ships nothing, and only a file added, renamed or copied under a placeholder path is a placeholder file. A file only changed there is read by the lines it adds. The diff is read in full (every page), and a listing that fails keeps the draft waiting for the next read instead of passing it unread. - The Python handler rule reads the names a function runtime calls (handler, lambda_handler), and a stub or stubs folder is no longer read by its name: generated RPC stubs and no-op hooks are real code. - A plan continuation whose step couldn't be queued puts back what its claim changed (status, its index key, the pass, the wait, the count), so the run is never left running with no step. - A run whose continuations are spent while its plan still owes a repository stops with a typed reason, never waiting behind the end gate. - A task list's section is a repository only under the plan repository's owner: folder headings are not parts. - The waiting line's API example and two comments on deferral now say what the code does.
coderhelm
Bot
dismissed
their stale review
December 3, 2026 20:27
Superseded by CoderHelm's latest review
This was referenced Dec 3, 2026
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.
Summary
A run whose plan spans two repositories could open one pull request and finish with most of the second repository's tasks still to do. Its own review then asked for changes that only the other repository's tasks would make. A fix round spent hours on a branch where that fix couldn't live, the findings were listed as deferred, and the run ended "Done". Its page said "Waiting on: a person" next to "Nothing needed from you", and a finding with no file rendered as "💬 `` — …".
This makes four rules hard invariants, each enforced in code with a guard test:
common::run_ending), which now writes it only underPLAN_GATE: the run'splan_owedcount is 0. A source scan fails if a new ending path is written outsiderun_status.common::stub_checkreads the diff for placeholder files, empty handlers, "not implemented" errors and TODOs where the implementation goes. The ready decision waits on them, and the one call that marks a pull request ready checks again right before GitHub is asked. Pull requests open as drafts, so a part is never offered for review on its own. The parts are built, linked ("part 1 of 2", "part 2 of 2", with the merge order) and only then offered together.PersonOnlydefers. CoderHelm's own limits become an internal alert and a typed stop through the supervisor's ending. They are never "Done", never deferred and never a person's wait.PersonOnly(A hand-off to a person is typed, and CoderHelm owns its own limits #930). The merge standing, the draft hold and the page's line name a person only through it, so "Needs a person" and the top line come from one state and can't disagree. When the only wait left is the repository's required approval, the line reads exactly "Needs 1 approval from a person (repo rule) on #N". A source scan fails when a new text claims a person is needed without the type.Changes
common::plan_repos(new) keeps a run's plan repository by repository, with what each part built, its pull request, and what the run still owes.Next::Buildbuilds what is owed;Next::Personcovers only a repository CoderHelm can't write to, as a typedPersonOnly.plan_continue(new):continue_if_owedruns before any fix round or deferral on the run's own review.sweepruns on deploy and every 15 minutes and picks up runs that still owe a repository, including runs from before the record kept the plan (their plan is read from the task list they wrote). Each continuation is claimed and bounded.run_ending: done and waiting endings carryPLAN_GATE. Stops (an error, a person cancelling) are not held.ready:offer_blocked(plan owed, stubs) makes a draft wait, andmake_readyrefuses it before GitHub is asked. Stubs go to CoderHelm's coder as findings of its own.own_review_ledger::typed_settle,resume,pr_watchandready: deferral is typed. CoderHelm's own leftovers (OwnRound::Own) are alerted and never listed as deferred. The completion guard never completes over CoderHelm's notes. The self-review rounds no longer defer what they couldn't fix.merge_standing: newbuilding_planandplan_needs_accesscodes, approvals counted from the branch rules,Standing::person_only, andneeds_persononly through it.review_changes_requestedis CoderHelm's next fix round, never a person's.waiting_lineanddraft_hold: a person only through the typed hand-off. The required approval reads "Needs N approval(s) from a person (repo rule) on #N".review_agent: a finding with no file is listed by its title, never with an empty place.rendered::person_textalso fails on an empty name ("- 💬 — …", "****").await_merge: a base merge conflict no longer says it "needs a person's call".RunDraftHold.needs_personandRunMergeStanding.approvals, withdocs/api/openapi.jsonregenerated.xj_plan_builds_every_repowith its page.Verification
cargo fmt --all --check,rustfmt --check --edition 2021 worker/src/passes/incidents/*.rscargo clippy -p common -p worker -p gateway --all-targets -- -D warningscargo test -p common -p worker -p gatewaybrand_spelling.pyanddomain_examples.pyacme/bookstore-infraandacme/bookstore-api):Dashboard: CoderHelm/coderhelm#537