Repository navigation
fix(ci): prepare runtime artifacts before live image tests - #133092
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 30, 2026, 1:25 AM ET / 05:25 UTC. ClawSweeper reviewWhat this changesThe PR prepares the existing Regression provenancePossible regression — probable (reviewed change; failure trace). No predecessor PR is attributed. Merge readiness✅ Ready for maintainer review Keep open. This focused CI repair is correct and still necessary: current main prepares only gateway-profile shards, while this branch prepares the existing runtime build profile for the two image-bearing shard paths. It is member-authored and carries the protected Priority: P2 Review scores
Verification
How this fits togetherThe live-shard runner maps release CI shard names to live test files, selects required build preparation, then launches Vitest. The preparation step ensures provider and agent runtime artifacts exist before tests make their live requests. flowchart LR
A[Release live CI shard] --> B[Select live test files]
B --> C[Choose build preparation]
C --> D[Build runtime artifacts]
D --> E[Verify runtime stamp]
E --> F[Launch Vitest]
F --> G[Live provider tests]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +7, Docs +2, Other +11. Total +20 across 3 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Merge the existing preparation-owner extension once the normal exact-head CI gates complete, preserving the focused shard tests and gateway-only diagnostic scope. Do we have a high-confidence way to reproduce the issue? Yes, source-reproducible: the pinned main implementation selects no preparation for the affected agent and OpenAI shard files, while the runner launches them through the preparation boundary before Vitest. Is this the best way to solve the issue? Yes. Extending the existing preparation selector is the narrowest canonical fix: it reuses the build profile and preserves the gateway diagnostic environment boundary instead of adding another runner path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against cfddfc2f700e. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
Summary
Full release verification timed out in native image tests before provider work completed. A cold source import of the OpenAI plugin took 128.43 seconds in isolation, following the provider-auth to provider-registry loader back-edge. That compilation work was consuming the test deadline before the image request.
Extend the existing live-shard preparation owner to build the
sourcePerformanceprofile for shards containing image-tool provider or OpenAI plugin live tests. This supplies executable provider and agent artifacts before Vitest starts. The gateway-only diagnostic environment stays scoped to gateway-profile shards. No provider request, model, timeout, assertion, or selected test file changes.Verification
Runtime production delta is zero. Tooling is +19/-8, tests +20/-13, and docs +2/-0. The small tooling increase represents the existing build owner's new prerequisite selection, not a second runtime path.
Follow-up: reduce cold source-plugin Jiti import cost across provider auth and registry loader back-edges. This preparation fix does not claim to eliminate that separate source-loader cost. The full release run is still blocked on other repairs and will be repeated on a frozen repaired commit; these focused results do not claim a green full release.