Repository navigation
Extract typed Agent deployment evidence, diagnostics, and recovery - #3198
Conversation
|
🦞👀 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 extracts Agent deployment evidence, diagnostics, and recovery into typed Console modules while preserving existing behavior. Example: Deployment v7 fails while v6 remains selected.
Review scores
ProductKind: Refactor · Worth it: Yes Merge readiness✅ Ready for maintainer review This PR is a useful, maintainer-authored refactor with no actionable correctness findings; keep it open for normal landing checks. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Console reads authorized Agent, revision, deployment, and permission responses and renders deployment history, current observations, and recovery navigation. flowchart LR
API[Controller API] --> Detail[Agent detail]
Detail --> Evidence[Deployment evidence]
Evidence --> Diagnostics[Current diagnostics]
Detail --> Recovery[Failure recovery]
Evidence --> Browser[Browser view]
Diagnostics --> Browser
Recovery --> Browser
Technical reviewBest possible solution: Retain the typed extraction and existing permission, polling, and presentation contracts. Do we have a high-confidence way to reproduce the issue? This PR proposes a refactor rather than a bug repair; source comparison verifies the extraction without running target code. Is this the best way to solve the issue? The three modules replace their original implementations and use existing response contracts, with no competing runtime path or speculative capability. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against fdb81427bc51. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
LabelsLabel changes: No label changes. Label justifications:
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 HistoryReview history (1 earlier review cycle)
Reviewed October 22, 2026, 7:32 AM ET / 11:32 UTC (Revision 2). |
|
Fixed the Console Browser failure in dc1fbef. The prior run passed 475 of 476 cases; the one failing navigation test correctly observed the three new deployment module GETs, which its exact request list did not yet include. I reproduced the failure and added just those three URLs. The API request expectations and no-write assertion are unchanged. The targeted test and all 50 cases in its suite passed locally. @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Agent detail now keeps deployment activity, current diagnostics, and failure recovery in separate TypeScript modules. They use the controller’s existing response types and ship at the same Console URLs. A late first status read still fills the space reserved above the version tabs. Polling, recovery permissions, and the distinction between a recorded result and live serving stay the same.
The 57 deployment browser checks passed, including late status, a failed read followed by recovery, and desktop and phone layout. In the first parallel run one check timed out waiting for a completed record. It passed by itself, then the full set passed serially without changing the test. Strict Console TypeScript, changed-file lint and formatting, the public asset checks, and the docs and Storybook builds passed.
In Pages / Agent detail / New version failed and Current observations for a reader without operate, before and after screenshots matched at 1280 and 390 pixels wide. The walkthrough opens failure details, follows the affected version’s Logs, and shows diagnostics unavailable to a reader. These are simulated Storybook states.
Storybook evidence
deployment-evidence-and-recovery.webm