Skip to content

fix(release): require Windows Node validation to pass - #163373

Merged
RomneyDa merged 5 commits into
mainfrom
fix/restore-windows-node-release-gate
Oct 2, 2026
Merged

RomneyDa merged 5 commits into
mainfrom
fix/restore-windows-node-release-gate

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes: Full Release Validation can pass and authorize publication when a selected Windows Node test shard fails.

User Impact

Releases again require every selected Windows Node shard to pass; failed or timed-out shards block Release Decision and publication.

Why This Change Was Made

This reverts the release-only advisory policy introduced by #161256. It removes the CI aggregate bypass and the windows-node-ci advisory class from decision, evidence, publication, CLI, docs, and operator guidance.

After #163412 removed the unused maintainer-recorded flake mechanism, this branch was rebased and the overlapping policy was cut over completely: there are no advisory test-job classes left. Current tooling also rejects historical failed normalCi child evidence even if its retired advisory row is stripped.

Already-dispatched campaigns remain bound to their immutable older Tooling SHA. A fresh campaign using current tooling is required to adopt the stricter gate.

Evidence

  • Seven release-policy/workflow suites: 877 assertions passed in 283.69s.
  • Post-review focused policy/evidence suites: 198 assertions passed in 6.68s.
  • pnpm check:workflows: passed.
  • pnpm tsgo:scripts: passed.
  • pnpm tsgo:test:root: passed across all four shards.
  • git diff --check: passed.
  • Fresh P1 AutoReview: scoped clean after fixing its evidence-validation finding.
  • The workflow regression runs the real CI aggregate shell with the former FRV_WINDOWS_NODE_ADVISORY=true trigger and proves a failed Windows aggregate exits nonzero.
  • Manifest v3/v4 regressions reject retained windows-node-ci advisory evidence; the publication-gate regression also rejects failed Windows child evidence when the advisory row is removed.

@clawsweeper

clawsweeper Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@RomneyDa RomneyDa added the release-fast-lane Release tooling PR: narrow ci-gate, ClawSweeper advisory (RELEASING.md) label Oct 2, 2026
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: L labels Oct 2, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 2, 2026
@clawsweeper

clawsweeper Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed October 2, 2026, 6:44 AM ET / 10:44 UTC (Revision 4).

ClawSweeper review

What this changes

The branch makes failed Windows Node tests block release validation and publication, removes their advisory exception, and updates regression coverage and operator guidance.

Merge readiness

✅ Ready for maintainer review

The previous blocking assertion is corrected, and no remaining actionable defect was found. Current main still permits Windows Node advisories, so the PR remains necessary. The release-policy reversal and older-campaign transition are explicitly recorded.

Priority: P2
Reviewed head: 0139bc793beda674e547a44c94907ea952e1d572

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The coherent policy removal, corrected regression, and current-head supplemental checks support a normal good-quality patch.
Proof confidence 🌊 off-meta tidepool Not applicable: The MEMBER author is exempt from ordinary external-contributor proof. The aggregate-shell regression and policy/evidence tests are supplemental validation, not a live release campaign; no unresolved authority violation requires additional final-effect proof. Manifest layout remains compatible, and older advisory evidence is intentionally rejected under the documented tooling transition.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The MEMBER author is exempt from ordinary external-contributor proof. The aggregate-shell regression and policy/evidence tests are supplemental validation, not a live release campaign; no unresolved authority violation requires additional final-effect proof. Manifest layout remains compatible, and older advisory evidence is intentionally rejected under the documented tooling transition.
Evidence reviewed 8 items Pinned introduced change: The introduced delta removes the FRV Windows aggregate bypass and makes terminal release-policy success require a successful child with no failed jobs. The actual checkout is the verified original PR head; no stale test-merge result was used to attribute changes.
Historical evidence cannot retain the bypass: The shared manifest validator rejects failed normal CI job evidence before checking the advisory array, so deleting a retired advisory row does not restore eligibility. Publication gates, evidence validation, and release summary readers consume this shared owner; live child verification still checks repository, workflow SHA, and authenticated composite evidence.
Previous finding resolved: The previously failing regression now expects 'Release manifest contains failed selected job evidence', matching the manifest guard reached by its failed Windows fixture. This satisfies the prior review's option to align the expectation with the actual rejection boundary.
Findings None None.
Security None None.

How this fits together

Full Release Validation collects selected CI results into release evidence. Release decision and publication tools consume that evidence to determine whether a candidate can be published.

flowchart TD
  A[Selected CI jobs] --> B[CI aggregate gate]
  A --> C[Release evidence]
  B --> C
  C --> D[Release policy validation]
  D --> E[Failed selected job]
  E --> F[Block publication]
  D --> G[All required evidence passes]
  G --> H[Publication eligibility]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests -329, Docs -24, Config -7, Other -66. Total -426 across 21 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 7 117 446 -329
Docs 9 30 54 -24
Config 1 0 7 -7
Generated 0 0 0 0
Other 4 28 94 -66
Total 21 175 601 -426

Review metrics

None.

Technical review

Best possible solution:

Keep one strict release-policy owner that rejects failed selected jobs while preserving immutable tooling ownership for previously dispatched campaigns.

Do we have a high-confidence way to reproduce the issue?

Yes, from source: current main explicitly accepts failed Windows Node shards during FRV dispatches. The regression exercises the real aggregate shell with the retired environment trigger; this read-only review did not execute it.

Is this the best way to solve the issue?

Yes. Removing the exception from the shared policy and aggregate gate provides a complete cutover, and the documented tooling-pin transition avoids rewriting active campaigns.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 93625aa3d10d.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The MEMBER author is exempt from ordinary external-contributor proof. The aggregate-shell regression and policy/evidence tests are supplemental validation, not a live release campaign; no unresolved authority violation requires additional final-effect proof. Manifest layout remains compatible, and older advisory evidence is intentionally rejected under the documented tooling transition.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: This is a bounded release-validation policy correction with no demonstrated urgent product outage.
  • merge-risk: 🚨 automation: The accepted reversal changes CI aggregation and publication eligibility so Windows failures block releases.
  • merge-risk: 🚨 compatibility: Current tooling intentionally rejects previously accepted advisory evidence; the recorded transition preserves older tooling pins and requires fresh strict campaigns.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The MEMBER author is exempt from ordinary external-contributor proof. The aggregate-shell regression and policy/evidence tests are supplemental validation, not a live release campaign; no unresolved authority violation requires additional final-effect proof. Manifest layout remains compatible, and older advisory evidence is intentionally rejected under the documented tooling transition.

Evidence

What I checked:

  • Pinned introduced change: The introduced delta removes the FRV Windows aggregate bypass and makes terminal release-policy success require a successful child with no failed jobs. The actual checkout is the verified original PR head; no stale test-merge result was used to attribute changes. (scripts/full-release-validation-policy.mjs:1568, 0139bc793bed)
  • Historical evidence cannot retain the bypass: The shared manifest validator rejects failed normal CI job evidence before checking the advisory array, so deleting a retired advisory row does not restore eligibility. Publication gates, evidence validation, and release summary readers consume this shared owner; live child verification still checks repository, workflow SHA, and authenticated composite evidence. (scripts/full-release-validation-policy.mjs:50, 0139bc793bed)
  • Previous finding resolved: The previously failing regression now expects 'Release manifest contains failed selected job evidence', matching the manifest guard reached by its failed Windows fixture. This satisfies the prior review's option to align the expectation with the actual rejection boundary. (test/scripts/release-ci-summary.test.ts:3329, 0139bc793bed)
  • Accepted policy reversal: The MEMBER author's recorded comment says the release owner explicitly requested reversal of the Windows advisory policy. The comment also specifies that existing campaigns keep their immutable older Tooling SHA and that adopting strict policy requires a fresh campaign: fix(release): require Windows Node validation to pass #163373 (comment).
  • Existing-campaign compatibility: The continuation guide preserves older tooling ownership rather than retargeting active campaigns. Current tooling intentionally rejects advisory-bearing historical evidence; v3/v4 regression cases cover that rejection, and the publication regression covers failed evidence with the advisory row removed. The serialized manifest layout is retained. Public docs: docs/reference/full-release-validation/continuation.md. (docs/reference/full-release-validation/continuation.md:154, 0139bc793bed)
  • Current main still needs this change: Fetched main retains the windows-node-ci class and permits its failed or timed-out Windows jobs as advisory evidence. The merged removal of manual flake classification explicitly left this Windows exception in place: fix(release): remove unused flake classification bypass #163412. (scripts/full-release-validation-policy.mjs:26, 93625aa3d10d)

Likely related people:

  • RomneyDa: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (3 earlier review cycles)
  • reviewed 2026-10-02T07:58:17.226Z sha e25b758 :: blocked before merge. :: [P2] Exercise the FRV environment in the CI-gate regression
  • reviewed 2026-10-02T09:09:46.092Z sha 7cf88d6 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-02T10:29:44.180Z sha aad0e71 :: needs changes before merge. :: [P2] [P2] Align the Windows evidence regression with its rejection boundary

@RomneyDa

RomneyDa commented Oct 2, 2026

Copy link
Copy Markdown
Member Author

The release owner explicitly requested reversal of the Windows advisory policy in the originating task.

Addressed the actionable review findings in 7cf88d6d8999a4d21272477dd56c47dfa8df46b0:

  • The workflow regression now runs the real aggregate shell with FRV_WINDOWS_NODE_ADVISORY=true, so it exercises the exact former bypass and fails against the pre-fix workflow.
  • Manifest v3 and v4 tests now prove current strict tooling rejects retained windows-node-ci advisory evidence.
  • The continuation guide records the transition: already-dispatched campaigns remain owned by their immutable pinned older Tooling SHA; they are not retargeted mid-run. Adopting strict policy requires a fresh campaign with current tooling.

Focused tests, the changed gate, diff check, and fresh P1 AutoReview are clean. @clawsweeper re-review

@RomneyDa
RomneyDa marked this pull request as ready for review October 2, 2026 09:04
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 2, 2026
@RomneyDa
RomneyDa enabled auto-merge (squash) October 2, 2026 10:02
@RomneyDa
RomneyDa force-pushed the fix/restore-windows-node-release-gate branch from 7cf88d6 to aad0e71 Compare October 2, 2026 10:23
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 2, 2026
@clawsweeper clawsweeper Bot removed the rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. label Oct 2, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 2, 2026
@RomneyDa
RomneyDa merged commit 63b125d into main Oct 2, 2026
122 checks passed
@RomneyDa
RomneyDa deleted the fix/restore-windows-node-release-gate branch October 2, 2026 10:47
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 3, 2026
* fix(release): restore Windows Node validation gate

* test(release): cover Windows gate transition
RomneyDa added a commit that referenced this pull request Oct 4, 2026
* fix(release): restore Windows Node validation gate

* test(release): cover Windows gate transition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. release-fast-lane Release tooling PR: narrow ci-gate, ClawSweeper advisory (RELEASING.md) scripts Repository scripts size: L status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant