Repository navigation
feat(release): treat Windows and macOS app lanes as advisory for npm publication and add per-job FRV reruns - #156305
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. |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Codex review: needs real behavior proof before merge. Reviewed September 23, 2026, 4:25 PM ET / 20:25 UTC (Revision 3). ClawSweeper reviewWhat this changesThe branch makes selected native CI lanes advisory for release publication and adds a release-priority control that defers repository workflows, records cancelled runs, and reruns them during recovery. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Blocked before merge - 14 items remain The release-priority work remains distinct from current main, but its recovery path can replay obsolete runs, lose deferred events, and replace another active release’s priority. The previous review’s four recovery findings remain; a newly identified 100-run query limit adds another loss path. Priority: P2 Review scores
Verification
How this fits togetherFull Release Validation dispatches CI and release checks, then turns their results into evidence for an npm publication decision. The new priority control also changes when other repository workflows run and how their deferred events are restored. flowchart LR
A[Release operator] --> B[Validation parent]
B --> C[Priority variable]
C --> D[Repository workflow gates]
D --> E[Deferred runs]
E --> F[Recovery and rerun]
B --> G[Release evidence]
G --> H[npm decision]
Decision needed
Why: The branch suppresses security-scan jobs across PRs, and the available evidence does not establish reliable replay after the release. Before merge
Findings
Agent review detailsSecurityNeeds attention: The priority gate can skip CodeQL security scans, and current recovery does not establish that every skipped scan runs afterward. PR surfaceTests +378, Docs +58, Config +30, Other +467. Total +933 across 31 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the established release-policy owner for native advisories, and make priority recovery preserve each event, respect the current release owner, drain the complete run window, and prove the final GitHub effects. Do we have a high-confidence way to reproduce the issue? Yes for the recovery defects: the source gives concrete conflicting-parent, distinct-event, finishing-run, stale-PR, and over-100-run scenarios. No live GitHub reproduction was run in this read-only review. Is this the best way to solve the issue? No. Native advisory classification already has a release-policy owner on main; the new priority control needs owner-safe, lossless recovery and observed GitHub behavior before it is a maintainable addition. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against bdeca1661473. LabelsLabel changes: No label changes. Label justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (2 earlier review cycles)
|
…156295) * docs(release): make the fast path the default stable release process * docs(release): scope runner-priority cancellation and keep required-lane repairs on the fast path * docs(release): name the frv rerun-failed and prioritize controllers on the fast path * docs(release): keep the fast path on landed frv commands until #156305 merges
…eview - drop the superseded frv rerun-failed/attempt-tolerance changes (main landed rerun --job and attempt materialization tolerance) - Security Review is never paused (approval revocation owner) - record the pause window before enabling priority; clear it when the operation ends - deferred CI recognizes security-fast; restore closes the window first, coalesces newest run per lane; prioritize rechecks queued state and preserves prior cancellations
…fication, re-add Release Decision advisory warnings
…flows on the new admission expressions
…penclaw#156295) * docs(release): make the fast path the default stable release process * docs(release): scope runner-priority cancellation and keep required-lane repairs on the fast path * docs(release): name the frv rerun-failed and prioritize controllers on the fast path * docs(release): keep the fast path on landed frv commands until openclaw#156305 merges
…publication and add per-job FRV reruns (openclaw#156305) Admin merge under the release-window "unrelated red must not block" steer (coordinator, 2026-09-23). Red at merge: checks-node-compact-small-37/38/39/44 only, failing test/scripts/pr-wrappers.test.ts, eager-import-closure.test.ts, pr-wrapper-source-closure.test.ts, pr-main-refresh.test.ts. This PR has zero diff on scripts/pr, scripts/pr-lib, src/infra, or those tests. The same files fail on pristine origin/main in a clean clone: all four at 19d09b7; pr-wrappers and eager-import-closure still fail (28 tests) at c0a8280 "fix(ci): add sqlite schema-fact modules to the pr wrapper inventory" (merged 20:56Z), which repaired the other two. Search of open PRs found no further fix in flight. checks-ui (2/3) was a runner kill (exit 143) and passed on rerun; every other lane is green.
…penclaw#156295) * docs(release): make the fast path the default stable release process * docs(release): scope runner-priority cancellation and keep required-lane repairs on the fast path * docs(release): name the frv rerun-failed and prioritize controllers on the fast path * docs(release): keep the fast path on landed frv commands until openclaw#156305 merges (cherry picked from commit 7b0a075)
…publication and add per-job FRV reruns (openclaw#156305) Admin merge under the release-window "unrelated red must not block" steer (coordinator, 2026-09-23). Red at merge: checks-node-compact-small-37/38/39/44 only, failing test/scripts/pr-wrappers.test.ts, eager-import-closure.test.ts, pr-wrapper-source-closure.test.ts, pr-main-refresh.test.ts. This PR has zero diff on scripts/pr, scripts/pr-lib, src/infra, or those tests. The same files fail on pristine origin/main in a clean clone: all four at 71875bf; pr-wrappers and eager-import-closure still fail (28 tests) at 0338fa2 "fix(ci): add sqlite schema-fact modules to the pr wrapper inventory" (merged 20:56Z), which repaired the other two. Search of open PRs found no further fix in flight. checks-ui (2/3) was a runner kill (exit 143) and passed on rerun; every other lane is green. (cherry picked from commit 66ce17a)
…gh read The clear-mode variable read in setReleasePriority (openclaw#156305) went through runGh without the Cache-Control: max-age=0 header, so the at-sha dispatch proof rejected it as a cached read; the same defect exists on main.
What Problem This Solves
The release-ops macOS preflight (openclaw/releases run 35874997006,
openclaw-macos-publish.yml) failed in both per-archbuild_sign_and_packagejobs at "Generate signed appcast artifact". Sparkle 2.10.0generate_appcastnames its output after the app's embeddedSUFeedURLbasename (appcast-arm64.xml/appcast-x86_64.xml), whilescripts/make_appcast.shhard-codes$TMP_DIR/appcast.xmlfor the signature check and the final copy, so the script died withENOENT .../appcast.xmlafter signing and notarization had already succeeded.This pins the output with
-o "$TMP_DIR/appcast.xml". Sparkle uses that path both to read the seeded feed and to write the result, so the rest of the script and the workflow'smv appcast.xml appcast-<arch>.xmlkeep working unchanged.Evidence
test/scripts/make-appcast.test.ts: the fakegenerate_appcastnow mimics Sparkle (writesappcast-arm64.xmlunless-ois given) and asserts-o <tmp>/appcast.xmlis passed. Without the script fix the 4 channel cases fail with the same ENOENT shape; with it, 7/7 pass.pnpm check:changed(testRoot + tooling lanes) exit 0;bash -nandshellcheck scripts/make_appcast.shclean.release/2026.9.6and re-dispatch the release-ops preflight + validate workflows.