Repository navigation
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 loads crash diagnostics from the pinned workflow revision while preserving the historical alpha checkout. Example: Promote v2026.11.1-alpha.8 at 04f413d using a newer workflow.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Regression provenanceRegression provenance — verified: source commit Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR repairs a confirmed promotion failure still present on main, with no actionable code findings. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherAlpha promotion supplies separate product and pipeline revisions to reusable CI; candidate source supplies the app and tests, while the pipeline orchestrates validation and diagnostics. flowchart TD
A[Promotion dispatch] --> B[Pinned pipeline revision]
A --> C[Historical alpha checkout]
C --> D[UI tests]
B --> E[Extract diagnostics helper]
D --> F[Bounded crash metadata collection]
E --> F
F --> G[CI Gate]
Technical reviewBest possible solution: Keep diagnostics in the existing workflow owner and extract its pinned helper without modifying candidate product source. Do we have a high-confidence way to reproduce the issue? Main invokes a helper absent from the selected alpha, and the linked hosted job confirms diagnostics failure immediately after successful UI tests; no target code was executed during this review. Is this the best way to solve the issue? This is a focused repair using existing workflow and Git ownership, with no additional checkout, moving-branch dependency, product-source replacement, or diagnostics bypass. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 2812fe5187f6. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
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 November 6, 2026, 11:16 PM ET / November 7, 2026, 04:16 UTC. |
What Problem This Solves
Fixes promotion of an older alpha failing after successful UI tests because the current workflow calls a diagnostics script absent from that alpha.
Observed in promotion run 42324398881:
Capture-CiTestHostCrashMetadata.ps1was not found. The Tray UI test step itself succeeded (637 passed, 7 skipped).User Impact
The existing
v2026.11.1-alpha.8at04f413d26531d3ea19cb108291334bb3cc5fd6e6remains the promotion candidate. No new alpha, tag movement, or product-code change is needed. This PR fixes helper resolution; live promotion/publication remains unverified.Why This Change Was Made
The workflow owns diagnostic collection, while the product checkout deliberately owns the historical alpha. Extract only the helper from immutable
GITHUB_SHAintoRUNNER_TEMPand invoke it with the existing bounded start time. Do not overwrite the product checkout, load moving main, skip diagnostics, or weaken the CI gate.The helper itself and its event-field filtering remain unchanged. Extraction failure throws before a stale temporary helper can execute.
Evidence
A disposable-Git regression executes the actual YAML run block. It reproduces the old missing-script failure, then verifies absent and older candidate helpers, main advancing past the pipeline, unchanged checkout/HEAD, timestamp forwarding, and fail-closed extraction. Three cases pass. All 34 promotion cases and actionlint pass.
Shared autoreview (Codex gpt-6.1-sol, high, branch mode against
2812fe5187f64105e297de21377f4a8daae5703d, P0-P3, with unchanged helper source context) completedscoped-clean: no findings, correct verdict, exit 0. Independent implementation/proof-plan assessment; it did not independently run tests or prove Windows runtime behavior. The native reviewer follow-up was unavailable, so the supported shared helper was used.Change Type
Scope
winnodeRequired proof pools
none: pipeline helper source resolution only; no changed Windows product/UI contract. Required Windows CI and the real promotion remain outstanding.Validation
pwsh -NoProfile -File scripts/test-ci-crash-metadata-source.ps1: 3 cases passed; old workflow failed with the same missing-script error.pwsh -NoProfile -File scripts/test-alpha-promotion.ps1: 34 cases plus workflow contracts passed.actionlint -shellcheck= -pyflakes= .github/workflows/ci.yml: passed.git diff --check: passed.pwsh -NoProfile -File scripts/test-ci-workflow-contract.ps1: updated source checks pass up to the existing Windows-only path filtering assertion; full script not green on macOS.pwsh -NoProfile -File build.ps1andpwsh -NoProfile -File scripts/setup-dev.ps1 -CheckOnly: blocked, require Windows.dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore: macOS Windows path/API and profile-assumption failures; task-owned run stopped after 45 seconds, not a completed-suite pass.dotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore: executed tests hit existing Windows path/API failures on macOS; not a completed-suite pass.Tests use temporary isolated tray settings. No shared Windows runtime or alpha changed.
Real Behavior Proof
684c0cf4d8be2549f9b7b49958aec1682d45330e; focused tests ran on byte-identical source before commit.pwsh -NoProfile -File scripts/test-ci-crash-metadata-source.ps1.Passed 3 pipeline crash-helper cases: absent/older candidate helper, pinned revision, and failed extraction.Security Impact
Compatibility and Migration
Review Conversations