Skip to content

fix(qa): publish readiness only from final artifacts - #124189

Merged
RomneyDa merged 3 commits into
mainfrom
fix/qa-readiness-final-artifacts
Aug 26, 2026
Merged

RomneyDa merged 3 commits into
mainfrom
fix/qa-readiness-final-artifacts

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Aug 15, 2026 •

Copy link
Copy Markdown
Member

Related: #118007

Stack PR 1 of 3 extracted from #118008. It is independently mergeable; #118008 carries the canonical Crabline migration and #124467 carries structured provider/thread identity.

What Problem This Solves

Isolated QA runs published Crabline readiness artifacts from three overlapping owners: nested child finals, parent partial aggregates, and the parent final aggregate. Those publications share one output ancestry and could race even though scenario execution itself is safe to run concurrently.

Why This Change Was Made

Nested workers retain channelDriverSelection for transport setup, but their artifact writes omit it. Parent partial reports likewise preserve the selected channel and driver without activating readiness. Only the completed outer aggregate passes the selection to the artifact writer and publishes the authoritative readiness generation.

User Impact

QA operators keep concurrent scenario execution and receive one authoritative readiness artifact set from the completed aggregate run.

Evidence

  • The regression executes two concurrent isolated workers through the real nested standard runner. On the pre-fix code it failed because child final artifact writes still received channelDriverSelection; it passes after the owner-boundary fix.
  • pnpm exec vitest run extensions/qa-lab/src/suite-run-isolated.cleanup.test.ts extensions/qa-lab/src/suite.test.ts — 36 tests passed.
  • pnpm tsgo:extensions:all passed.
  • Direct inspection of pinned @openclaw/crabline 0.1.11 confirmed that readiness publication is activated only by runOpenClawCrablineProviderReadiness({ outputDir, selection }); the legacy smoke export aliases that function.
  • Production delta: +5/-2 (net +3), required to separate nested transport setup from outer publication ownership. Test delta: +132/-1.

@clawsweeper

clawsweeper Bot commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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 15, 2026
@clawsweeper

clawsweeper Bot commented Aug 15, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 22, 2026, 5:14 PM ET / 21:14 UTC.

ClawSweeper review

What this changes

The PR restricts Crabline readiness artifact publication to the completed QA aggregate while nested QA runs retain their transport selection.

Regression provenance

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

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep open. This is a bounded, source-backed QA artifact-ownership fix; current main still sends the Crabline selection into nested writes, while the PR leaves readiness activation to the outer final aggregate.

Priority: P2
Reviewed head: 3790e927d0c6356184a0131f3b38c8e40a4be08b

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The owner-boundary patch and focused tests are sound; validating the exact current-main merge result is the remaining material confidence step.
Proof confidence 🌊 off-meta tidepool Not applicable: This MEMBER-authored internal QA reliability fix is exempt from the external-contributor proof gate; focused regression coverage and exact-head CI are supplemental evidence.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This MEMBER-authored internal QA reliability fix is exempt from the external-contributor proof gate; focused regression coverage and exact-head CI are supplemental evidence.
Evidence reviewed 6 items Current-main behavior: Current main still forwards channelDriverSelection from the standard runner's final write and the isolated runner's partial write, leaving nested publications active.
Activation boundary: The artifact writer imports and calls the Crabline smoke helper only when channelDriverSelection is present, making omission at nested artifact writes the correct local activation boundary.
Patch behavior: The standard runner suppresses the selection only for WeakSet-marked nested runs; runtime-parity cells receive that marker, while outer aggregate writes retain the selection.
Findings None None.
Security None None.

Live Verification

Command: node scripts/run-vitest.mjs extensions/qa-lab/src/suite-run-isolated.cleanup.test.ts extensions/qa-lab/src/suite-runtime-parity-runner.cleanup.test.ts

Result: FAIL (partial) — step 2 expect_output Test Files: expected terminal output was not visible within 30 seconds: "Test Files"

node scripts/run-vitest.mjs extensions/qa-lab/src/suite-run-isolated.cleanup.test.ts extensions/qa-lab/src/suite-runtime-parity-runner.cleanup.test.ts
runner@runnervm76f27:/tmp/clawsweeper-live-proof-124189-OO7XCb/target$ node scripts/run-vitest.mjs extensions/qa-lab/src/suite-run-isolated.cleanup.test.ts exte
nsions/qa-lab/src/suite-runtime-parity-runner.cleanup.test.ts
node scripts/run-vitest.mjs extensions/qa-lab/src/suite-run-isolated.cleanup.test.ts extensions/qa-lab/src/suite-runtime-parity-runner.cleanup.test.ts
[test] starting test/vitest/vitest.extension-qa.config.ts

 RUN  v4.1.10 /tmp/clawsweeper-live-proof-124189-OO7XCb/target

 ✓  extension-qa  extensions/qa-lab/src/suite-runtime-parity-runner.cleanup.test.ts (7 tests) 101ms










































Assertions:

  • FAIL expect_output: Test Files

How this fits together

QA Lab runs scenarios through standard, isolated, and runtime-parity runners before writing suite artifacts. A Crabline channel selection activates readiness output, so the completed aggregate must be its sole publisher.

flowchart LR
  A[QA suite request] --> B[Transport selection]
  B --> C[Standard and isolated runners]
  C --> D[Nested child artifacts]
  C --> E[Final aggregate artifacts]
  D --> F[Readiness suppressed]
  E --> G[Authoritative readiness publication]
Loading

Before merge

  • Resolve merge risk (P1) - GitHub reports the PR as cleanly mergeable but behind main; validate the exact merge result and rerun the focused artifact tests before merge.
  • Resolve merge risk (P1) - The reviewer could not independently fetch the pinned Crabline source because the environment could not resolve GitHub; retain the dependency-contract check during the merge refresh.
  • Complete next step (P2) - The protected maintainer label and current-main drift call for normal maintainer merge handling rather than an automated repair job.
Agent review details

Security

None.

PR surface

Source +6, Tests +176. Total +182 across 5 files.

View PR surface stats
Area Files Added Removed Net
Source 3 38 32 +6
Tests 2 184 8 +176
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 5 222 40 +182

Review metrics

Metric Value Why it matters
Production versus test delta production +38/-32 (net +6); tests +184/-8 (net +176) The production growth is limited to preserving nested transport setup while assigning shared readiness publication to the final artifact owner.

Merge-risk options

Maintainer options:

  1. Refresh the exact merge result (recommended)
    Rebase or validate GitHub's clean merge result against current main, then rerun the focused isolated and runtime-parity artifact tests.

Technical review

Best possible solution:

Preserve the nested transport selection but allow only the final aggregate artifact write to activate Crabline readiness publication.

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

Yes—current source shows selection activating the Crabline helper, and the focused regression harness observes all nested writes losing selection while the final write retains it.

Is this the best way to solve the issue?

Yes—the patch narrows only the activation input at nested artifact boundaries and retains it for transport setup and the final aggregate publisher.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P2: This repairs a bounded QA artifact-publication race without changing OpenClaw's end-user runtime.
  • merge-risk: 🚨 other: The PR changes which concurrent QA run may publish shared readiness artifacts, requiring exact-merge validation beyond ordinary unit coverage.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This MEMBER-authored internal QA reliability fix is exempt from the external-contributor proof gate; focused regression coverage and exact-head CI are supplemental evidence.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Current-main blame attributes the adjacent nested artifact-write behavior to recent main-line work by Peter Steinberger. (role: recent main-line contributor; confidence: medium; commits: 2d0fff4ac5; files: extensions/qa-lab/src/suite-run-standard.ts, extensions/qa-lab/src/suite-run-isolated.ts, extensions/qa-lab/src/suite-runtime-parity-runner.ts)

Rank-up moves

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

  • Validate the rebased or GitHub merge result with the focused isolated and runtime-parity artifact tests.

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 (9 earlier review cycles; latest 8 shown)
  • reviewed August 15, 2026, 10:59 AM ET / 14:59 UTC sha unknown :: needs maintainer review before merge. :: none
  • reviewed August 15, 2026, 1:00 PM ET / 17:00 UTC sha unknown :: needs maintainer review before merge. :: none
  • reviewed 2026-08-16T07:30:16.818Z sha fd78f2b6a9eec6ffa0835d63be5105483e6db497 :: found issues before merge. :: [P1] Prevent isolated child runs from publishing readiness
  • reviewed 2026-08-16T07:35:47.706Z sha fd78f2b6a9eec6ffa0835d63be5105483e6db497 :: found issues before merge. :: [P1] Prevent child workers from publishing readiness
  • reviewed 2026-08-16T07:50:15.723Z sha eb1388e :: needs maintainer review before merge. :: none
  • reviewed 2026-08-16T07:56:55.087Z sha eb1388e :: found issues before merge. :: [P1] Mark runtime-parity cells as nested before artifact publication
  • reviewed 2026-08-17T15:47:19.696Z sha cbdcf76 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-21T02:23:29.716Z sha 3790e92 :: needs maintainer review before merge. :: none

@clawsweeper clawsweeper Bot added the merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. label Aug 15, 2026
@RomneyDa
RomneyDa force-pushed the fix/qa-readiness-final-artifacts branch from 5cd4c68 to fd78f2b Compare August 16, 2026 07:18
@RomneyDa

Copy link
Copy Markdown
Member Author

Dependency-contract proof for the remaining rank-up item:

  • I installed this exact head with pnpm install --frozen-lockfile and inspected the pinned @openclaw/crabline 0.1.11 package directly.
  • node_modules/@openclaw/crabline/dist/src/openclaw.d.ts defines runOpenClawCrablineProviderReadiness({ outputDir, selection }); the selection is a required activation input, and the legacy smoke export is exactly an alias of that function.
  • node_modules/@openclaw/crabline/dist/src/openclaw.js shows the function immediately acquires the readiness lock from params.selection.channel, starts/probes the adapter, and publishes the generation. There is no independent background or output-directory trigger.
  • OpenClaw's artifact writer imports and invokes that function only inside if (crablineChannelDriverSelection). Omitting the selection from the parent partial call therefore suppresses readiness publication by contract; the final aggregate still passes the exact selection and remains authoritative.
  • The rebased exact head passes the focused 5-test suite, including two simultaneously active workers, both partial writes lacking the selection, and the final write retaining it.

This resolves the review's direct dependency-inspection gap without changing code.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 16, 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 exact_review_queue).
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 added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. 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 16, 2026
@RomneyDa
RomneyDa force-pushed the fix/qa-readiness-final-artifacts branch from fd78f2b to 19d3771 Compare August 16, 2026 07:41
@RomneyDa

Copy link
Copy Markdown
Member Author

Addressed the exact-head review finding at 19d3771d149:

  • Nested isolated workers still receive the Crabline selection for transport setup.
  • Their standard-run artifact writes now suppress the selection, so they cannot activate readiness publication.
  • Parent partial writes also suppress it; only the outer final aggregate publishes readiness.
  • The regression now executes two concurrent children through the real nested standard runner and observes all five artifact writes. It failed before the production fix on child channelDriverSelection, then passed after it.
  • Rebased on current main; 36 focused/broader tests and pnpm tsgo:extensions:all pass.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 16, 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 exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

@RomneyDa
RomneyDa force-pushed the fix/qa-readiness-final-artifacts branch from 19d3771 to eb1388e Compare August 16, 2026 07:44
@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. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 16, 2026
@RomneyDa

Copy link
Copy Markdown
Member Author

Exact-head refresh for eb1388e23841526914d183a3ba806f21e9463f33: the prior durable review still targets the pre-fix fd78f2b6a9ee head.

The current head suppresses readiness activation in both nested child final writes and parent partial writes; only the outer final aggregate passes channelDriverSelection. The nested concurrent regression failed before this fix, now exercises all five real artifact-write calls, and passes. Exact-head CI is green; 36 focused tests and extension typecheck also pass.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 16, 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 exact_review_queue).
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 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 16, 2026
@RomneyDa

Copy link
Copy Markdown
Member Author

Addressed the current exact-head ClawSweeper finding in 3315d92f520faf27a7eae06222561ec92738ff95.

Root cause: runtime-parity child cells called the standard suite runner without the nested-run marker, so each child could publish the final Crabline selection/readiness artifacts before the parent aggregate.

Canonical fix: mark both runtime-parity cells as nested at the caller boundary. The standard artifact writer now suppresses child selection/readiness publication through its existing nested-run contract; the final parent aggregate remains the sole publisher.

Proof:

  • pre-fix reproduction: the real nested-cell cleanup test failed because a child artifact retained channelDriverSelection
  • post-fix focused test: 7/7
  • runtime-parity and isolated-run siblings: 20/20
  • targeted format, oxlint, and diff checks: pass
  • fresh local autoreview: clean, patch correct (0.98)
  • production delta: +3 net; test delta: +39
  • remote changed gate reached the repository max-lines guard and stopped on six unrelated current-main baseline files before extension lanes; the affected extension test lanes are covered above

The synchronize event automatically queued exact-head ClawSweeper review: https://github.com/openclaw/clawsweeper/actions/runs/32042235017.

@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 17, 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 exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

@RomneyDa

RomneyDa commented Aug 17, 2026 •

Copy link
Copy Markdown
Member Author

Exact-head CI found one test-only typing issue after the repair push: Vitest inferred the zero-argument mock declaration as mock.calls: [], so extension test typechecking rejected the artifact-call assertions even though the runtime test passed.

Follow-up cbdcf7658c65d3bc7f326aa0cba2b6262d3cfd57 gives the mock its inspected parameter shape; no runtime code or assertion was weakened.

Updated proof:

Exact-head ClawSweeper review is active at https://github.com/openclaw/clawsweeper/actions/runs/32043008574. No duplicate review request is needed.

@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. and removed 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. clawsweeper-recovery-stuck labels Aug 17, 2026
@RomneyDa

Copy link
Copy Markdown
Member Author

CI recovery at exact head cbdcf7658c65d3bc7f326aa0cba2b6262d3cfd57: security-sensitive guard run 32042722648 attempt 2 and dependency guard run 32042722633 attempt 2 both succeeded. The original failures were GitHub API 422 errors resolving the PR node ID, before branch code ran. Exact-head checks now report 54 success, 45 skipped, 1 neutral, and 0 failures. No code or ref change was required.

@RomneyDa

Copy link
Copy Markdown
Member Author

Reconciled the nested-artifact repair onto current main at exact head 3790e927d0c6356184a0131f3b38c8e40a4be08b without restoring the superseded immediate artifact-publication flow.

Dependency contract inspected directly:

  • ../crabline tag v0.1.11, commit ac9fddfceac06d1367473f9d5437d0aaa08830dc.
  • src/openclaw.ts runOpenClawCrablineProviderReadiness acquires the output-tree smoke lock and publishes a new artifact generation whenever called with { outputDir, selection }.
  • src/openclaw/artifact-generation.ts validates selection-owned readiness/capability paths and atomically switches the shared .crabline-smoke-artifacts/current.json pointer. Therefore each nested writer invocation with selection is a real competing readiness publication; withholding selection at nested artifact writes is the correct activation boundary.

Exact-head evidence:

  • Current main defers standard-run artifact publication until cleanup; conflict resolution kept that canonical deferred flow and applies the nested guard only inside its final publisher.
  • Isolated workers omit selection from child artifact writes; runtime-parity cells use the existing nested-run marker; their transport setup still receives selection.
  • Nested artifact tests cover all non-final calls lacking selection and the one outer final call retaining it for both isolated and runtime-parity paths.
  • Production delta: +6 net. Tests: +176 net.
  • git diff --check origin/main...HEAD: pass.
  • Autoreview (Codex, branch mode): clean; patch correct 0.98, no actionable findings.
  • Focused Vitest remains locally unavailable because this checkout has no tsx/installed dependency tree; exact-head CI is the execution proof.

@clawsweeper re-review

@RomneyDa
RomneyDa force-pushed the fix/qa-readiness-final-artifacts branch from cbdcf76 to 3790e92 Compare August 21, 2026 02:19
@clawsweeper

clawsweeper Bot commented Aug 21, 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 exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@RomneyDa
RomneyDa merged commit cc1c610 into main Aug 26, 2026
121 checks passed
@RomneyDa
RomneyDa deleted the fix/qa-readiness-final-artifacts branch August 26, 2026 01:02
steipete added a commit that referenced this pull request Aug 26, 2026
Two gates were failing on main independently of this branch:

- extensions/qa-lab cleanup tests still built OpenClawCrablineChannelDriverSelection
  with the retired smokeArtifactPath and a stale capabilityMatrixPath, so
  check:test-types failed after the readiness-artifact change (#124189).
  Align both fixtures with the current type and its pinned constants.
- scripts/github/release-validation-campaign.d.mts declared the Actions Octokit
  client as any (#129726), tripping no-explicit-any. Declare the structural
  subset the publisher actually calls instead of suppressing the rule.

Verified failing on clean origin/main before the fix.
steipete added a commit that referenced this pull request Aug 26, 2026
…uthority (#129725)

* fix(gateway): tools.invoke must carry the caller's host-minted role authority

The connect handshake resolves each connection's authority once and stores it
server-side (shared-secret operator owners mint system authority there).
tools.invoke discarded that fact and re-derived ownership from scopes, so a
shared-secret caller with no durable profile resolved to the deny-by-default
role and was refused dispatch on its own agents — while the same connection
could still mutate sessions directly.

Carry client.internal.operatorRoleActor into the synthetic dispatch client and
keep the scope-derived fallback for callers that have no connection actor
(HTTP). Regression test fails pre-fix with the FORBIDDEN agent-allowlist error.

* test(opencode): close the fake CLI before exec to stop ETXTBSY flakes

The catalog suite wrote the fake opencode executable and spawned it
immediately. Under parallel CI shards the write handle could still be open
at exec time, so the launch failed with ETXTBSY and failed the shard.

Write through an explicit file handle with an fsync before close so the
binary is fully durable before the first spawn.

* fix(ci): repair red main type and lint gates

Two gates were failing on main independently of this branch:

- extensions/qa-lab cleanup tests still built OpenClawCrablineChannelDriverSelection
  with the retired smokeArtifactPath and a stale capabilityMatrixPath, so
  check:test-types failed after the readiness-artifact change (#124189).
  Align both fixtures with the current type and its pinned constants.
- scripts/github/release-validation-campaign.d.mts declared the Actions Octokit
  client as any (#129726), tripping no-explicit-any. Declare the structural
  subset the publisher actually calls instead of suppressing the rule.

Verified failing on clean origin/main before the fix.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 26, 2026
* fix(qa): publish readiness from final artifacts

* fix(qa): isolate runtime parity readiness

* test(qa): type runtime parity artifact mock
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 26, 2026
…uthority (openclaw#129725)

* fix(gateway): tools.invoke must carry the caller's host-minted role authority

The connect handshake resolves each connection's authority once and stores it
server-side (shared-secret operator owners mint system authority there).
tools.invoke discarded that fact and re-derived ownership from scopes, so a
shared-secret caller with no durable profile resolved to the deny-by-default
role and was refused dispatch on its own agents — while the same connection
could still mutate sessions directly.

Carry client.internal.operatorRoleActor into the synthetic dispatch client and
keep the scope-derived fallback for callers that have no connection actor
(HTTP). Regression test fails pre-fix with the FORBIDDEN agent-allowlist error.

* test(opencode): close the fake CLI before exec to stop ETXTBSY flakes

The catalog suite wrote the fake opencode executable and spawned it
immediately. Under parallel CI shards the write handle could still be open
at exec time, so the launch failed with ETXTBSY and failed the shard.

Write through an explicit file handle with an fsync before close so the
binary is fully durable before the first spawn.

* fix(ci): repair red main type and lint gates

Two gates were failing on main independently of this branch:

- extensions/qa-lab cleanup tests still built OpenClawCrablineChannelDriverSelection
  with the retired smokeArtifactPath and a stale capabilityMatrixPath, so
  check:test-types failed after the readiness-artifact change (openclaw#124189).
  Align both fixtures with the current type and its pinned constants.
- scripts/github/release-validation-campaign.d.mts declared the Actions Octokit
  client as any (openclaw#129726), tripping no-explicit-any. Declare the structural
  subset the publisher actually calls instead of suppressing the rule.

Verified failing on clean origin/main before the fix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: qa-lab maintainer Maintainer-authored PR merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: M 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