Skip to content

fix(ci): validate frozen Matrix QA targets - #115298

Merged
steipete merged 2 commits into
mainfrom
fix/beta6-matrix-workflow-compat
Jul 28, 2026
Merged

steipete merged 2 commits into
mainfrom
fix/beta6-matrix-workflow-compat

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes an issue where release validation for a frozen OpenClaw candidate failed before running any Matrix QA scenarios when the trusted current workflow expected the newer qa matrix --shard CLI.

Why This Change Was Made

The trusted workflow now detects the selected target's CLI contract. Modern targets keep numeric N/5 catalog sharding; older frozen targets use the historical five-profile partition (transport, media, e2ee-smoke, e2ee-deep, e2ee-cli) without changing artifact naming, job count, or enforcement.

User Impact

Release operators can validate frozen candidates with the current trusted workflow without backporting an unrelated QA catalog refactor or omitting Matrix coverage. There is no product runtime or changelog impact.

Evidence

@steipete steipete self-assigned this Jul 28, 2026
@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Jul 28, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. labels Jul 28, 2026
@clawsweeper

clawsweeper Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed July 28, 2026, 12:47 PM ET / 16:47 UTC.

ClawSweeper review

What this changes

The PR makes release Matrix QA choose numeric catalog sharding on newer targets and the matching historical profile on frozen targets whose CLI lacks --shard.

Merge readiness

⛔ Blocked until real behavior proof from a real setup is added - 4 items remain

Keep this PR open for maintainer handling: it has a focused CI compatibility patch and contract coverage, but it is behind current main and the supplied evidence does not show a successful after-fix run against an actual frozen Matrix target. Likely related people: steipete (low confidence; assigned author and current CI workflow contributor).

Priority: P2
Reviewed head: f379cae61dcb71a04c09bd87386e1d81a0e5c974

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The patch is focused and contract-tested, but it is not merge-ready until after-fix frozen-target behavior is demonstrated.
Proof confidence 🧂 unranked krab (1/6) Needs real behavior proof before merge: The PR supplies a prior failing Release Checks link plus actionlint and workflow-text tests, but no after-fix run against a frozen target demonstrating profile selection, scenario execution, and artifact output; add redacted live logs or a terminal artifact before merge. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Needs proof Needs real behavior proof before merge: The PR supplies a prior failing Release Checks link plus actionlint and workflow-text tests, but no after-fix run against a frozen target demonstrating profile selection, scenario execution, and artifact output; add redacted live logs or a terminal artifact before merge. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed 4 items Focused workflow compatibility change: The proposed workflow reads Matrix QA help, retains --shard N/5 when supported, and otherwise maps the existing five jobs to the five named historical profiles before invoking the same Matrix QA command.
Contract assertions added: The proposed test asserts both selection branches, all five legacy profile names, the unchanged five-shard matrix, and argument-array expansion.
Reported failure mechanism: The PR body links a Release Checks job where the frozen target lacked --shard, causing the Matrix lane to exit before scenarios or artifacts were produced; it does not include an after-fix frozen-target run.
Findings None None.
Security None None.

How this fits together

Release validation runs Matrix QA against a selected OpenClaw candidate and collects artifacts for the release gate. The workflow first reads the target CLI contract, then selects either a modern catalog shard or a legacy profile before starting the QA lane.

flowchart TD
  A[Release candidate target] --> B[Matrix QA workflow]
  B --> C[Read target CLI help]
  C --> D{Catalog sharding supported?}
  D -->|Yes| E[Run numeric Matrix shard]
  D -->|No| F[Run matching legacy profile]
  E --> G[Matrix QA artifacts]
  F --> G
  G --> H[Release validation gate]
Loading

Before merge

  • Add real behavior proof - Needs real behavior proof before merge: The PR supplies a prior failing Release Checks link plus actionlint and workflow-text tests, but no after-fix run against a frozen target demonstrating profile selection, scenario execution, and artifact output; add redacted live logs or a terminal artifact before merge. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • Resolve merge risk (P1) - Merging an unrefreshed branch could leave the release workflow incompatible with current-main changes or with the actual frozen target's historical --profile contract.
  • Resolve merge risk (P2) - The patch’s tests inspect workflow text; they do not demonstrate that a frozen candidate runs all five selected profiles and uploads Matrix artifacts after the fallback is chosen.
  • Complete next step (P2) - The remaining blocker is contributor-supplied real behavior proof and a current-main refresh, not a narrow automated repair.
Agent review details

Security

None.

PR surface

Tests +18, Config +9. Total +27 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 20 2 +18
Docs 0 0 0 0
Config 1 13 4 +9
Generated 0 0 0 0
Other 0 0 0 0
Total 2 33 6 +27

Review metrics

None.

Merge-risk options

Maintainer options:

  1. Prove the frozen-target lane before merge (recommended)
    Refresh the branch on current main and provide redacted output from a frozen candidate that shows legacy profile selection, Matrix scenario execution, and artifact upload for the release gate.
  2. Accept contract-only coverage
    Maintainers may merge based on the focused workflow assertions if they explicitly accept that the representative frozen-target execution was not captured.

Technical review

Best possible solution:

Rebase or refresh the branch onto current main, then capture a redacted successful release-validation run against a representative frozen target showing each legacy profile path, scenario execution, and artifact upload while retaining the modern shard path.

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

Yes, at source level: run the release Matrix lane against a frozen candidate whose qa matrix --help lacks --shard; the supplied failure report describes that path, but no independent current-main execution was available in this review.

Is this the best way to solve the issue?

Unclear: the fallback is narrow and preserves the existing five-job shape, but the best solution still needs a real frozen-target run to prove the historical profile names and artifact behavior match the selected target.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P2: This fixes a release-validation Matrix QA failure with an operator-facing but bounded blast radius.
  • add merge-risk: 🚨 automation: The PR changes release workflow branching and command arguments, so an incorrect historical CLI assumption could silently reduce or block Matrix validation.
  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • add status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: The PR supplies a prior failing Release Checks link plus actionlint and workflow-text tests, but no after-fix run against a frozen target demonstrating profile selection, scenario execution, and artifact output; add redacted live logs or a terminal artifact before merge. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Label justifications:

  • P2: This fixes a release-validation Matrix QA failure with an operator-facing but bounded blast radius.
  • merge-risk: 🚨 automation: The PR changes release workflow branching and command arguments, so an incorrect historical CLI assumption could silently reduce or block Matrix validation.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: The PR supplies a prior failing Release Checks link plus actionlint and workflow-text tests, but no after-fix run against a frozen target demonstrating profile selection, scenario execution, and artifact output; add redacted live logs or a terminal artifact before merge. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Evidence

What I checked:

  • Focused workflow compatibility change: The proposed workflow reads Matrix QA help, retains --shard N/5 when supported, and otherwise maps the existing five jobs to the five named historical profiles before invoking the same Matrix QA command. (.github/workflows/qa-live-transports-convex.yml:404, f379cae61dcb)
  • Contract assertions added: The proposed test asserts both selection branches, all five legacy profile names, the unchanged five-shard matrix, and argument-array expansion. (test/scripts/package-acceptance-workflow.test.ts:2636, f379cae61dcb)
  • Reported failure mechanism: The PR body links a Release Checks job where the frozen target lacked --shard, causing the Matrix lane to exit before scenarios or artifacts were produced; it does not include an after-fix frozen-target run.
  • Current-head refresh needed: GitHub context reports the branch as mergeable but behind main; the supplied PR base is 7df5834511d272523964df5d9fd5690f5694de65 while the review target is current main c41ca078a6a3f1e1d86d89c477c0b2f4dfc11524. (c41ca078a6a3)

Likely related people:

  • steipete: GitHub context identifies steipete as the author, assignee, and author of the focused workflow compatibility commit; current-main file-history ownership could not be independently traced in this read-only review environment. (role: assigned author and CI workflow contributor; confidence: low; commits: f379cae61dcb; files: .github/workflows/qa-live-transports-convex.yml, test/scripts/package-acceptance-workflow.test.ts)

Rank-up moves

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

  • Rebase or refresh against current main.
  • Attach redacted output from a frozen-target run showing legacy profile selection, Matrix execution, and uploaded artifacts.

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.

@steipete

Copy link
Copy Markdown
Contributor Author

ClawSweeper rank-up moves reviewed:

  • The branch has been refreshed through the repo-native prepare workflow; current head is 721f985a5e81d79d3659bb75810c2d74e24af472.
  • The frozen-target live run is intentionally sequenced immediately after merge because Release Checks consumes the trusted workflow from main. The existing failing beta.6 Code SHA will remain unchanged; after this workflow lands, we will rerun the Matrix child and verify legacy profile selection, scenario execution, and artifacts against that frozen target.

Pre-merge proof remains focused on the workflow contract: actionlint, 92 package-acceptance workflow tests, 90 CI workflow guards (1 skipped), hosted Testbox/build checks, and clean autoreview. The only exact-head CI failure was formatting in test/scripts/package-acceptance-workflow.test.ts; that file is now oxfmt-clean on the refreshed head.

@steipete
steipete merged commit 1a13bc5 into main Jul 28, 2026
103 checks passed
@steipete
steipete deleted the fix/beta6-matrix-workflow-compat branch July 28, 2026 17:23
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Jul 28, 2026
…224005-host

* origin/main: (72 commits)
  fix: macOS-only Parallels smoke harness regression (#75293)
  fix(ios): use configured speech language for system voice (#113372)
  refactor: centralize isolated agent test ownership (#115340)
  test(ui): stabilize browser route readiness (#115320)
  fix(cron): clear automation after failed scheduler shutdown (#115316)
  fix: keep isolated gateway workspaces and skills inside state dir (#114487)
  docs: document local TTS on macOS, Linux, and Windows (#110230)
  fix(tasks): clone only the requested task page (#114277)
  fix(agents): prevent Code Mode resume loss and unbounded preparation (#115314)
  fix(process): preserve the first process cancellation reason (#115317)
  fix(nostr): report unavailable ingress when queue open fails (#115313)
  fix: prevent Slack and Feishu ingress startup leaks (#115295)
  fix(slack): avoid unsafe emphasis boundaries (#111575)
  fix: prevent changed checks from expanding into full lint (#115322)
  fix(codex): stabilize prompts and expose real cache regressions (#115238)
  refactor(ui): derive page route specs from the route table (#115214)
  fix(compaction): plan cut points in trigger units (#111886) (#115309)
  fix: prevent cron and gateway stress-run timeouts (#115241)
  fix(ci): validate frozen Matrix QA targets (#115298)
  test(macos): block real process fallthrough (#113337)
  ...

# Conflicts:
#	CHANGELOG.md
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 29, 2026
* fix(ci): support frozen Matrix QA profiles

* style(ci): format Matrix workflow contract test
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 29, 2026
…afea23-host

* origin/main: (72 commits)
  fix: macOS-only Parallels smoke harness regression (openclaw#75293)
  fix(ios): use configured speech language for system voice (openclaw#113372)
  refactor: centralize isolated agent test ownership (openclaw#115340)
  test(ui): stabilize browser route readiness (openclaw#115320)
  fix(cron): clear automation after failed scheduler shutdown (openclaw#115316)
  fix: keep isolated gateway workspaces and skills inside state dir (openclaw#114487)
  docs: document local TTS on macOS, Linux, and Windows (openclaw#110230)
  fix(tasks): clone only the requested task page (openclaw#114277)
  fix(agents): prevent Code Mode resume loss and unbounded preparation (openclaw#115314)
  fix(process): preserve the first process cancellation reason (openclaw#115317)
  fix(nostr): report unavailable ingress when queue open fails (openclaw#115313)
  fix: prevent Slack and Feishu ingress startup leaks (openclaw#115295)
  fix(slack): avoid unsafe emphasis boundaries (openclaw#111575)
  fix: prevent changed checks from expanding into full lint (openclaw#115322)
  fix(codex): stabilize prompts and expose real cache regressions (openclaw#115238)
  refactor(ui): derive page route specs from the route table (openclaw#115214)
  fix(compaction): plan cut points in trigger units (openclaw#111886) (openclaw#115309)
  fix: prevent cron and gateway stress-run timeouts (openclaw#115241)
  fix(ci): validate frozen Matrix QA targets (openclaw#115298)
  test(macos): block real process fallthrough (openclaw#113337)
  ...

# Conflicts:
#	CHANGELOG.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: XS status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant