Skip to content

feat: show run failure, cancel, and truncation reasons#4

Closed
Navneethd8 wants to merge 1 commit into
mainfrom
feat/run-status-reasons
Closed

feat: show run failure, cancel, and truncation reasons#4
Navneethd8 wants to merge 1 commit into
mainfrom
feat/run-status-reasons

Conversation

@Navneethd8

Copy link
Copy Markdown
Collaborator

Summary

  • Adds status_reason, status_detail, and list-level outcome fields to the frontend Run type and documents batchRunStatus for lightweight polling.
  • Introduces runStatus.ts helpers and a RunStatusReason component for human-readable terminal explanations.
  • Surfaces reasons in Recent runs, Live run monitor, Developer dashboard run lists, and Test bench results; episode rows now show terminal_info.reason (step limit, token budget, cancellation, etc.).

Pairs with swecc-core bench-api changes (status_reason / status_detail on runs and /v1/runs/status).

Test plan

  • Submit a run that completes — no reason banner; scores still show
  • Cancel an in-flight run — UI shows user_cancelled
  • Fail a run (e.g. env down) — run row shows status_reason and episode-level detail
  • Truncated episode — episode row shows step limit reason
  • npm run lint && npm run build

Made with Cursor

Consume bench-api status_reason, status_detail, and episode terminal_info
across recent runs, live monitor, dev dashboard, and test bench results.
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

Marking as stale since there has been no activity for 30 days. Will close in 7 days if no activity.

@github-actions github-actions Bot added the stale label Jul 1, 2026
@github-actions github-actions Bot closed this Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant