Skip to content

Report failing format commands - #121

Merged
adamw merged 6 commits into
masterfrom
review/rl-4
Aug 7, 2026
Merged

Report failing format commands#121
adamw merged 6 commits into
masterfrom
review/rl-4

Conversation

@adamw

@adamw adamw commented Aug 7, 2026

Copy link
Copy Markdown
Member

A format command that fails is invisible: formatWorkspace throws away the exit code, so a typo or a missing tool produces no output for the whole run. The same bash -c call is also written out twice, here and in the lint gate.

Each failing command now emits a Step with its name and exit code, and both call sites use one runShell helper. Failures still never stop the loop.

Stacks on the review/rl-3 PR.

Finding: docs/research/2026-08-review/review-loop/04-format-failures-invisible.md

adamw and others added 4 commits August 7, 2026 14:59
A finding the fixer declined, or the confidence gate held back, stayed on
the books even after a later round fixed it: it came back in the final
IgnoredIssues and was re-sent to reviewers as still declined. Both loops
now drop fixed titles from the carried set and the gate ledger. Also
trims the repeated declines rationale down to one copy.
The three exit arms of the review loop each folded gate rejects by hand,
with an ordering rule only a comment stated. Exits now build a LoopExit
and call conclude, which owns the fold. The fixer-halt arm of both loops
shares one helper, so fixLoop also announces the bail-out.
…urce

The Option parameter hid three coordinated behaviours that pinning changes.
The initial-review prompt also claimed every diff covered the whole stage,
which is not true for a pinned one, so the framing sentence now comes from
the diff source.
A format command that fails produced no signal at all: the exit code was
discarded, so a typo or a missing tool stayed invisible for the whole run.
Each failing command now emits a Step naming it and its exit code, and the
bash -c call shared with the lint gate moved into one runShell helper.
Base automatically changed from review/rl-3 to master August 7, 2026 23:29
@adamw
adamw merged commit 680477c into master Aug 7, 2026
4 checks passed
@adamw
adamw deleted the review/rl-4 branch August 7, 2026 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant