Repository navigation
fix(release): resolve frozen candidate entrypoints - #133523
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 30, 2026, 7:52 PM ET / 23:52 UTC. ClawSweeper reviewWhat this changesThe PR makes release harnesses select the staged candidate’s available Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readinessKeep this maintainer-authored, maintainer-labeled PR open for release-harness owner review. No introduced correctness defect was found: the branch centralizes staged runner selection and preserves a full-build fallback, but the cited historical frozen candidate could not be hydrated locally to independently replay its trace. Priority: P2 Review scores
Verification
How this fits togetherRelease validation checks out a candidate at the workspace root and a trusted harness under flowchart LR
A[Release candidate] --> B[Trusted release harness]
B --> C[Staged candidate tree]
C --> D[Runner resolver]
C --> E[Build profile probe]
D --> F[Candidate live tests]
E --> G[Narrow or full build]
G --> F
Decision needed
Why: The patch is coherent and covered at the owner boundary, but this reviewer could not hydrate the historical candidate or inspect the filtered PR discussion because GitHub DNS was unavailable. Before merge
Agent review detailsSecurityNone. PR surfaceTests +83, Config +4, Other +44. Total +131 across 14 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the single staged-entrypoint resolver and capability-based profile probe, after a release-harness owner confirms the cited frozen candidate reaches its full build and candidate test runner. Do we have a high-confidence way to reproduce the issue? Unclear: source establishes the previous forced TypeScript-entrypoint path and the new candidate-owned resolution path, but the cited frozen candidate could not be hydrated locally to replay the failing legacy route. Is this the best way to solve the issue? Yes, conditionally: resolving files and advertised profiles from the staged candidate is the owning boundary and replaces several divergent calls; the remaining check is that the cited legacy builder implements the observed help contract. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 99eec0ee75ea. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (4 earlier review cycles)
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
e41b86c to
7da8f28
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
* fix(release): resolve frozen candidate entrypoints * test(release): cover staged live entrypoint resolver * fix(release): type frozen shard resolver tests
Split from #133510.
The trusted release harness runs frozen candidates that may retain Node-native
.mjsentrypoints and omit newer narrow build profiles. Resolve the entrypoint from the staged candidate, and select a narrow profile only when that candidate advertises it; otherwise preserve the full build.Includes the native live-shard and Docker live-wrapper callers plus the source-performance harness. No target SHA or release-specific waiver.
Frozen-candidate proof (SHA
782a8f79688d1f102dc4c0e13d7b15fa8b06c869):openclaw_live_run_staged_script .../scripts/test-live --helpselected and ranscripts/test-live.mjs.scripts/build-all.mjs --helpadvertisesfull,ciArtifacts,gatewayWatch,qaRuntime, andcliStartup—notsourcePerformance.test-live-shard.mts native-live-src-gateway-profilesroute loggedsourcePerformance is unavailable; preparing full build instead, completed the candidate full build, then invokednode scripts/test-live.mjs. The deliberately non-matching test filter caused the expected zero-passing-test exit only after that behavior was proven.Focused owner tests pass:
node scripts/run-vitest.mjs test/scripts/test-live-shard.test.ts(27/27).git diff --checkpasses.Production/tooling LOC: +75/-26 (net +49); tests: +94/-11 (net +83). The shared staged-entrypoint boundary is new behavior required for older candidates; no product/runtime code changes.