Skip to content

fix(ci): avoid duplicate Matrix release QA runs - #119171

Merged
vincentkoc merged 2 commits into
mainfrom
fix/beta8-release-qa-gates
Aug 4, 2026
Merged

vincentkoc merged 2 commits into
mainfrom
fix/beta8-release-qa-gates

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Aug 4, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Resolves two release-validation failures in the reusable live-transport workflow:

  • reusable Buzz-only calls could schedule an unintended second Matrix lane;
  • the exhaustive 92-scenario Matrix lane could exceed its former 60-minute deadline while still making progress.

The Beta 8 exact-SHA validation run 30889831481 reproduced both failures.

Why This Change Was Made

Reusable callers with an expected_sha now gate Matrix through the explicit run_matrix input. Direct and manual invocations retain the existing Matrix default.

The Matrix deadline is 90 minutes. Coverage remains exhaustive and serial; the fix does not hide failures through sharding or scenario removal.

User Impact

Release operators get one intentional Matrix lane per reusable invocation, and the exhaustive lane can finish and publish its aggregate verdict. Product runtime is unchanged.

Evidence

No changelog entry: this changes release-validation workflow behavior only.

Punchcard-Session: amber-workshop-river-yr

@vincentkoc vincentkoc self-assigned this Aug 4, 2026
@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Aug 4, 2026
@vincentkoc
vincentkoc force-pushed the fix/beta8-release-qa-gates branch from 28b0ef2 to 65e53e9 Compare August 4, 2026 09:24
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. labels Aug 4, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
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 commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 4, 2026, 11:03 AM ET / 15:03 UTC.

ClawSweeper review

What this changes

The PR makes reusable release-QA calls opt into Matrix explicitly, raises its job timeout from 60 to 90 minutes, and documents and tests that contract.

Regression provenance

Possible regression — probable (reproduction; reviewed change). No predecessor PR is attributed.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

No blocking correctness finding: the PR fixes a real duplicate Matrix invocation through the shared selector and has focused contract coverage. Keep it open for a maintainer to approve the documented 90-minute 16-vCPU budget before merge.

Priority: P2
Reviewed head: c39fd71ac0789ab36bb362e0798325ba3ea861e3
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) A focused, coherent repair with contract tests, capacity documentation, and supplied exact-head release evidence; only the operational budget approval remains.
Proof confidence 🌊 off-meta tidepool Not applicable: This maintainer-authored workflow PR is outside the external-contributor proof gate; its body additionally reports exact-head release-workflow behavior.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This maintainer-authored workflow PR is outside the external-contributor proof gate; its body additionally reports exact-head release-workflow behavior.
Evidence reviewed 6 items Current-main defect: Current main still runs Matrix for every reusable call, irrespective of the Matrix selector.
Caller contract: The Matrix caller supplies run_matrix: true, while the separate Buzz caller supplies only run_buzz; both supply expected_sha.
Canonical shared repair: The PR switches Matrix to the same expected-SHA selector pattern used by sibling reusable lanes and sets the documented 90-minute bound.
Findings None None.
Security None None.

How this fits together

Release Checks invokes a reusable QA workflow for Matrix and channel-specific lanes. The workflow selects requested QA jobs, uploads their artifacts, and feeds the release verdict.

flowchart LR
A[Release checks] --> B[Reusable QA workflow]
M[Manual or scheduled QA] --> B
B --> C{Matrix explicitly selected?}
C -->|yes| D[Matrix catalog QA]
C -->|no| E[Requested channel QA]
D --> F[Release verdict artifacts]
E --> F
Loading

Decision needed

Question Recommendation
Should the release-QA owner approve the 90-minute cap for the serial 16-vCPU Matrix lane now that the duplicate Buzz-triggered Matrix invocation is removed? Approve the documented Matrix budget: Accept the 90-minute cap, which preserves exhaustive serial coverage while removing the duplicate Matrix job.

Why: The selector repair is mechanically supported, but the maximum reservation of shared CI capacity is an operational policy choice.

Before merge

  • Resolve merge risk (P1) - The 90-minute limit can reserve the 16-vCPU Matrix runner for up to 30 additional minutes; maintainers need to accept that documented capacity budget despite the avoided duplicate run.
Agent review details

Security

None.

PR surface

Tests +1, Docs +1, Config 0. Total +2 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 2 1 +1
Docs 1 1 0 +1
Config 1 2 2 0
Generated 0 0 0 0
Other 0 0 0 0
Total 3 5 3 +2

Review metrics

Metric Value Why it matters
Matrix job budget 60 → 90 minutes (+30); runner remains 16 vCPU This is the merge-relevant operational tradeoff for the serial release Matrix lane.
Production vs test delta production +3/-2, tests +2/-1 The small production change is a selector repair plus its documented capacity contract; focused tests lock both changes.

Merge-risk options

Maintainer options:

  1. Approve the documented Matrix budget (recommended)
    Accept the 90-minute cap because the exact-head run evidence shows the Buzz-only caller no longer schedules duplicate Matrix work.
  2. Pause if capacity is unavailable
    Do not merge if the shared 16-vCPU pool cannot tolerate the higher maximum Matrix reservation.

Technical review

Best possible solution:

Keep the shared expected-SHA lane selector, approve the 90-minute Matrix budget if acceptable, then merge only after the exact head clears the normal current-base gate.

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

Yes. A reusable Buzz-only release call with a nonempty expected SHA and run_buzz: true reaches the current-main Matrix gate even though it supplies no run_matrix input.

Is this the best way to solve the issue?

Yes. Moving Matrix onto the established expected-SHA selector fixes the shared owner boundary; special-casing the Buzz caller would leave future reusable callers vulnerable to the same duplication.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P2: The defect wastes release-validation capacity and can prevent an aggregate release verdict, but does not change product runtime behavior.
  • merge-risk: 🚨 automation: Changing reusable workflow selection and a high-capacity job timeout can alter release-validation scheduling and runner consumption.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🌊 off-meta tidepool and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This maintainer-authored workflow PR is outside the external-contributor proof gate; its body additionally reports exact-head release-workflow behavior.

Evidence

What I checked:

Likely related people:

  • Patrick Erichsen: Blame attributes the current Matrix gate and its release-selector assertions to the workflow-creation commit. (role: retained workflow and test introducer; confidence: medium; commits: 1aea2df93519; files: .github/workflows/qa-live-transports-convex.yml, test/scripts/package-acceptance-workflow.test.ts)
  • vincentkoc: Authored the current focused workflow repair and the capacity-contract documentation after prior work on these release-QA paths. (role: recent release-QA contributor; confidence: high; commits: 908b7e59a9ad, c39fd71ac078; files: .github/workflows/qa-live-transports-convex.yml, docs/ci.md, test/scripts/package-acceptance-workflow.test.ts)
  • steipete: Feature history shows repeated recent work on the release-check workflow family, including full-release child workflow consolidation. (role: recent release-CI contributor; confidence: medium; commits: bf99e43ee7d3; files: .github/workflows/openclaw-release-checks.yml, docs/ci.md)

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 (6 earlier review cycles)
  • reviewed 2026-08-04T09:38:07.875Z sha 65e53e9 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-04T10:08:43.972Z sha 65e53e9 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-04T11:05:14.238Z sha 65e53e9 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-04T13:15:22.091Z sha 18eda07 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-04T13:23:49.217Z sha 18eda07 :: found issues before merge. :: [P2] Document the Matrix capacity increase
  • reviewed 2026-08-04T14:03:50.476Z sha 6479147 :: needs maintainer review before merge. :: none

@vincentkoc
vincentkoc marked this pull request as ready for review August 4, 2026 10:59
@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Aug 4, 2026
@vincentkoc
vincentkoc force-pushed the fix/beta8-release-qa-gates branch from 65e53e9 to 18eda07 Compare August 4, 2026 13:09
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. labels Aug 4, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 4, 2026
@vincentkoc
vincentkoc force-pushed the fix/beta8-release-qa-gates branch from 18eda07 to 6479147 Compare August 4, 2026 13:46
@openclaw-barnacle openclaw-barnacle Bot added the docs Improvements or additions to documentation label Aug 4, 2026
@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 4, 2026
@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 4, 2026
@vincentkoc
vincentkoc force-pushed the fix/beta8-release-qa-gates branch from 6479147 to c39fd71 Compare August 4, 2026 14:49
@vincentkoc
vincentkoc merged commit e99c289 into main Aug 4, 2026
140 of 148 checks passed
@vincentkoc
vincentkoc deleted the fix/beta8-release-qa-gates branch August 4, 2026 19:31
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Aug 4, 2026
Punchcard-Session: crisp-lantern-orchard-nv

* origin/main:
  fix(release): accept legacy empty core artifacts (#119337)
  fix(qa): carry selected runtime into flow scenarios (#119324)
  fix(ci): retry interrupted Windows dashboard release checks (#119095)
  fix(release): filter validation ancestry fetch (#119334)
  fix(release): accept trusted extended-stable validation evidence (#119264)
  fix(sessions): preserve recorder-owned user turns (#119307)
  perf(cli): split plugin registry startup timing (#119318)
  fix(qa): align release scenario setup and compaction proof (#119188)
  fix(ci): avoid duplicate Matrix release QA runs (#119171)
vincentkoc added a commit that referenced this pull request Aug 5, 2026
…time

* origin/main: (75 commits)
  fix(commands): restore tool inventory for dynamic models (#119306)
  fix(media): release rejected BytePlus and Runway video downloads under debug capture (#119257)
  docs: add ChromeOS (Crostini) platform install guide (#107663)
  test(msteams): serve JWKS from in-process server in auth coverage (#119354)
  fix(qa): enable OpenAI for stored audio scenario (#119349)
  test(agents): realpath apply-patch temp dir fixture (#119353)
  test(slack): drop redundant .js-suffixed system-event mock (#119352)
  fix(exec): leave safe builtins unrewritten in enforced mode (#119351)
  fix(sessions): keep gateway responsive while large transcript archives are built (#112424)
  fix(tui): restore provider auth in installed local mode (#119283)
  fix(release): accept legacy empty core artifacts (#119337)
  fix(qa): carry selected runtime into flow scenarios (#119324)
  fix(ci): retry interrupted Windows dashboard release checks (#119095)
  fix(release): filter validation ancestry fetch (#119334)
  fix(release): accept trusted extended-stable validation evidence (#119264)
  fix(sessions): preserve recorder-owned user turns (#119307)
  perf(cli): split plugin registry startup timing (#119318)
  fix(qa): align release scenario setup and compaction proof (#119188)
  fix(ci): avoid duplicate Matrix release QA runs (#119171)
  perf(agents): reuse provider policy manifest registry (#119305)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 5, 2026
* fix(ci): gate reusable Matrix QA runs

* docs(ci): document Matrix release QA budget

This branch had an error being deployed

1 failed deployment
qa-live-shared — c39fd71a Deployed Aug 4, 2026 by vincentkoc via Run WhatsApp live QA lane with Convex leases #411
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation 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: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. size: XS 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