Repository navigation
fix: release publication loses standalone preflight artifacts - #136336
Conversation
Carry the authenticated npm preflight producer through the job output to resume downloads, dependency evidence and release proof. Keep the original FRV parent as the core npm dispatch authority. Prove standalone child, direct FRV and historical npm producers through the resolver and actual consumer bodies without replacing authorization.
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed September 2, 2026, 9:49 AM ET / 13:49 UTC. ClawSweeper reviewWhat this changesThe PR carries the resolved npm preflight artifact producer ID into publication downloads and release proof links while keeping the parent validation run for core npm dispatch. Regression provenancePossible regression — probable (reviewed change; failure trace). No predecessor PR is attributed. Merge readinessThe focused repair correctly separates the authenticated artifact producer from the parent publication authority. This PR remains open because it is maintainer-labeled and still owns a current-main release-publication defect. Priority: P2 Review scores
Verification
How this fits togetherRelease validation authenticates a preflight archive, then publication resumes npm work, uploads dependency evidence, and writes release proof. The validation parent authorizes publication, while a standalone child may own the artifact bytes. flowchart LR
A[Release validation] --> B[Preflight artifact resolver]
B --> C[Artifact producer ID]
B --> D[Parent authorization ID]
C --> E[Artifact downloads]
D --> F[Core npm dispatch]
E --> G[Release evidence]
F --> G
Before merge
Agent review detailsSecurityNone. PR surfaceTests +154, Config +4, Other 0. Total +158 across 3 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Keep the parent validation run as the sole dispatch authority and use the resolver-selected producer ID only for artifact retrieval and artifact-derived proof. Do we have a high-confidence way to reproduce the issue? Yes, source-reproducible with high confidence: a full-validation parent can resolve a different standalone artifact producer, while current consumers use the parent input instead of the resolver output. Is this the best way to solve the issue? Yes. Forwarding the already validated producer fact fixes the owner boundary without replacing the parent ID that the core publication admission contract requires. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against db907da599e3. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Maintainer disposition of the completed review for The distinct run roles are retained exactly as recommended. The original I inspected the canonical resolver, complete consumer helper, core admission, prepared-bundle and workflow callers. The executable regression covers standalone-child, direct-FRV and historical-NPM producers: the standalone case failed both production download bodies and the proof renderer before the fix, and all three modes pass afterward. The four full owner/sibling suites pass 460 tests; changed-file and workflow gates and independent Codex review also passed. Those fixtures stub external GitHub/npm operations and are not a live publication claim. The remaining operational integration check belongs to the actual release: validate the final authenticated FRV manifest, producer artifact bytes/digests, preserved parent authorization, and published proof links. I will not infer that result from the fixture. Exact-head normal CI is still required before native landing; its first attempt failed before product tests, and only the infrastructure-failed jobs are being retried. Hosted gate complete. CI33637483182, attempt2 is successful for exact reviewed head |
|
Merged via squash.
|
…nclaw#136336) Carry the authenticated npm preflight producer through the job output to resume downloads, dependency evidence and release proof. Keep the original FRV parent as the core npm dispatch authority. Prove standalone child, direct FRV and historical npm producers through the resolver and actual consumer bodies without replacing authorization.
Related: #136105
What Problem This Solves
Resolves a problem where release publication or resume would look for the npm preflight archive in the parent validation run after Full Release Validation moved artifact preparation into standalone child runs. The final dependency-evidence download would fail, and the npm-preflight proof link pointed to the wrong run.
Why This Change Was Made
The resolver already authenticates the producer and records its run ID. This change carries that fact across the Actions job output to the two artifact consumers and the proof renderer. The original Full Release Validation parent remains the npm dispatch authority: replacing that input with a child ID would break its manifest-admission contract.
There is one producer-resolution path and no fallback, artifact rebuild, new workflow input, or relaxed verification. Direct-FRV and historical direct-NPM producers retain their existing behavior.
User Impact
Release operators can complete publication and resume with the exact preflight archive selected by validation, and release notes link to the run that actually produced it. This changes publication tooling only, not the released application or candidate bytes.
Evidence
These are local boundary tests with external GitHub/npm/archive operations stubbed. They do not claim a live artifact download or completed publication; hosted exact-head CI and the real release remain separate gates.
Scope and release-note context
The repair adds four workflow lines to forward an existing authenticated fact; shell changes are net zero (+5/-5). Test/support changes are +158/-4 in the existing suite. No configuration, protocol, database, dependency, approval-policy or package-source changes. No old path is retained alongside the fix.
Release-note context: preserve the standalone npm preflight producer when downloading release dependency evidence, resuming publication and linking validation proof.