Skip to content

workflow: report a stage that fails under BestEffort - #920

Merged
rgushchin merged 1 commit into
sashiko-dev:mainfrom
ftabba:pr/record-failed-stages
Nov 19, 2026
Merged

rgushchin merged 1 commit into
sashiko-dev:mainfrom
ftabba:pr/record-failed-stages

Conversation

@ftabba

@ftabba ftabba commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

A stage in a BestEffort batch can fail without failing the review, and the engine records it as if it had succeeded. Since a1065ed the Linux analysis stages run that way. A local review whose execution-flow stage failed on a truncated model reply printed "Review complete", exited 1 with the other stages' findings, and its JSON held no trace of the failed stage.

This keeps the error on the stage's run record, shows it in the stage's review_map entry, and lists the failed stages under failed_stages in the review output. sashiko review then names each failed stage and, as for a failed patch, prints "Review incomplete" and exits 3. Its --agent status becomes incomplete. The daemon's handling is unchanged, since it keys its retries on a top-level error, which a stage whose failure the review survives doesn't set.

A stage in a BestEffort batch can fail without failing the review, and
the engine records it as if it had succeeded. Since commit a1065ed
("ui: implement frontend for linux kernel bugs") the Linux analysis
stages run that way, so a review that loses one still prints "Review
complete", exits as a complete review would, and leaves no trace of the
stage in its JSON.

Keep the error on the stage's run record, show it in the stage's
review_map entry, and list the failed stages under failed_stages in the
review output. sashiko review then names each failed stage and, as for
a failed patch, prints "Review incomplete" and exits 3. Its --agent
status becomes "incomplete".

Fixes: a1065ed ("ui: implement frontend for linux kernel bugs")
Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev>
@sashiko-bot

sashiko-bot Bot commented Nov 19, 2026

Copy link
Copy Markdown

Sashiko review

✓ No issues found across 1 commit.

Full review log on sashiko.sashiko.dev

@rgushchin
rgushchin merged commit b6e6471 into sashiko-dev:main Nov 19, 2026
1 check passed
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.

2 participants