Skip to content

review: expose failed review diagnostics in raw logs#213

Open
smcdef wants to merge 1 commit into
sashiko-dev:mainfrom
smcdef:pr/failed-review-diagnostics
Open

review: expose failed review diagnostics in raw logs#213
smcdef wants to merge 1 commit into
sashiko-dev:mainfrom
smcdef:pr/failed-review-diagnostics

Conversation

@smcdef
Copy link
Copy Markdown

@smcdef smcdef commented May 23, 2026

Review failures were stored as review-level result descriptions, while the patchset page mostly surfaced patchset.failed_reason. When the review worker failed before producing a final JSON payload, the raw log page could also be empty because no interaction logs had been persisted.

Keep patchset details concise and route failure diagnosis through the existing raw-log link. Make the raw log page show the final failure reason above the interaction log, then fall back to saved raw output or input context when no structured interaction log was recorded.

Capture partial stdout, stderr, and AI turn summaries while the review tool runs, keep those logs if completion later stores no log payload, and store process output with explicit process-log metadata so it can be rendered separately from AI interactions.

Review failures were stored as review-level result descriptions,
while the patchset page mostly surfaced patchset.failed_reason.
When the review worker failed before producing a final JSON payload,
the raw log page could also be empty because no interaction logs
had been persisted.

Keep patchset details concise and route failure diagnosis through
the existing raw-log link. Make the raw log page show the final
failure reason above the interaction log, then fall back to saved
raw output or input context when no structured interaction log was recorded.

Capture partial stdout, stderr, and AI turn summaries while the
review tool runs, keep those logs if completion later stores no
log payload, and store process output with explicit process-log
metadata so it can be rendered separately from AI interactions.

Signed-off-by: Muchun Song <songmuchun@bytedance.com>
@smcdef
Copy link
Copy Markdown
Author

smcdef commented May 23, 2026

After apply the patch, developers will know the reason about the failure.

image

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