Repository navigation
fix(release): validate beta candidates with a maintained Windows harness - #1848
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. |
|
Codex review: needs maintainer review before merge. What this changesThis 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.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete 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 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe 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]
Technical reviewBest 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
TestingProof path: unit tests only. SecurityNone. EvidenceWhat I checked:
Likely related people:
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 23, 2026, 1:24 AM ET / 05:24 UTC. |
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.whichinvocation 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
Scope
winnodeRequired 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.git diff --check: passed.Real Behavior Proof
Security Impact
Yes, explain the risk and mitigation:Compatibility and Migration
Review Conversations