Skip to content

Release validation: add isolated campaign skill runner - #129726

Merged
Patrick-Erichsen merged 1 commit into
mainfrom
pe/release-validation-skill-runner
Aug 26, 2026
Merged

Patrick-Erichsen merged 1 commit into
mainfrom
pe/release-validation-skill-runner

Conversation

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor

Summary

  • run campaign generation through an isolated Codex workflow
  • validate the generated artifact before a privileged publisher updates the canonical issue
  • let the release-validation skill dispatch the workflow when campaign guidance is missing or stale
  • support one explicit legacy issue migration for OpenClaw 2026.8.1 beta feedback #125626

Validation

  • node scripts/run-vitest.mjs test/scripts/release-validation-campaign.test.ts
  • actionlint .github/workflows/release-validation-skill-runner.yml
  • git diff --check origin/main...HEAD
  • autoreview clean (Codex, P0 threshold)

@clawsweeper

clawsweeper Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XL maintainer Maintainer-authored PR labels Aug 26, 2026
@Patrick-Erichsen
Patrick-Erichsen merged commit 004b06b into main Aug 26, 2026
40 checks passed
@Patrick-Erichsen
Patrick-Erichsen deleted the pe/release-validation-skill-runner branch August 26, 2026 00:58
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
The release-validation campaign declaration (#129726) typed the
actions github client as any, leaving the scripts oxlint lane red for
any branch whose classification wakes it. A parameter typed unknown
accepts every caller without weakening the declaration.
steipete added a commit that referenced this pull request Aug 26, 2026
#129726 shipped github: any in the release-validation-campaign declaration,
turning the full oxlint lane red for every PR merge-ref. Declare the exact
structural slice of the actions/github-script client the flow calls (issue
label/create/get/update/comment plus paginate over listForRepo) so the
contract is real rather than silenced.
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
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

maintainer Maintainer-authored PR scripts Repository scripts size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant