Repository navigation
Run page: tooling failures, covered by an open PR, evidence on questions - #258
Merged
Merged
Conversation
nambok
force-pushed
the
feat/stop-discipline
branch
from
October 28, 2026 01:24
451e9ee to
0792956
Compare
…y an open PR link it, questions show their evidence
- A failed run whose stop_kind is tooling shows "Tooling failure" with the
exact command, the error and what was tried first, never a question.
- New status covered_by_pr ("Covered by an open PR", in Done): the run page
says "Already being fixed in #N", links the pull request, says why, and
offers Retry for a ticket that needs its own change.
- A question lists the evidence it cites (path:line or a lookup id).
- api.ts and openapi-fields.ts carry stop_kind, tooling_failure, covered_by
and RunQuestion.evidence from the platform's API document.
nambok
force-pushed
the
feat/stop-discipline
branch
from
October 28, 2026 18:16
0792956 to
69dd190
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.
Summary
The run page for the stop rules in CoderHelm/coderhelm-platform#349:
Changes
run-status.tsx: addscovered_by_pr, shown as "Covered by an open PR" in the Done group (the runs list'sstatus=filter too).runs/detail/page.tsx:stop_kind = toolingshows "Tooling failure", with Command and Error code blocks and what was tried first.covered_by_prshows "Already being fixed in #N" with the PR's title, author and reason, plus Open #N and Retry.covered_by_pr.run-questions.tsx: each question lists its evidence (path:line, lookup id).api.tsandopenapi-fields.ts: addstop_kind,tooling_failure,covered_byandRunQuestion.evidence, generated from the platform branch's API document.e2e/stop-rules.spec.ts: the three cases, at desktop and phone width, with no sideways scroll, plus Retry on a covered run.Verification
tsc --noEmitpasses, andnpm run lintpasses (ui-lint is at the<pre>baseline; it uses CodeBlock).stop-rules,run-questions,list-and-paletteandround-incomplete: 28 passed.audit-runs,audit-shell,close-runsandrun-trigger: 69 passed.