Skip to content

fix(release): unblock 2026.9.9 full validation (round 4) - #166485

Merged
RomneyDa merged 10 commits into
release/2026.9.9from
fix/release-2026.9.9-frv-blockers-4
Oct 7, 2026
Merged

RomneyDa merged 10 commits into
release/2026.9.9from
fix/release-2026.9.9-frv-blockers-4

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 7, 2026

Copy link
Copy Markdown
Member

Summary

Consolidates the remaining 2026.9.9 Full Release Validation blockers from FRV run 37557935725 (head 64ad20a).

  • iOS release E2E: setup-code now retries on a fresh connection (30s/60s/60s) when the macOS runner stalls after a cold Simulator boot. Proof JSON showed the WebSocket handshake never completed (authenticated:false), with host-wide stalls of up to 63s while the Gateway was idle. The same stall shows up shorter on passing runs.
  • Node shard: the startup-index preflight test drains agent database log queues before reading repair logs.
  • Live release checks:
  • Docker E2E: package-update-migrations timeout raised from 60 to 150 min. Full candidates now run 5 sequential upgrade lanes, and 3 of the last 6 full runs hit the 60-minute timeout. The longest existing Docker chunk is already 210 min.

Evidence

Not fixed in code

  • Telegram QA: 2/25 scenarios fail deterministically on this head and on main, with no fix on main. The next FRV uses the reviewed telegram_waiver=2026.9.9-owner-approved.
  • Credential-gated media/plugin lanes: BytePlus, PixVerse, Together secrets missing; Vydra out of credits. These lanes are full-profile only. The next FRV uses release_profile=stable, which the npm-stable-v1 publish coverage policy requires.

RomneyDa and others added 8 commits October 6, 2026 23:12
Cold Simulator boot stalls the macOS runner (Gateway and harness both
show 5-60s event-loop gaps at near-zero CPU while RSS is paged out), so a
single 30s device.pair.setupCode call can time out before the socket even
reaches hello-ok. Retry transport timeouts on a fresh connection
(30s/60s/60s); setupCode is safe to reissue since an unused bootstrap
token expires. Record attempt count in proof evidence and diagnostics.
Startup index repair logs from SQLite worker threads whose async file
transports the parent flushLogger cannot drain; close the agent databases
first so every repair record is on disk before asserting.

(cherry picked from commit 13d17b4, test hunk only)
)

* fix(test): preserve OpenRouter live thinking capabilities

Carry mandatory-thinking maps and effort-selector metadata through live model selection and the generated Gateway config. This prevents OpenRouter MiniMax sweeps requested at off from inventing the unsupported minimal level.

Keep the existing clamp and exact max/Ultra guards. Move the selection owner into the adjacent live helper to shrink the oversized suite, and cover absent and empty effort selectors through config serialization.

Validation: both regressions failed with minimal before the repair; 35 focused cases pass afterward (26.64s wall). Selected changed guards, gateway-root test types, typed lint, dead-export checks, and independent review through P2 pass. Live Testbox proof did not start because its lease stayed queued; the unused lease was stopped.

* fix(test): use relative private SDK import in live helper

The extracted helper is classified as core by the SDK subpath guard, so its private llm facade import must stay relative. Resolve the same facade without changing runtime implementation or guard policy.

CI 36988570623 reproduced the violation on merge 582077b1cf82a4941f38de1576f77b88afa3c833. The exact guard fails before this correction and passes afterward. The 35 focused reasoning/config cases, gateway-root test types, typed lint, diff checks, and fresh independent review through P2 pass. Prior live Gateway proof at 5986302 remains valid for the unchanged runtime implementation.

(cherry picked from commit b2b095b)
High-signal selection in the Docker OpenCode/OpenRouter lane picks
opencode-go/deepseek-v4-flash, a Global-region route the release workspace
rejects with HTTP 400 (FRV 37546666206 and 37557935725). Pin the refs the
native OpenCode Go and Docker lanes already proved reachable.
The pinned free Zen model was absent or lacked reasoning/tool metadata in
the release live run (FRV 37546666206 and 37557935725). Without an explicit
OPENCLAW_LIVE_OPENCODE_MODEL override, select another discovered free
reasoning/tool-capable model so free-catalog churn does not fail the
round-trip proof.
Full release A-K validation selects the server compaction probe but did not enable its dedicated live gate, leaving the file without passing evidence. Enable the existing bounded probe in the full-only row and verify its workflow command and profile. Plugin defaults, compaction limits, and report guards stay unchanged.

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 32bf9d4)
* ci: forward native live provider credentials

Carry existing provider and QA inputs through release and scheduled callers into their owning native live matrix rows. Keep the existing Discord smoke token out of generic profile hydration and preserve provider defaults and live coverage.

* ci: correct native speech credential scopes

Forward ElevenLabs to the Mistral live shard and move Seed Speech to media-audio. Derive expected credential scopes from actual consumer files and the canonical live shard selector.

(cherry picked from commit f1b983f)
Full candidates run update-channel-switch plus four published-upgrade-survivor
baselines (2026.6.34, 8.35, 9.7, 9.8). All are weight-3 npm lanes and serialize
at npm limit 5, so the chunk exceeded its 60m job timeout in FRV run
37559852628 (job 112596297171: four lanes passed in 48m, the 9.8 survivor was
cut off at 609s) and in 2 of the 5 earlier full candidates. Budget 150m from
measured hosted lane times.
@clawsweeper

clawsweeper Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@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 Oct 7, 2026
@clawsweeper

clawsweeper Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed October 7, 2026, 2:57 AM ET / 06:57 UTC (Revision 2).

ClawSweeper review

What this changes

This PR repairs release validation by retrying stalled iOS setup connections, forwarding suite-specific credentials, preserving reasoning metadata, selecting reachable models, draining test logs, and increasing the migration-check budget.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored release-branch repair retains useful changes absent from current main, and no blocking patch defect was found. The earlier review reported no findings; the final type correction introduces none.

Likely related people: Josh Avant, steipete, and RomneyDa are routing candidates based on recent merged area history.

Priority: P2
Reviewed head: 20dce355a80ddee901dfe7e235428cf46502a73c

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, coherent qualification repair with useful regression coverage and no supported blocking finding.
Proof confidence 🌊 off-meta tidepool Not applicable: The ordinary external-contributor proof gate does not apply to this MEMBER-authored PR. Reported tests cover harness retry and forwarding contracts; the linked parent run establishes prior failure, not after-fix iOS recovery. No stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The ordinary external-contributor proof gate does not apply to this MEMBER-authored PR. Reported tests cover harness retry and forwarding contracts; the linked parent run establishes prior failure, not after-fix iOS recovery. No stored-data contract changes.
Evidence reviewed 10 items Pinned introduction reviewed: Reviewed the introduced hunks from the recorded merge base to the exact original PR head, rather than treating current-main drift as contributor changes.
Live PR identity: REST confirms the PR remains open, targets release/2026.9.9, has the pinned head, and is authored by a MEMBER; automatic closure is excluded.
Bounded iOS retry: Setup-code retries only typed transport timeouts, with 30/60/60-second attempts. Cancellation, unjoined-work rejection, fixture checks, and the same Gateway target remain in place; setup-status remains single-attempt.
Findings None None.
Security None None.

How this fits together

Release validation runs a selected OpenClaw candidate through native, provider, and upgrade checks. Workflow inputs, credentials, and model metadata feed those checks, which produce qualification results for release operators.

flowchart TD
  A[Release candidate] --> B[Validation planner]
  C[Suite credentials] --> D[Scoped workflow inputs]
  B --> E[Native and provider checks]
  D --> E
  B --> F[Upgrade checks]
  E --> G[Qualification results]
  F --> G
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +217, Config +96, Other +52. Total +365 across 14 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 8 363 146 +217
Docs 0 0 0 0
Config 3 97 1 +96
Generated 0 0 0 0
Other 3 78 26 +52
Total 14 538 173 +365

Review metrics

Metric Value Why it matters
Growth by responsibility Product runtime unchanged; release tooling/workflows net +148 LOC; tests/support net +217 LOC Growth is concentrated in the stated qualification repairs and their regression coverage.
Qualification budgets Setup RPC: up to 3 attempts totaling 150 seconds; migration chunk: 60 to 150 minutes These bounded increases address documented host stalls and sequential upgrade-lane runtimes.

Technical review

Best possible solution:

Keep release qualification in its existing harness owners, with bounded retries, consumer-scoped credentials, and budgets derived from measured upgrade lanes.

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

Yes for the missing forwarding and metadata paths from source; reproducing the cold-Simulator stall requires the macOS qualification environment. No tests or target code were executed during this read-only review.

Is this the best way to solve the issue?

Yes: the branch repairs existing release-harness owners while preserving explicit model overrides, assertions, cancellation, and product defaults.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 2c38d132e031.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This is a bounded release-validation repair without an introduced urgent product regression.
  • 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: The ordinary external-contributor proof gate does not apply to this MEMBER-authored PR. Reported tests cover harness retry and forwarding contracts; the linked parent run establishes prior failure, not after-fix iOS recovery. No stored-data contract changes.

Evidence

What I checked:

  • Pinned introduction reviewed: Reviewed the introduced hunks from the recorded merge base to the exact original PR head, rather than treating current-main drift as contributor changes. (20dce355a80d)
  • Live PR identity: REST confirms the PR remains open, targets release/2026.9.9, has the pinned head, and is authored by a MEMBER; automatic closure is excluded. (20dce355a80d)
  • Bounded iOS retry: Setup-code retries only typed transport timeouts, with 30/60/60-second attempts. Cancellation, unjoined-work rejection, fixture checks, and the same Gateway target remain in place; setup-status remains single-attempt. (scripts/lib/ios-release-e2e-native.ts:540, 20dce355a80d)
  • Credential and retry safety: The existing Gateway caller checks dispatch synchronously before sending. Bootstrap issuance creates independently expiring tokens; this patch does not change pairing permissions or the token storage contract. (src/gateway/call.ts:824, 20dce355a80d)
  • Scoped secret forwarding: New credential expressions select their consuming native rows; Discord remains excluded from generic profile hydration. No action references, dependency sources, or workflow permissions change. (.github/workflows/openclaw-live-and-e2e-checks-reusable.yml:4867, 20dce355a80d)
  • Still useful beyond main backports: Current main retains a 60-minute package/update-migrations budget and a single 30-second setup RPC. The branch's measured 150-minute budget and bounded setup retry therefore remain distinct useful work. The supplied latest release is v2026.9.8; no complete merged replacement for this branch was established. (scripts/plan-release-workflow-matrix.mjs:39, 2c38d132e031)

Likely related people:

  • Josh Avant: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • RomneyDa: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

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 (1 earlier review cycle)
  • reviewed 2026-10-07T06:35:20.701Z sha 0c5fa02 :: needs maintainer review before merge. :: none

@RomneyDa
RomneyDa merged commit ccb390b into release/2026.9.9 Oct 7, 2026
211 checks passed
@RomneyDa
RomneyDa deleted the fix/release-2026.9.9-frv-blockers-4 branch October 7, 2026 07:12
NerQuiLes pushed a commit to Xtampa-AI/openclaw that referenced this pull request Oct 11, 2026
Audit all 253 September-only commits against da0cbcc. Port only
applicable fixes and final companions, preserving October owners and
shipped upgrade contracts. Exclude September-specific waivers, schema
rollback, dependency changes, and credential-absence pass conditions.

Adapt retained ACP archive receipts without reopening retired custody;
retain SDK1.30.1 issuer fencing and explicit re-registration; exclude
standalone worker copies from beta.2 updater compatibility bridges.
Report settled Doctor release failures before the no-config early return.

Sources below are whole backports or scoped repair selections:

fix(discord): keep health inspection from blocking Gateway connections (openclaw#166736)
Source-commit: dc26366

fix: avoid foreign-listener race in Gateway acquisition proof (openclaw#166883)
Source-commit: bd0b97d

fix(ci): admit workspace package tests in Windows replay (openclaw#166895)
Source-commit: 9bc88a6

fix(release): restore beta.2 updater inventory and Podman control (openclaw#166872)
Source-commit: e203c64

fix(copilot): plugin tool calls fail from the second turn of a session (openclaw#164598)
Source-commit: c6e5ae8

fix(test): await WhatsApp inbound drain (openclaw#165842)
Source-commit: 05170cd

fix(qa-lab): keep SUT CLI in isolated launcher
Source-commit: 6681bcd

test(qa-lab): assert resolved companion CLI cwd
Source-commit: a60b458

fix(release): accept candidate-owned child evidence (openclaw#165357)
Source-commit: 500c95a

fix(acp): migrate metadata from retained sessions
Source-commit: 16398dc

fix(release): isolate first-hop service containment (openclaw#164898)
Source-commit: 85124fe

fix(release): isolate upgrade survivor scenarios (openclaw#165007)
Source-commit: aad828f

test(release): expect isolated survivor scenarios (openclaw#165009)
Source-commit: 02e7f91

fix(release): split restart auth validation (openclaw#165048)
Source-commit: 6160d9f

test: serialize PowerShell completion process suites (openclaw#166229)
Source-commit: 320e52b

fix(update): settle only this Doctor's commands in managed custody (openclaw#164868)
Source-commit: bdb44e2

fix(claude-cli): replies hang until the run times out when a background agent runs Bash (openclaw#165596)
Source-commit: 889611b

fix(whatsapp): synchronize shutdown test with durable admission (openclaw#166531)
Source-commit: 1f576e4

fix: prevent heartbeat live replies from abbreviating markers (openclaw#166777)
Source-commit: c4ed37e

fix(ci): keep full release validation within measured budgets (openclaw#166774)
Source-commit: 471f950

improve(ci): reuse Watch cache and expose shared scan build progress (openclaw#166498)
Source-commit: 66d898f

fix(e2e): normalize registry helper image modes (openclaw#163188)
Source-commit: 1a09bec

fix: MiniMax live validation misses Code Mode file reads (openclaw#163619)
Source-commit: fc23bc8

fix(test): read canonical ACP upgrade metadata
Source-commit: 46c8dd2

fix(qa): remove unavailable Telegram emoji fixture (openclaw#164956)
Source-commit: e785c56

fix(release): reconcile full validation regressions (openclaw#166200)
Source-commit: a3e349e

fix(release): unblock stable validation evidence (openclaw#166315)
Source-commit: 5ac0f82

fix(release): unblock 2026.9.9 full qualification (openclaw#166341)
Source-commit: 8aa6d7c

test(irc): await owned monitor signals (openclaw#163180)
Source-commit: 429ea8c

fix(release): unblock 2026.9.9 full validation (round 4) (openclaw#166485)
Source-commit: ccb390b

fix(release): repair Doctor teardown and FRV evidence recovery
Source-commit: 5d7fa8e

fix(release): bound FRV job reads and normalize ghost evidence
Source-commit: 1854d41

test(release): align priority fixture with bounded job pages
Source-commit: 4fd4fcc

fix(test): keep MCP validation connected after automatic pairing approval (openclaw#166849)
Source-commit: 0979efd

fix(release): address 2026.9.9 validation failures and retain diagnostics (openclaw#166962)
Source-commit: a024875

fix(release): repair fleet and CLI validation fixtures (openclaw#166977)
Source-commit: b899f42

fix: keep 2026.9.9 upgrades on state schema 19 (openclaw#166959)
Source-commit: bcfc888

fix(ui): keep passive chat viewers following incoming turns
Source-commit: 6d9689d

fix(doctor): commit transcript archive migration progress per batch and honor interruption (openclaw#165837)
Source-commit: 3a085ea

fix(doctor): restore release repair settlement
Source-commit: fab3a66

fix(release): reconcile FRV backports
Source-commit: 0c01cc6

fix(ui): refresh end geometry during interaction (openclaw#166239)
Source-commit: 5b71763

fix(ui): preserve follow intent across content growth (openclaw#166258)
Source-commit: ffcdd4d

fix(ui): gate content follow on height changes (openclaw#166301)
Source-commit: 4964263

fix(release): preserve gateway fixture close callback (openclaw#166348)
Source-commit: 64ad20a

test(ui): await collaborator smooth follow (openclaw#166285)
Source-commit: 90abf6a

Co-authored-by: Eric Curtin <[email protected]>
Co-authored-by: Ayaan Zaidi <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Abdel Gomez-Perez <[email protected]>
Co-authored-by: Patrick Erichsen <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: opencode gateway Gateway runtime P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: L 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.

2 participants