Skip to content

fix(release): validate beta candidates with a maintained Windows harness - #1848

Merged
RomneyDa merged 1 commit into
mainfrom
fix/maintained-candidate-harness-20261022
Oct 23, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
fix/maintained-candidate-harness-20261022

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes Windows compatibility validation failing before meaningful candidate testing: beta packages are rejected, same-run evidence uploads collide, and stable protocol incompatibility has no structured producer. Related: openclaw/openclaw#119762.

User Impact

Release operators can test one immutable OpenClaw candidate against published stable/alpha Windows apps and exact main source using a maintained harness. Normal installation policy, installed apps, permissions, and releases are unchanged. Three-lane hosted proof is pending; no merge-ready claim yet.

Why This Change Was Made

The immutable reusable-workflow commit now owns setup/tests separately from the app-under-test source. Release lanes use verified published bytes; main builds its separate checkout. Validation-package admission uses the existing exact package-version owner. Evidence names include app identity. Compatibility tests require setup, connection readiness, and a real Gateway system.which invocation rather than current-only feature inventories. Only an initial typed mismatch with exact structured operator/node evidence may be admitted; skipped, mixed, and teardown failures remain failures.

Evidence

Beta/alpha candidate regression: 2 failures before, 50 policy cases passed after. Current Gateway nested protocol-error frames: 2 failures before parser repair, 25 producer cases passed after. Outcome classifier: 25 executable cases plus actual xUnit TRX singleton/mixed/teardown samples. Five workflow contracts passed. Independent rubber-duck found the operator-first handshake gap, now addressed; fresh P0-P3 source autoreview found no actionable defects after that repair.

Change Type

  • Bug fix
  • Feature
  • Refactor
  • Docs or instructions
  • Tests or validation
  • Security hardening
  • Chore or infrastructure

Scope

  • Tray or WinUI UX
  • Windows node capability
  • Local MCP or winnode
  • Gateway, connection, or pairing
  • Setup or onboarding
  • Permissions, privacy, or security
  • Tests, CI, or docs

Required proof pools

  • windows-wsl-gateway-e2e: candidate setup and Gateway-mediated app compatibility. The narrow compatibility trace does not claim the entire recovery/MXC pool.

Validation

  • dotnet test tests/OpenClaw.SetupEngine.Tests/OpenClaw.SetupEngine.Tests.csproj --no-restore --filter FullyQualifiedName~GatewayInstallPolicyTests --verbosity minimal: 50 passed.
  • dotnet test tests/OpenClaw.E2ETests/OpenClaw.E2ETests.csproj --filter FullyQualifiedName~E2EProtocolMismatchResultTests: 25 passed, 31 ms reported test duration; compiled E2E surface.
  • pwsh -NoProfile -File scripts/Resolve-ReleaseCandidateE2EOutcome.Tests.ps1: 25 passed.
  • dotnet test tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --filter FullyQualifiedName~ReleaseCandidateE2EWorkflowTests: 5 passed.
  • ./build.ps1: full native Windows ARM64 build passed; documentation validation passed (66 Markdown files). Shared/Tray returned nonzero without TRX on this VM; captured diagnostic rerun is in progress. Focused Windows SetupEngine (50) and initial producer (14) passed.
  • Pinned actionlint: both changed workflows passed. Optional zizmor reports repository-standard major-version action references (not a clean result); no permissions were expanded.
  • git diff --check: passed.
  • CI seconds and nonpublishing three-lane trace: pending.

Real Behavior Proof

  • Environment tested: macOS focused .NET/PowerShell contracts; isolated Windows 11 ARM64 checkout for native validation.
  • PR head or commit tested: initial repair over ef05d53, then focused operator/nested-code follow-up; final harness commit ceadc37; hosted evidence pending.
  • Exact steps or command run: commands above; classifier additionally consumed actual xUnit collection-fixture TRX.
  • Evidence after fix: beta admission passes, structured protocol receipts emitted; singleton mismatch accepted while unrelated/cleanup failures rejected.
  • Observed result: focused contracts pass; native full build passes.
  • Screenshot or artifact links verified? N/A (no visual change; hosted trace pending).
  • Not verified or blocked: exact-head three-lane hosted execution and full native Shared/Tray results pending; no publication or MXC containment proof claimed.

Security Impact

  • New permissions or capabilities? No
  • Secrets or tokens handling changed? No
  • New or changed network calls? No
  • Command or tool execution surface changed? No
  • Data access scope changed? No
  • If any answer is Yes, explain the risk and mitigation:

Compatibility and Migration

  • Backward compatible? Yes
  • Config or environment changes? No user config changes; existing E2E receipt environment contract implemented.
  • Migration needed? No
  • If yes, list the exact upgrade steps:

Review Conversations

  • I replied to or resolved every bot review conversation addressed by this PR.
  • I left unresolved only conversations that still need maintainer judgment.

@RomneyDa RomneyDa added the status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. label Oct 23, 2026
@clawsweeper

clawsweeper Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

🦞👀
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.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal priority bug or improvement with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 23, 2026
@clawsweeper

clawsweeper Bot commented Oct 23, 2026

Copy link
Copy Markdown

Codex review: needs maintainer review before merge.

What this changes

This PR separates the maintained compatibility harness from the Windows app under test, admits exact prerelease candidates, and validates protocol-mismatch outcomes.

Example: Validate Gateway 2026.10.22-beta.1 against a published Windows app.

  • Before: Setup rejects the beta version before testing compatibility.
  • After: The maintained harness admits the exact package and tests connection plus Gateway-mediated system.which invocation.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The source repair is coherent and has focused regression coverage, but required proof of the changed hosted workflow remains pending.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Release operators cannot meaningfully validate beta Gateway candidates across historical and current Windows apps.
Reason: The maintainer-authored direction addresses concrete caller blockers while preserving normal installation policy and exact published-app verification.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: it repairs concrete release-validation failures still present on main, and source review found no actionable introduced defect.

Priority: P2
Reviewed head: ceadc375b858b07577d55029d3b5c85b9dc3389e

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: Current-head hosted evidence must exercise the maintained workflow against stable, alpha, and exact main apps, including accepted structured mismatch and distinct same-run uploads.
Agent review details

How this fits together

The reusable release workflow receives immutable candidate and Windows app identities, runs maintained setup and connection tests, and returns a classified outcome with evidence artifacts.

flowchart TD
  A[Release validation caller] --> B[Pinned reusable workflow]
  B --> C[Maintained setup and test harness]
  B --> D[Verified release app or main build]
  C --> E[Candidate Gateway and Windows app]
  D --> E
  E --> F[TRX and protocol receipt]
  F --> G[Outcome classifier and evidence artifacts]
Loading

Technical review

Best possible solution:

Land the maintained harness repair once its pinned workflow demonstrates the declared compatibility outcomes against published stable, alpha, and exact main apps.

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

Main's stable-only validation call rejects exact beta packages, its artifact name collides across same-run lanes, and its mismatch receipt has no producer; source inspection establishes these paths without executing target code.

Is this the best way to solve the issue?

The patch uses existing version and E2E owners, retains immutable app identity checks, and replaces broad failure admission with a focused classifier; no smaller complete repair was established.

AGENTS.md: found and applied where relevant.

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

Provenance checked

Testing

Proof path: unit tests only.

Security

None.

Evidence

What I checked:

Likely related people:

  • Dallin Romney: Raw commit 582a447 adds .github/workflows/release-candidate-e2e.yml:30 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 582a44713860; files: .github/workflows/release-candidate-e2e.yml)
  • Karen: Raw commit 912a105 adds src/OpenClaw.SetupEngine/GatewayInstallPolicy.cs:184 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 912a1050515d; files: src/OpenClaw.SetupEngine/GatewayInstallPolicy.cs)

Labels

Label changes:

  • add P2: The defects block release-operator compatibility validation without changing installed-user behavior.
  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: The defects block release-operator compatibility validation without changing installed-user behavior.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rank-up moves

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

  • Attach current-head hosted compatibility logs and artifacts for the declared three lanes.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 23, 2026, 1:24 AM ET / 05:24 UTC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal priority bug or improvement with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. 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