Repository navigation
fix(ci): align release validation fixtures - #117494
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 1, 2026, 12:34 PM ET / 16:34 UTC. ClawSweeper reviewWhat this changesThe branch aligns release-validation fixtures with current agent, session, Docker, model, and channel contracts; it also records when Doctor initializes a previously missing state directory during startup. Merge readinessThis maintainer-authored PR remains necessary: current Priority: P2 Review scores
Verification
How this fits togetherThe reusable release-validation workflow builds a distribution and runs repository E2E checks for release and scheduled-live callers. Its fixtures exercise runtime contracts across agents, channels, Docker setup, and package artifacts, while Doctor reports the state-directory condition discovered at startup. flowchart LR
A[Release and scheduled callers] --> B[Reusable validation job]
B --> C[Private QA-capable build]
C --> D[Repository E2E fixtures]
E[Doctor startup] --> F[State directory fact]
F --> G[State integrity report]
Decision needed
Why: The job-level environment change is mechanically bounded by Before merge
Agent review detailsSecurityNone. PR surfaceSource +75, Tests +101, Config +2, Other +13. Total +191 across 42 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the fixture and Doctor repairs together, confirm that every repository-E2E caller should build private QA artifacts, then merge against refreshed main and run the planned exact-head non-publishing full release validation. Do we have a high-confidence way to reproduce the issue? No high-confidence local reproduction was run because this read-only checkout could not materialize every partial-clone diff object. Current main visibly lacks the workflow flags, and the PR body supplies focused Testbox and GitHub Actions evidence for the affected validation paths. Is this the best way to solve the issue? Yes, conditionally: the PR repairs the owning reusable workflow and updates fixtures to the canonical structured-session and state-reporting contracts. The remaining question is whether the job-level artifact change should apply to scheduled live validation as well as release validation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against e07d75dc091c. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
|
Merged via squash.
|
* origin/main: (44 commits) fix(plugins): compare authoring metadata by canonical JSON semantics (openclaw#117486) fix(doctor): reject contradictory lint check selectors (openclaw#117495) fix(anthropic): honor configured model pricing (openclaw#117275) refactor(plugins): reuse scoped loader for capability discovery (openclaw#117373) refactor(test): derive changed tooling routes (openclaw#117407) fix(kova): clarify extension memory attribution (openclaw#117500) fix(imessage): sanitize private context on every outbound path (openclaw#117501) fix(ci): align release validation fixtures (openclaw#117494) fix(talk): preserve owner authorization in realtime consults (openclaw#114163) fix(ui): surface aborted-run diagnostics (openclaw#117497) perf(models): skip Ollama row runtime loading (openclaw#117465) fix(cli): report user profile command outcomes (openclaw#117466) fix(active-memory): detect Chinese recall intent in escalate mode (openclaw#117338) (openclaw#117419) fix(workboard): ignore caller-supplied archivedAt when creating a card (openclaw#116412) fix(models): avoid waiting on promotions before listing models (openclaw#117322) refactor(plugins): inherit shared package boundary settings (openclaw#117474) fix(systemd): parse all inline environment assignments (openclaw#117484) feat(web-fetch): add tools.web.fetch.headers for operator request headers (openclaw#115545) fix(qa): Slack progress lane misses successful delivery (openclaw#117391) refactor: deduplicate Codex prompt snapshot fixtures (openclaw#117476) ...
* origin/main: (41 commits) fix(plugins): compare authoring metadata by canonical JSON semantics (openclaw#117486) fix(doctor): reject contradictory lint check selectors (openclaw#117495) fix(anthropic): honor configured model pricing (openclaw#117275) refactor(plugins): reuse scoped loader for capability discovery (openclaw#117373) refactor(test): derive changed tooling routes (openclaw#117407) fix(kova): clarify extension memory attribution (openclaw#117500) fix(imessage): sanitize private context on every outbound path (openclaw#117501) fix(ci): align release validation fixtures (openclaw#117494) fix(talk): preserve owner authorization in realtime consults (openclaw#114163) fix(ui): surface aborted-run diagnostics (openclaw#117497) perf(models): skip Ollama row runtime loading (openclaw#117465) fix(cli): report user profile command outcomes (openclaw#117466) fix(active-memory): detect Chinese recall intent in escalate mode (openclaw#117338) (openclaw#117419) fix(workboard): ignore caller-supplied archivedAt when creating a card (openclaw#116412) fix(models): avoid waiting on promotions before listing models (openclaw#117322) refactor(plugins): inherit shared package boundary settings (openclaw#117474) fix(systemd): parse all inline environment assignments (openclaw#117484) feat(web-fetch): add tools.web.fetch.headers for operator request headers (openclaw#115545) fix(qa): Slack progress lane misses successful delivery (openclaw#117391) refactor: deduplicate Codex prompt snapshot fixtures (openclaw#117476) ...
* fix(release): align beta 6 e2e fixtures * fix(doctor): preserve missing state startup signal * test(release): align beta e2e contracts * test(agents): use canonical empty auth store * test(agents): isolate prompt cooldown scheduling * test(release): align main validation fixtures * test(release): accept Code Mode plugin tool evidence * fix(test): repair release validation checks * test(cron): assert structured session targets
* origin/main: (44 commits) fix(plugins): compare authoring metadata by canonical JSON semantics (openclaw#117486) fix(doctor): reject contradictory lint check selectors (openclaw#117495) fix(anthropic): honor configured model pricing (openclaw#117275) refactor(plugins): reuse scoped loader for capability discovery (openclaw#117373) refactor(test): derive changed tooling routes (openclaw#117407) fix(kova): clarify extension memory attribution (openclaw#117500) fix(imessage): sanitize private context on every outbound path (openclaw#117501) fix(ci): align release validation fixtures (openclaw#117494) fix(talk): preserve owner authorization in realtime consults (openclaw#114163) fix(ui): surface aborted-run diagnostics (openclaw#117497) perf(models): skip Ollama row runtime loading (openclaw#117465) fix(cli): report user profile command outcomes (openclaw#117466) fix(active-memory): detect Chinese recall intent in escalate mode (openclaw#117338) (openclaw#117419) fix(workboard): ignore caller-supplied archivedAt when creating a card (openclaw#116412) fix(models): avoid waiting on promotions before listing models (openclaw#117322) refactor(plugins): inherit shared package boundary settings (openclaw#117474) fix(systemd): parse all inline environment assignments (openclaw#117484) feat(web-fetch): add tools.web.fetch.headers for operator request headers (openclaw#115545) fix(qa): Slack progress lane misses successful delivery (openclaw#117391) refactor: deduplicate Codex prompt snapshot fixtures (openclaw#117476) ...
* origin/main: (27 commits) fix(plugins): compare authoring metadata by canonical JSON semantics (openclaw#117486) fix(doctor): reject contradictory lint check selectors (openclaw#117495) fix(anthropic): honor configured model pricing (openclaw#117275) refactor(plugins): reuse scoped loader for capability discovery (openclaw#117373) refactor(test): derive changed tooling routes (openclaw#117407) fix(kova): clarify extension memory attribution (openclaw#117500) fix(imessage): sanitize private context on every outbound path (openclaw#117501) fix(ci): align release validation fixtures (openclaw#117494) fix(talk): preserve owner authorization in realtime consults (openclaw#114163) fix(ui): surface aborted-run diagnostics (openclaw#117497) perf(models): skip Ollama row runtime loading (openclaw#117465) fix(cli): report user profile command outcomes (openclaw#117466) fix(active-memory): detect Chinese recall intent in escalate mode (openclaw#117338) (openclaw#117419) fix(workboard): ignore caller-supplied archivedAt when creating a card (openclaw#116412) fix(models): avoid waiting on promotions before listing models (openclaw#117322) refactor(plugins): inherit shared package boundary settings (openclaw#117474) fix(systemd): parse all inline environment assignments (openclaw#117484) feat(web-fetch): add tools.web.fetch.headers for operator request headers (openclaw#115545) fix(qa): Slack progress lane misses successful delivery (openclaw#117391) refactor: deduplicate Codex prompt snapshot fixtures (openclaw#117476) ...
* origin/main: (41 commits) fix(plugins): compare authoring metadata by canonical JSON semantics (openclaw#117486) fix(doctor): reject contradictory lint check selectors (openclaw#117495) fix(anthropic): honor configured model pricing (openclaw#117275) refactor(plugins): reuse scoped loader for capability discovery (openclaw#117373) refactor(test): derive changed tooling routes (openclaw#117407) fix(kova): clarify extension memory attribution (openclaw#117500) fix(imessage): sanitize private context on every outbound path (openclaw#117501) fix(ci): align release validation fixtures (openclaw#117494) fix(talk): preserve owner authorization in realtime consults (openclaw#114163) fix(ui): surface aborted-run diagnostics (openclaw#117497) perf(models): skip Ollama row runtime loading (openclaw#117465) fix(cli): report user profile command outcomes (openclaw#117466) fix(active-memory): detect Chinese recall intent in escalate mode (openclaw#117338) (openclaw#117419) fix(workboard): ignore caller-supplied archivedAt when creating a card (openclaw#116412) fix(models): avoid waiting on promotions before listing models (openclaw#117322) refactor(plugins): inherit shared package boundary settings (openclaw#117474) fix(systemd): parse all inline environment assignments (openclaw#117484) feat(web-fetch): add tools.web.fetch.headers for operator request headers (openclaw#115545) fix(qa): Slack progress lane misses successful delivery (openclaw#117391) refactor: deduplicate Codex prompt snapshot fixtures (openclaw#117476) ...
Closes #169066 ## What Problem This Solves Fixes slow, misleading **Test connection** results that count model/credential preparation and internal agent-session work as provider latency. ## User Impact Connection checks make a fresh request without creating an agent session. Each credential shows a labeled **Request round-trip**; the ambiguous aggregate header timing is gone. Empty or thinking-only responses fail the format check, timeouts remain timeouts, and provider diagnostics remain useful and secret-redacted. ## Why This Change Was Made The original probe in [40181af](40181af) exercised a real provider request through an embedded agent. [#117494](#117494) added the structured internal session required by that runtime. Connectivity checks can now use the existing isolated-completion owner instead of paying for that agent-session lifecycle. The deliberately isolated, read-only direct-credential generation from [#125816](#125816) stays intact. Every credential still uses raw OpenClaw transport, preserving [#121500](#121500). OAuth refresh remains with its normal persistent owner, including the historical-peer fencing and settlement from [#168957](#168957); no new cooldown/quota writes are introduced. Known configured models no longer trigger unnecessary catalog preparation. Checked Sarah's [#159246](#159246): its Agents API restricted-session contract and runtime defaults are unchanged. No overlap with Pash's changes. ## Evidence - Command/target/resource regressions: **38 passed**. Includes direct and stored credentials, immutable API-key auth state, expired OAuth refreshing once into the real shared store with owner/peer fences and peer settlement, and valid OAuth causing no credential/state write. - Isolated-completion suite: **50 passed**; Gateway probe suite: **13 passed**. - Models view: **38 passed**; i18n verification passed; Models browser E2E: **7 passed**. - Discriminating negative control: removing the output/timeout/diagnostic fixes makes empty and thinking-only responses incorrectly report `ok`, aborted timeout output report `unknown`, and provider-detail assertions fail. - Mock-export gate passes after six justified isolation annotations and removal of six retired baseline entries. ### Paired timing comparison Real Gateway and Control UI button clicks against the same synthetic HTTP provider with a 250 ms response delay. Baseline `cbba7e2e2ef` versus candidate `994f04547a9`; five alternating measured samples per row, excluding one warmup per lane. These are local stub measurements, not live-provider speed claims. | Scenario | Median full probe RPC, before → after | Median displayed credential duration, before → request-only after | | --- | ---: | ---: | | Successful response | 2,103 → 738 ms | 1,532 → 256 ms | | HTTP 401 | 1,073 → 389 ms | 929 → 256 ms | The stub's median HTTP duration was 251–253 ms. Each success made one HTTP request; the old 401 path made two, while the new isolated check made one. Full probe time still includes setup; it is not shown as provider request time. ### Desktop Before — unlabeled aggregate and repeated credential timing:  After — labeled per-credential request timing, no aggregate header duration:  ### Mobile   ### CI context The initial CI run also hit the main-owned `eager-import-closure.test.ts` duplicate-inventory failure. The same three duplicate paths are demonstrated on clean main `44f538c1855d` in [the existing main reproduction](#169511 (comment)), and in [this PR's failing job](https://github.com/openclaw/openclaw/actions/runs/38198084932/job/114645376204). This PR does not modify that test, wrapper inventory, or those source files. Merge danger: two-way door. Reverting restores the old probe path without a schema or configuration migration. Blast radius is model connection diagnostics in the CLI and Control UI; ordinary chat and other runtime adapters are unchanged. Co-authored-by: Ayaan Zaidi <[email protected]>
…#169554) Closes openclaw#169066 ## What Problem This Solves Fixes slow, misleading **Test connection** results that count model/credential preparation and internal agent-session work as provider latency. ## User Impact Connection checks make a fresh request without creating an agent session. Each credential shows a labeled **Request round-trip**; the ambiguous aggregate header timing is gone. Empty or thinking-only responses fail the format check, timeouts remain timeouts, and provider diagnostics remain useful and secret-redacted. ## Why This Change Was Made The original probe in [5083dd5](openclaw@5083dd5) exercised a real provider request through an embedded agent. [openclaw#117494](openclaw#117494) added the structured internal session required by that runtime. Connectivity checks can now use the existing isolated-completion owner instead of paying for that agent-session lifecycle. The deliberately isolated, read-only direct-credential generation from [openclaw#125816](openclaw#125816) stays intact. Every credential still uses raw OpenClaw transport, preserving [openclaw#121500](openclaw#121500). OAuth refresh remains with its normal persistent owner, including the historical-peer fencing and settlement from [openclaw#168957](openclaw#168957); no new cooldown/quota writes are introduced. Known configured models no longer trigger unnecessary catalog preparation. Checked Sarah's [openclaw#159246](openclaw#159246): its Agents API restricted-session contract and runtime defaults are unchanged. No overlap with Pash's changes. ## Evidence - Command/target/resource regressions: **38 passed**. Includes direct and stored credentials, immutable API-key auth state, expired OAuth refreshing once into the real shared store with owner/peer fences and peer settlement, and valid OAuth causing no credential/state write. - Isolated-completion suite: **50 passed**; Gateway probe suite: **13 passed**. - Models view: **38 passed**; i18n verification passed; Models browser E2E: **7 passed**. - Discriminating negative control: removing the output/timeout/diagnostic fixes makes empty and thinking-only responses incorrectly report `ok`, aborted timeout output report `unknown`, and provider-detail assertions fail. - Mock-export gate passes after six justified isolation annotations and removal of six retired baseline entries. ### Paired timing comparison Real Gateway and Control UI button clicks against the same synthetic HTTP provider with a 250 ms response delay. Baseline `b372edb6424` versus candidate `994f04547a9`; five alternating measured samples per row, excluding one warmup per lane. These are local stub measurements, not live-provider speed claims. | Scenario | Median full probe RPC, before → after | Median displayed credential duration, before → request-only after | | --- | ---: | ---: | | Successful response | 2,103 → 738 ms | 1,532 → 256 ms | | HTTP 401 | 1,073 → 389 ms | 929 → 256 ms | The stub's median HTTP duration was 251–253 ms. Each success made one HTTP request; the old 401 path made two, while the new isolated check made one. Full probe time still includes setup; it is not shown as provider request time. ### Desktop Before — unlabeled aggregate and repeated credential timing:  After — labeled per-credential request timing, no aggregate header duration:  ### Mobile   ### CI context The initial CI run also hit the main-owned `eager-import-closure.test.ts` duplicate-inventory failure. The same three duplicate paths are demonstrated on clean main `1abe83478663` in [the existing main reproduction](openclaw#169511 (comment)), and in [this PR's failing job](https://github.com/openclaw/openclaw/actions/runs/38198084932/job/114645376204). This PR does not modify that test, wrapper inventory, or those source files. Merge danger: two-way door. Reverting restores the old probe path without a schema or configuration migration. Blast radius is model connection diagnostics in the CLI and Control UI; ordinary chat and other runtime adapters are unchanged. Co-authored-by: Ayaan Zaidi <[email protected]>
Summary
mainexec/waittranscript evidence for nested plugin tool callscron.store) and add the required explicit agent rosterWhy
The immutable full release-validation run for
355295bfef4abadeb94286dce2b911d12531b98bexposed deterministic failures in the normal E2E, plugin prerelease, Docker update, and live-plugin-tool lanes. This PR ports the release-branch repairs tomainand adds the main-only forward-port adjustments required by newer registry and config contracts.No release or publish action is included.
Proof
tbx_01kyz056vkybaerfjm9bc5pv3c: 7 focused files green (147 tests total)pnpm check:changedgreensrc/commands/doctor.warns-state-directory-is-missing.e2e.test.ts— 27 passedsrc/commands/models.list.e2e.test.ts— 21 passedpackages/sdk/src/package.e2e.test.ts— 2 passedtest/scripts/live-plugin-tool-assertions.test.ts— 12 passedFollow-up
After merge, freeze the exact new
mainSHA and rerun the full non-publishing release validation (rerun_group=all).