Skip to content

ci: test gateway candidates against Windows main - #1139

Merged
RomneyDa merged 1 commit into
mainfrom
feat/release-candidate-main-source
Aug 9, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
feat/release-candidate-main-source

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Aug 9, 2026

Copy link
Copy Markdown
Member

What

Extend the reusable Windows release-candidate E2E with a third, immutable main source mode. It retains the existing release-artifact mode and its stable/prerelease policy.

Contract

  • windows_node_workflow_sha is bound to the called workflow through GitHub OIDC.
  • windows_node_source_sha is the independently resolved Windows source revision; checkout asserts it exactly.
  • release mode continues to bind tag, source SHA, selected asset, release digest, and downloaded bytes.
  • main mode rejects release inputs, builds the checked-out source, resolves exactly one win-x64 Tray executable, and passes it via OPENCLAW_E2E_TRAY_EXE to the existing candidate E2E.

Validation

  • actionlint .github/workflows/release-candidate-e2e.yml
  • git diff --check
  • Required Windows build/test suite: pending exact-head GitHub Actions. This macOS worker cannot build the Windows WinUI surface locally.

@clawsweeper

clawsweeper Bot commented Aug 9, 2026

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

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

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 9, 2026
@clawsweeper clawsweeper Bot added P1 Urgent regression or broken agent/channel workflow affecting real users now. merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. merge-risk: 🚨 automation 🚨 Merging this PR could break CI, automerge, proof capture, label sync, or automation. labels Aug 9, 2026
@clawsweeper

clawsweeper Bot commented Aug 9, 2026 •

Copy link
Copy Markdown

Codex review: needs maintainer review before merge. Reviewed August 9, 2026, 3:59 AM ET / 07:59 UTC.

ClawSweeper review

What this changes

Adds an immutable main Windows-source mode to the reusable release-candidate workflow while preserving verified release-artifact validation.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep open. The previous reusable-workflow contract concern is addressed by the coordinated caller migration described in the PR discussion, but that paired change and exact-head Windows E2E results still need merge-time verification. Likely related people: RomneyDa, who introduced the original workflow and authored this rewrite (high confidence).

Priority: P2
Reviewed head: c92fa583dcdb0ce9d63ba2965a7579a95992d7a4

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch is focused and source-reviewed, but completed exact-head Windows workflow evidence is not yet present in the supplied PR material.
Proof confidence 🌊 off-meta tidepool Not applicable: This MEMBER-authored automation PR is not subject to the external-contributor proof gate, though exact-head Windows E2E results remain necessary merge evidence.
Patch quality 🦐 gold shrimp (3/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This MEMBER-authored automation PR is not subject to the external-contributor proof gate, though exact-head Windows E2E results remain necessary merge evidence.
Evidence reviewed 5 items Mode and identity validation: The PR validates the two source modes, rejects release-artifact inputs in main mode, binds the called workflow through OIDC, and verifies checkout matches the declared source revision.
Focused regression coverage: The focused tray tests cover the renamed immutable inputs and assert the release/main branches and selected Tray executable expression.
Caller migration context: The author’s August 9 discussion links openclaw/openclaw#119762 as the atomic caller migration, with callers passing the new source and workflow SHA inputs.
Findings None None.
Security None None.

How this fits together

The reusable release-candidate workflow receives a gateway candidate plus immutable Windows source identities, then selects either a verified release artifact or a Windows source build for the existing candidate E2E suite. Its callers are release workflows in the main OpenClaw repository.

flowchart LR
  A[Gateway candidate] --> B[Reusable release workflow]
  C[Windows source revision] --> B
  D[OIDC workflow revision] --> E[Identity validation]
  B --> E
  E --> F{Selected source}
  F -->|release| G[Verified release artifact]
  F -->|main| H[Built Windows Tray]
  G --> I[Candidate E2E]
  H --> I
Loading

Before merge

  • Resolve merge risk (P1) - The new reusable-workflow inputs are intentionally incompatible with callers using the old names, so feat(release): validate Windows-node releases and main openclaw#119762 must land in the stated order and target this exact workflow revision.
  • Resolve merge risk (P1) - The supplied checks still show the Windows E2E and test jobs in progress, and the PR body has no completed exact-head real-workflow transcript.
  • Complete next step (P2) - The remaining work is coordinated merge verification across repositories and exact-head Windows proof, not a narrow repair that an automated worker can safely make.
Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Production versus test delta workflow +44 net lines (83 added, 39 removed); tests +17 net lines (22 added, 5 removed) The focused test growth tracks the reusable workflow contract change, but execution proof remains important for GitHub Actions behavior.

Merge-risk options

Maintainer options:

  1. Verify the coordinated migration before merge (recommended)
    Confirm that feat(release): validate Windows-node releases and main openclaw#119762 pins this workflow revision and attach exact-head Windows results for the migrated release and main lanes.

Technical review

Best possible solution:

Land the paired caller migration only after its exact revisions and all release/main candidate E2E children demonstrate the immutable source contract end to end.

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

Not applicable: this is release-validation automation, and the meaningful verification path is an exact-head Windows workflow run rather than an end-user bug reproduction.

Is this the best way to solve the issue?

Yes, conditionally: separating the source SHA from the OIDC-bound workflow SHA is the maintainable design, provided the linked caller migration and real Windows execution confirm the contract.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 520f8051c19a.

Labels

Label changes:

  • add P2: This is a bounded release-validation improvement whose compatibility coordination can disrupt candidate automation if mishandled.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This MEMBER-authored automation PR is not subject to the external-contributor proof gate, though exact-head Windows E2E results remain necessary merge evidence.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🦐 gold shrimp, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.
  • remove P1: Current review triage priority is P2, so this older priority label is no longer current.

Label justifications:

  • P2: This is a bounded release-validation improvement whose compatibility coordination can disrupt candidate automation if mishandled.
  • merge-risk: 🚨 compatibility: The PR replaces required reusable-workflow input names and requires callers to migrate in coordination.
  • merge-risk: 🚨 automation: The PR changes GitHub Actions identity checks, source selection, and the executable supplied to E2E automation.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This MEMBER-authored automation PR is not subject to the external-contributor proof gate, though exact-head Windows E2E results remain necessary merge evidence.

Evidence

What I checked:

Likely related people:

  • RomneyDa: Git history attributes both the original release-candidate workflow and this source-mode redesign to Dallin Romney, whose GitHub author identity in the PR context is RomneyDa. (role: introduced workflow and recent area contributor; confidence: high; commits: 9f9a8eda6340, c92fa583dcdb; files: .github/workflows/release-candidate-e2e.yml, tests/OpenClaw.Tray.Tests/ReleaseCandidateE2EWorkflowTests.cs)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Attach a redacted exact-head workflow transcript covering the migrated release and main-source lanes.

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 (1 earlier review cycle)
  • reviewed 2026-08-09T07:50:16.351Z sha c92fa58 :: found issues before merge. :: [P1] Preserve the reusable-workflow input contract

@RomneyDa

RomneyDa commented Aug 9, 2026

Copy link
Copy Markdown
Member Author

Atomic caller migration is now in openclaw/openclaw#119762 at 863acbebbbfe5d5b9b0830fe85c4f7cde07b7453:

  • Both release callers now pass windows_node_source=release, windows_node_source_sha, and the OIDC-bound windows_node_workflow_sha.
  • The added main caller resolves refs/heads/main to a full SHA and passes windows_node_source=main with no release-artifact inputs.
  • The release-check verifier requires all three selected E2E children to run.

A live GitHub code search for release-candidate-e2e.yml, windows_node_release_sha, and windows_node_sha in org:openclaw finds no other caller. The search results for the removed names are only the pre-migration workflow/tests in openclaw-windows-node; openclaw#119762 is intentionally not indexed until merge.

This is an atomic two-PR migration, not a legacy bridge: #1139 must merge before #119762, which pins this exact workflow SHA. A focused immutable Full Release Validation run for #119762's windows-node group is being dispatched now. It will preserve the intentional prerelease fail-closed result while exercising the independent main-source lane.

@RomneyDa

RomneyDa commented Aug 9, 2026

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 9, 2026 •

Copy link
Copy Markdown

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P2 Normal priority bug or improvement with limited blast radius. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. P1 Urgent regression or broken agent/channel workflow affecting real users now. labels Aug 9, 2026
@RomneyDa
RomneyDa merged commit 582a447 into main Aug 9, 2026
34 checks passed
@RomneyDa
RomneyDa deleted the feat/release-candidate-main-source branch August 9, 2026 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-risk: 🚨 automation 🚨 Merging this PR could break CI, automerge, proof capture, label sync, or automation. merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. P2 Normal priority bug or improvement with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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