Repository navigation
fix(console): show a failed deployment's error once on the agent page - #3539
Conversation
The failed-deployment block put "Deployment failed · v1" over the title
"v1 deployment failed", and on the failed version's Configuration tab its
deployment record repeated the same error text below the block.
The label now shows only over a serving title ("This Agent may be
offline"), where it names the failed version. While the block leads with the
viewed version's failure, that version's record names the outcome and points
at the block instead of repeating the error.
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR removes a redundant failure label and replaces the matching version record’s repeated error with a pointer to the recovery block. Example: Viewing failed v1 with RUNTIME_AUTHENTICATION_FAILED on its Configuration tab.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it addresses duplicated failure text still present on main, and no introduced runtime defect was found. Priority: P3 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe Console Agent detail page consumes deployment records and permission answers, then renders recovery actions and the viewed version’s recorded outcome. flowchart TD
A[Deployment API] --> B[Agent detail page]
C[Permission answers] --> B
B --> D[Recovery block]
B --> E[Version deployment record]
D --> F[Logs or configuration recovery]
D -->|Matching failed version| E
Technical reviewBest possible solution: Keep the existing recovery and evidence owners, with deduplication limited to the failed revision whose recovery block is visible. Do we have a high-confidence way to reproduce the issue? Current-main source independently renders both copies, and the supplied before screenshots show the duplication on desktop and phone; no target code was run during this review. Is this the best way to solve the issue? The focused change is appropriate: it preserves serving-impact version labels, leaves other versions’ records intact, and retains detailed evidence in Deployment details. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b7aa56a2ac19. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 24, 2026, 7:17 PM ET / 23:17 UTC. |
Problem
Dogfood finding 2368 (a residual of the earlier failed-deploy layout fix): on a failed deploy, the eyebrow "Deployment failed · v1" repeated the heading "v1 deployment failed". On the failed version's Configuration tab, the version's deployment record repeated the same error text below the block.
Change
Verification
tests/browser/console-agent-overview.test.mjs: the label is hidden under a "vN deployment failed" title and shown with "This Agent may be offline". With the record in view at 1440x900 and 390x844 the error shows once.tests/browser/console-agent-state.test.mjs: Refresh deployment keeps the record pointing at the block.console-agent-overview,console-agent-stateandconsole-agent-detailpass (138 tests).Before (main), 1440 and 390:
After:
Risks
Low, console only. The record's error text is still one click away in Deployment details and on the Logs tab.