Repository navigation
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 Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex review: needs maintainer review before merge. What this changesThis PR repairs Control UI test readiness, project registration, build preparation, and compiled-worker ownership, and adds bounded failure diagnostics. Example: A native Vitest shard selects route-asset-requests.e2e.test.ts.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: useful, maintainer-directed fixture repairs remain distinct from current main, and no actionable introduced defect was found. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI test runner turns selected test files into projects and shards, prepares browser assets and compiled subprocesses, and runs isolated browser fixtures. flowchart TD
A[Selected test files] --> B[Project inventory]
B --> C[Native shard selection]
C --> D[UI sequencer]
D --> E[Existing worker acquisition owner]
E --> F[Prepared subprocess generation]
F --> G[Browser fixture hooks]
Technical reviewBest possible solution: Land the focused fixture repairs through their existing owners once the required exact-head CI gates pass. Do we have a high-confidence way to reproduce the issue? Source establishes the readiness and execution-owner mismatches, and the discussion records controlled failing baselines and passing repairs; this read-only review did not execute them. Is this the best way to solve the issue? The patch restores fixture readiness using existing project, compilation, and process owners; the extracted build helper replaces its prior implementation and the added regressions protect distinct lifecycle boundaries. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 8ff37a6828b2. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceTests +235, Other 0. Total +235 across 18 files. Added test files: 1. View PR surface stats
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. 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 (9 earlier review cycles; latest 8 shown)
Reviewed November 13, 2026, 6:32 AM ET / 11:32 UTC (Revision 10). |
Join lazy transcript-search imports after the opening action, and move the complete cases into the existing search suite. Preserve cancellation readiness, keyboard navigation, focus restoration, pane isolation, and all original assertion budgets. Integrate main f77a360 for the named pending-input export repair while retaining the original PR ancestry.
|
@clawsweeper re-review Please review final head |
|
🦞👀 Re-review progress:
|
Reuse the existing per-Vitest acquisition promise so later declaration imports share readiness. Keep the existing borrower affinity group and bounded Logs failure diagnostics.
|
Please review final head Item 1 remains addressed: the canonical #197886 search helper and assertions are preserved. The new follow-up prepares workers after native shard selection through the existing Vitest-instance acquisition owner, groups actual borrowers through existing affinity, and adds bounded failure-only Logs diagnostics. Actual native shard/declaration regression, unchanged real route cases, required changed-file checks, and fresh cohesive Codex review pass. The original twelve-file evidence remains qualified; unresolved observations and previous red CI are explicitly retained. New exact-head CI and final review are still required. @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Observe the ordered click and Enter requests on the human-input route introduced by #197927 while preserving existing-tab and route identity assertions.
|
Please review final head Item 1 remains addressed: the canonical #197886 search helper and assertions are preserved. The only new source change corrects the Browser handoff fixture’s obsolete The canonical changed-file check exited 1 solely on two 605-second unused-export scan timeouts; scripts exports and all other selected checks passed. The updated body retains that qualification gap and the unresolved rejected-key latency, Logs and saved-recovery observations. New exact-head CI and a final-head review are still required before landing. @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
What Problem This Solves
Repairs Control UI fixture execution boundaries that failed full CI: cancellation before Submit readiness, serial cold-browser preparation, Home running outside its real-Gateway project, compiled-worker preparation consuming benchmark suite hook budgets, and a Browser fixture waiting for a retired input request. Adds bounded diagnostics for the unresolved Logs auto-follow failure.
User Impact
Production runtime behavior is unchanged. The 18-file diff adds 235 net test/tooling lines. Existing cancellation, HTTP recovery, reader permissions, denied-write, hidden-target and build-variant assertions retain their deadlines. No configuration, dependency, cache, schema or compatibility path is added.
Why This Change Was Made
Cancellation waits for the existing Submit control before clicking Cancel. Cold-browser setup overlaps the asset build with independent state-module preparation, joins both before allocating isolated state, and imports the HTTP harness after isolation. The complete build responsibility moves to a sibling module and all callers migrate; its managed asynchronous child preserves command/environment, streamed stdout, bounded stderr, failure causes and cleanup.
Home joins the existing serial real-Gateway inventory, including its configuration-test consumer. Project/planner tests preserve exactly-once coverage and ordinary/prebuilt membership. Canonical search-fixture changes remain intact.
The Browser handoff fixture follows
/operator/input, introduced by #197927 (9ffa0502cc89), instead of waiting for/act. It acknowledges the current route and verifies ordered click/Enter inputs while retaining resize, requested node/profile/tab identity, and prohibitions on opening or focusing another surface.After native Vitest selects a shard, the existing sequencer requests readiness for its two selected benchmark HTTP consumers through the compiled-worker plugin’s existing per-Vitest acquisition promise. This avoids preparing unrelated shards and lets later declaration imports reuse the same request. The outer runner still owns generation, cancellation, verification and retirement within the unchanged command budget. Two existing borrowers join the existing affinity group. Logs retains its original actions and final assertion while recording at most 64 numeric/Boolean event and geometry observations, emitted only on failure.
Evidence
Cancellation's controlled failure lost its click after a 59.6875 px footer movement; Submit readiness preserves it, with seven Chromium cases passing. No WebKit result is claimed for that proof. Cold A/A/B retained three assertions, one build and one worker compilation: setup 101.85 / 61.41 / 27.23 s, command wall 128.13 / 85.03 / 49.99 s, CPU 209.78 / 175.92 / 167.83 s, peak RSS 3.721 / 3.717 / 3.605 GB. These local controls prove preparation overlap, not a hosted latency guarantee. The final extracted HTTP fixture passes all three cases.
Home's project-selection regression fails before registration and passes afterward. Its unchanged scenario passes through the serial project in 48.014 s. Three omitted configuration-consumer membership checks reproduced on the prior candidate; the complete corrected file passes 15/15 without changing numeric expectations.
Actual native
--shardsubprocess tests include the real sequencer, compiled-subprocess plugin, declaration resolver and IPC, with lightweight synthetic leaves and an existing controlled compiler. Both borrower cases fail on canonical parent source at missing pre-hook readiness and pass after correction. Unrelated shards compile zero generations; borrower shards compile one before hooks, complete a later real declaration import, and retire normally. Eight sequencer cases and sixteen unchanged browser cases across six borrowers also pass with one shared generation.The final unchanged four-case production HTTP route flow passes. Its current graph compiles 16,216 inputs/7,669 outputs in 63.824 s before suite hooks; the case file takes 31.232 s. Whole command: 158.80 s, CPU 196.23 s, peak RSS 4.986 GB, with normal browser exit and generation verification. This is functional proof, not a matched-work speedup or proof that UI6's outer 20-minute capacity failure is repaired.
The original Browser requested-tab case reproduces the obsolete-request wait (24.026 s, normal local 10-second wait versus hosted 30 seconds). The corrected complete Chromium file passes all six cases in 68.938 s. Input/mock owners and dependencies are qualified against the tested merge; the unrelated same-tab live-stream guard and existing build-helper extraction are separately accounted for. This proves the fixture’s protocol boundary, not delivery to a remote browser.
Latest CI 43395282816 on the prior head failed only this Browser case and rejected-key latency at 2134 ms against 2000 ms; the latter remains unresolved, as do earlier 2029/2081 ms observations. Earlier CI passed the original fresh-browser HTTP cases in 94.799 s. Logs remains unexplained: local passes are nonreproduction, its failure-output branch is unexecuted, and passive geometry reads may perturb timing. The saved-recovery consumer result remains 19/20; parent/final single-case passes do not explain it. No assertion, deadline or inherited-red exception is relaxed.
Named repaired main
a1c020f9remains integrated; this follow-up adds no main refresh. The original seventeen files are byte-identical to reviewed source, preserving their qualified focused tests, complete changed-file checks, and scoped reviews. The one-file Browser repair has fresh cohesive Codex review with no actionable findings. Its canonical changed-file check exited 1 solely because the production and full-tree unused-export scans each reached their existing 605-second limit. Scripts exports passed with zero entries; format, UI E2E types, guards and type-aware lint all passed. No source finding was reported, and no check was bypassed or retried. The earlier three successful export scans are reused for the unchanged module boundary: this sole test follow-up preserves scanner inputs, dependencies, import/export declarations and prior references. CI does not select those scans, so no new scanner pass is claimed. The previous head’s Claw review has zero open items. New exact-head CI and final-head hosted review remain required before landing.