Repository navigation
fix(ci): isolate release QA lane locks - #128458
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 24, 2026, 7:37 AM ET / 11:37 UTC. ClawSweeper reviewWhat this changesThis PR gives release Matrix and Buzz QA calls separate reusable-workflow concurrency scopes while keeping Matrix serialized per target SHA and Buzz serialized around its shared credentials. Merge readinessKeep open for maintainer handling. Current main still uses one shared release-QA concurrency key; this focused patch separates Matrix and Buzz while retaining their resource locks, with no concrete correctness or security finding. Priority: P2 Review scores
Verification
Live VerificationCommand: Result: FAIL (partial) — step 2 Assertions:
How this fits togetherOpenClaw release checks invoke a reusable QA workflow for Matrix and Buzz validation. Workflow-level scopes control whether release calls can overlap, while job-level locks protect the target-specific Matrix work and pooled Buzz credentials. flowchart LR
A[Release checks] --> B[Reusable QA workflow]
B --> C[Select concurrency scope]
C --> D[Matrix QA call]
C --> E[Buzz QA call]
D --> F[Per-target Matrix lock]
E --> G[Shared Buzz credential lock]
Decision needed
Why: The patch is correct on review, but it changes release automation scheduling and carries the protected maintainer label. Before merge
Agent review detailsSecurityNone. PR surfaceTests +20, Docs +1, Config +14. Total +35 across 4 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land the isolated lane scopes with the existing per-target Matrix and shared Buzz locks after exact-head CI completes green. Do we have a high-confidence way to reproduce the issue? Yes, at source level: current main's shared workflow group serializes same-ref Matrix and Buzz calls, while the branch's exact-head Actions trace exercises the intended overlap and retained queues. Is this the best way to solve the issue? Yes. Separating workflow scopes while retaining lane-owned locks is the narrowest solution; it avoids keeping unrelated Matrix and Buzz work behind one aggregate lock. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 0d840c0fce11. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (5 earlier review cycles)
|
d6151db to
6038f24
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Extract the QA concurrency portion of #127140 while leaving the iOS runner authorization changes out.
6038f24 to
08788ce
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review Exact-head scheduler evidence for |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Maintainer disposition for the remaining ClawSweeper item:
No ClawSweeper code finding or scheduler-proof gap remains. |
|
Merged via squash.
|
Extract the QA concurrency portion of openclaw#127140 while leaving the iOS runner authorization changes out.
Related: #127140
What Problem This Solves
Resolves a release-validation scheduling problem where Matrix and Buzz QA calls for the same target SHA shared one workflow-level concurrency group, forcing independent lanes to wait on each other.
Why This Change Was Made
This extracts the safe QA concurrency design from #127140, originally authored by @vincentkoc, while deliberately excluding all iOS runner authorization and Full Release Validation dispatch changes.
The reusable workflow keeps
lock_scope: allas its default for aggregate scheduled/manual runs. Release callers explicitly usematrixandbuzz; Matrix remains serialized per selected SHA, while Buzz remains serialized across SHAs because it uses pooled credentials. Queued calls are retained.User Impact
Release Matrix and Buzz QA can run concurrently when they do not share a resource, without allowing duplicate same-SHA Matrix work or cross-SHA Buzz credential use to overlap.
Evidence
node scripts/run-vitest.mjs test/scripts/ci-workflow-guards.test.tsactionlint -shellcheck= -pyflakes= .github/workflows/qa-live-transports-convex.yml .github/workflows/openclaw-release-checks.yml./node_modules/.bin/oxfmt --check .github/workflows/openclaw-release-checks.yml .github/workflows/qa-live-transports-convex.yml docs/ci.md test/scripts/ci-workflow-guards.test.tsgit diff --checkpnpm docs:list.agents/skills/autoreview/scripts/autoreview --mode localAI-assisted; the author reviewed the implementation and proof.
Exact-candidate scheduler trace
A temporary, nonpublishing caller pinned every reusable workflow call to exact PR head
08788ce729351e2485ed1abe0a71482dc2f62d67. It created no package, release, or publish jobs and did not modify the PR branch.At the captured scheduler snapshot on August 24, 2026:
in_progressfrom11:16:08Zwhile Buzz exact-head primary wasin_progressfrom11:16:10Z, proving same-SHA Matrix/Buzz overlap.pendingfrom11:13:24Z, proving duplicate same-SHA Matrix calls remain serialized.pendingfrom11:16:17Zbehind the exact-head Buzz job, proving the pooled Buzz lock serializes across target SHAs. The second target was8fe2c1b83ca2a30d62892d3bf188588190155fd0.Redacted Actions evidence:
The proof run was cancelled after the four scheduler states were captured, and its temporary
release-ci/branch was deleted. Only public run/job metadata is linked; logs and credential details are intentionally excluded.