Repository navigation
Share Console Logs browser test setup - #5435
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 shares Console Logs browser locators, revision paths, and clock setup while narrowing the malformed-page helper’s TypeScript type. Example: Follow receives its first line after an empty tail.
Review scores
ProductKind: Test only · Worth it: Yes Merge readiness✅ Ready for maintainer review This PR is a focused, behavior-preserving test cleanup with no actionable defects found; collaborator authorship and repository policy also require keeping it open. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe browser suite drives the production Console and controller with real IAM and cursor handling, using an in-memory Compute Driver to supply log records and failures. flowchart LR
A[Browser scenarios] --> B[Shared test setup]
B --> C[Console Logs UI]
C --> D[Controller and IAM]
D --> E[Compute fixture]
E --> C
Technical reviewBest possible solution: Retain the focused shared setup with each existing scenario’s independent assertions. Do we have a high-confidence way to reproduce the issue? There is no reported product defect to reproduce; source comparison shows equivalent setup, and GitHub confirms the owning browser job succeeded. Is this the best way to solve the issue? The extraction stays private to the existing suite and preserves setup order; the older retained-view helper has additional behavior unsuitable for these Follow cases. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 6b4e85174966. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel 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 Reviewed November 11, 2026, 3:43 AM ET / 08:43 UTC. |
Summary
Share the output locator, revision log path, and clock-controlled Follow setup across the existing Console Logs browser cases. Give the malformed-page helper a type for the three fields these tests deliberately corrupt. The cases keep their separate cursor, retry, access-revocation, and Download checks.
Verification
tests/browser/console-agent-logs.test.tsfile passed all 83 cases on baseb30d3defand candidatee83f150a, with identical ordered results, zero skips, and successful browser and loopback cleanup. Both local runs used sandboxed Chrome and fixture-specific HTTPS trust.f94d11d4. The owning Console Logs file matched all 83 local results in order, with zero skips and successful file and lane cleanup. Hosted job