Repository navigation
ci: share full compiler preparation in built source checks - #184971
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 SummaryThis 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 shares compiler preparation between jointly selected channels and core-support checks while preserving separate test processes. Example: The artifact producer selects channels and core-support checks with --max-old-space-size=8192.
Review scores
ProductKind: Performance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored optimization removes duplicate compiler preparation through the existing worker owner; no definite introduced correctness or security defect was found. Priority: P2 Before mergeNone. FindingsNone. Provenance
Tests
Agent review detailsHow this fits togetherThe CI artifact producer selects verification suites, launches their test processes, and aggregates their results; the existing compiled-worker owner supplies verified subprocess artifacts and controls cleanup. flowchart TD
A[Artifact producer selection] --> B[Shared source verifier runner]
B --> C[Existing compiled worker owner]
B --> D[Channels test process]
B --> E[Core support test process]
C --> D
C --> E
D --> F[Joined results and cleanup]
E --> F
Technical reviewBest possible solution: Retain one existing compiler owner for both suites and verify unchanged inventories, joined cleanup, and measurable complete-job savings. Do we have a high-confidence way to reproduce the issue? Source inspection establishes independent compiler owners for the two original commands; no target code was executed during this read-only review. Is this the best way to solve the issue? The focused adapter uses existing compiler, environment, IPC, and process-cleanup owners, and its retained independent paths serve genuinely different selections or compiler environments. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 5fa5fe786eba. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +118, Docs +8, Config +5, Other +140. Total +271 across 5 files. Added test files: 0. View PR surface stats
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 26, 2026, 4:21 PM ET / 20:21 UTC. |
|
The two-file attachment/media label repair has already landed via #184705 at Independently verified on current main ( No duplicate repair PR or change to this branch was needed. |
|
HF-SPLIT-184971 reconciliation: all five requested UI test repairs already landed in #185031 at Verified against current main
The split is therefore already on main; no duplicate PR or branch push is needed. Please merge current main into this branch to drop those duplicate hunks and retain the CI/compiler work here. This reconciliation verifies source identity and the existing merge, not a new full-CI pass. |
…-test-ci-shared-compiler
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
|
HF-RAIL-SPLIT verification: this PR merged while the isolated repair was being tested, so no duplicate split PR or branch push was needed. Confirmed merge
The rail still asserts zero writes to
Test-only change: 435 → 447 lines across the two repaired files (+18/−6). No production or startup-byte change. Node was used for the Playwright E2E config. No remote leases were created. |
…184971) * ci: share compilation for built source verifiers * fix(ci): exercise shared verifiers and track collection resources * test(ui): follow current attachment menu labels * test(ui): capture queued preference write diagnostics * test(ui): follow current Daybreak access controls * test(ui): align access and typography fixture boundaries * test(ui): repair async fixtures and expose packaging failures * test(ci): align packaging and browser readiness contracts * test(ui): follow people action menu in activity-card flow * test(ui): align sidebar proof with personal groups * ci: expose UI end-to-end preparation phases * test: scope rail assertions to rail preference writes * fix(ci): run unconditional UI workflow test steps
…olved peer identity; realign quota catalog e2e (#187594) * test(ui): expect held catalog refresh to complete across quota recovery Backport e8dd49e (#185250, main 77af976) keeps the prepared runtime and its catalog owner through cooldown/blocked availability updates, so a quota recovery no longer supersedes an in-flight catalog generation. The automatic-during-catalog quota e2e still expected the held models.list refresh to fail with "catalog generation was superseded". Main realigned this assertion to the intended behavior in fc0e45a (#184971); that commit is a large CI change, so carry only the assertion: the held refresh resolves ok and the published catalog still reports gpt-5.5 available after it lands. Refs fc0e45a * fix(control-ui): keep the admitted sidebar scope while hello identity is unresolved Backport 99e458b (#185762, main 8d0f6fb) stopped an unresolved peer tab from persisting a profile-less boot record, but on main that fix sits on top of #179254 (5b1b96b), which also keeps the admitted boot profile in the sidebar snapshot scope until hello's selfUser resolves. Release lacks #179254 (Solid-era handoff/perf work), so a peer tab that booted with the operator's sidebar scope still recomputed profileId as null on hello, retired that scope, and deleted the operator's cached sidebar snapshot. The next reload then rendered the sidebar live instead of from cache. Port only #179254's identity rule into the Lit SidebarSnapshotController: keep the admitted profile while selfUser is undefined (a resolved different user or an explicit null still replaces the scope) and skip capture under a profile scope until identity resolves. Add main's unit regression adapted to the release controller (fails without the runtime change). The #185762 e2e waited for an 11th recent row, which main serves through its #172946 sessions.list owner fixture; the backport dropped those handlers, so the count could never be reached on release (it failed at 99e458b itself). Assert instead that the cached reload shows the rows the operator's page saved, which exceeds the single live row a held connect renders. Refs 5b1b96b
Problem and change
The artifact producer's channels and core-support checks independently compile the same worker graph. Compatible requests now share the existing compiled-worker owner. Both checks retain their native limits, separate module caches/logs, independent results and complete cleanup. A failing check does not cancel its sibling; single selections, different heap settings and unsupported frozen targets keep the original commands.
The native test runner installs custom-element and DOM-resource tracking before module evaluation, so resources created during collection reach the existing cleanup. E2E selection, requirement discovery, optional WebKit install, optional Gateway preparation and execution have separate Actions steps. The same commands and test deadlines remain; the phase boundaries expose where time is spent.
The replacement also repairs the real-Gateway quota proof after main #185250 intentionally retained catalog generations for availability-only updates. The test now requires availability while the catalog response is held and again after release, with the refresh succeeding. Account, credentials, durable-state, process identity and no-restart assertions all remain.
Scope and conflict repair
Captured main
cd83314709da972c16435d7d5d2f01b1f748bec9was merged for a real conflict and the new quota gate failure; no main commits were replayed. The Daybreak file matches main exactly and drops out. Remaining lightbox and rail fixture changes preserve the same actions and assertions using native cancellation, explicit preference ownership and exact layout geometry.Replacement head
ca27d1ffa324505ea9c9e3cda22c7f3d27bf03de.18 changed files: 38,585 → 39,024 LOC, +552/−113. Growth is the shared invocation, executable workflow fixtures and phase boundaries. No new dependencies, runner labels, fanout, concurrency, application renderers or startup imports.
Proof
2f534438860fa0f257cfbfbeb6419695012dc7cdfails the same named pending-status assertion; case 132.000 s.ca27d1ffa324505ea9c9e3cda22c7f3d27bf03dein an isolated checkout; 9.844 s.The UI render graph is unchanged; no screenshot or local startup build applies. The fixture repairs retain transport, cancellation, persistence and geometry coverage. Prior proof is reused only for unchanged inputs.
CI results and acceptance
Original campaign baseline: 106.00 comparable runner minutes. Accepted #183498 checkpoint: 88.33 comparable / 91.50 full minutes, 593-second path. Target: 74.20 comparable minutes and a path ≤593 seconds. No integrated round-3 after result qualifies yet; independent PR-run savings are not summed.
Previous exact-head run 40438484213: 93.05 comparable / 95.85 full minutes, 611-second path, completed/failure. The quota failure did not match the latest completed scheduled main at that observation; this replacement repairs it. Six other failing names matched completed main. This remains failed prior-head evidence, not current-head success.
All phase cells below come from the completed main run. Nested partitions replace parent cells; callback wall time includes waits and is not pure CPU. Failed work remains charged. This main includes producer work absent from the checkpoint, so it is not normalized into a claimed saving.
Latest-main exclusive CI phase supplement
Run 40439954043, head
a7fe06b17a966a1a1a518f805f85c7cbfaf9fee5. 13/13 exact-job raw logs retained. All 13 UI rows are terminal; final workflow result is completed/failure. Outer totals: 101.88 full /99.68 comparable minutes, 760 seconds completion path, with 10 UI passes and 3 failures. No savings claim.Additive job and owner phases
All cells are runner minutes. Env/deps and browser are refined in the next table. Setup/callback/cleanup/queue/mixed/unclassified replace the original inclusive test cell and sum to it. Unclassified on a missing-log row means the entire test window is unresolved, not test execution.
Additive environment and browser refinements
These rows replace Env/deps and Browser above; do not add them again. Cache includes only observed restore scopes. Install tail preserves a reconciliation scope crossing a rounded API boundary. Residual is uninstrumented action overhead.
Setup-only refinement and non-additive Gateway observations
Fixture-only, Gateway-only and their overlap partition just the setup-only cell above. Gateway-start/readiness unions at the right are nested observations, not additional time; they may also overlap callbacks in mixed windows.
Source coverage
round530-main-job121977968611.raw.log6b3a055ce15663b3round530-main-job121977968932.raw.log30cac0aebd9f8e26round530-main-job121977968942.raw.logdfa429b743f41358round530-main-job121977968962.raw.logbf36f16c9fef3495round530-main-job121977969198.raw.log5fc024c41ff4895eround530-main-job121977969342.raw.log383b206185701e1fround520-main-job121977969386.raw.log87ca186eeef66d3cround530-main-job121977969624.raw.log7fa06505065f96cbround530-main-job121977969638.raw.logc10fb51caf898afdround530-main-job121977969672.raw.log4ec3109d69689a03round520-main-job121977969702.raw.logab12cf6b80c99e33round520-main-job121977969721.raw.log804d2849d6820ceeround530-main-job121977969745.raw.log2b9234befbd4a75eLimits
No owner markers in: control-ui-performance, checks-ui (3/3), checks-ui (1/3), checks-ui (2/3). Their full inclusive test windows remain unclassified. Cache states across all raw logs: {"exact_deps": {"skipped": 1, "hit": 12}, "chromium_restore": {"hit": 12}}.
Only exact-run job logs are used. This parser makes no GitHub calls, source/tests/main-report edits, builds, leases or native operations.
Completed replacement-head CI
Exact head
ca27d1ffa324505ea9c9e3cda22c7f3d27bf03de, run40442608355 attempt1: onlygateway-retry-feedback.e2e.test.ts > Gateway retry feedback > keeps automatic recovery stable at 100 percent text scaleandgateway-retry-feedback.e2e.test.ts > Gateway retry feedback > keeps automatic recovery stable at 140 percent text scalefail, both in job121986717284. The original two cases fail identically on its actual CI main parenta44612adb8a9260c34cd033241831201460d0b7c, expecting the footer detached after main#185220 intentionally keeps Connected. The branch original passes both cases. All other jobs pass or skip; ci-gate121989811169 is downstream. Failed CI is retained for native inherited-failure replacement admission, not relabeled green. A focused follow-up repairs the stale main assertion.Shared exact-head CI snapshot
Run 40442608355, head
ca27d1ffa324505ea9c9e3cda22c7f3d27bf03de: completed / failure. All selected UI rows are terminal. No savings claim.Completed selected UI rows: 12 passed, 1 failed, 0 cancelled, 1 skipped. Charged API minutes 94.15; occupied minutes 93.90; inclusive tests/checks 73.68; fixed/other 20.47.
Preflight completion to last completed UI row: 583s, full selected UI completion path. Longest completed job: 576s (checks-ui-e2e-real-gateway (2/2)).
Completed rows: exact additive phase minutes
Env/deps is composite. Fixture/Gateway startup and cleanup remain inside inclusive tests unless separately named. Other preserves the prior reducer policy; see all step names/categories in JSON. These are whole-second GitHub timestamps, not billed-invoice measurements.
Unfinished selected UI rows
None.
Unclosed terminal API phases
These elapsed bounds are already included in the job total. They are not additional time or completed-step durations. Other must not be interpreted as fixed setup where this table records an unclosed phase.
None.
Failed/cancelled jobs across the full run
Skipped UI selections
Boundaries
Comparable subtotal, excluding conditional performance and locale rows and charging the entire active producer: 90.95 min. Producer active: True; result: success.