Repository navigation
fix(release): reconcile full validation regressions - #166200
Conversation
History and transcript reconciliation readers loaded the writable agent database lifecycle merely to consult its process-local damage latch. Move that assertion to a lightweight reader of the existing owner's state. Recording, clearing, generation checks, and close ordering remain with the same lifecycle owner; reads do not initialize it. Fixes the two import-boundary failures in main CI run 36935459406. All 45 focused cases passed, including persisted quarantine, terminal-latch, and read-only scope coverage. The full build passed in 13m 5.7s; all 33 selected checks and fresh independent review passed. The grouped test command took 155.13s including cold compiled-worker preparation.
|
@clawsweeper review |
|
🦞👀 Re-review progress:
|
Since #162763, a session.message that lands while a chat history read is in flight retires that read and issues one fresh read, which inherits startup mode. The stream-reconciliation fixture deferred and answered only the first chat.startup, so the mock served the fresh read from its static scenario (empty history and in-flight text). The steered-continuation variant then lost its stream state and failed deterministically on main (bisected: 30/30 pass before e42c52b, 30/30 fail at it). Answer the fresh startup read with the same snapshot a real Gateway would return whenever persistence lands before hydration.
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Codex review: needs maintainer review before merge. Reviewed October 6, 2026, 1:07 PM ET / 17:07 UTC (Revision 2). ClawSweeper reviewWhat this changesThis PR repairs database read admission, Windows path handling, bundled MCP transport ingestion, and chat disclosure anchoring while updating release-validation fixtures. Merge readiness✅ Ready for maintainer review Keep open: this remains useful release-branch repair work, and the author is a repository member. The previous screenshot concern is addressed by inspected, linked before/after evidence; no introduced blocking defect was found. Priority: P2 Review scores
Verification
How this fits togetherDatabase admission governs access to stored agent conversations, while bundle ingestion prepares plugin MCP connections. The chat transcript renderer turns conversation updates and disclosure interactions into visible rows with stable scroll positions. flowchart TD
A[Stored conversations] --> B[Database read admission]
C[Plugin bundle metadata] --> D[MCP transport normalization]
B --> E[Agent and Gateway runtime]
D --> E
E --> F[Chat transcript rows]
G[Disclosure interaction] --> F
F --> H[Anchored chat view]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +32, Tests +78. Total +110 across 20 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep the release repair focused on existing owners and preserve its validated admission, transport-precedence, recovery, and disclosure-anchor contracts. Do we have a high-confidence way to reproduce the issue? Yes, source inspection identifies the competing disclosure anchors and writable import boundary, and the PR supplies focused failing-before/passing-after evidence. This reviewer did not execute a current-main reproduction. Is this the best way to solve the issue? Yes, the patch repairs the existing owners and adapters while preserving explicit configuration precedence; the latest test correction matches committed recovery behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 246897ff2f86. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
Disclosure-anchor visual proofSanitized synthetic fixture, identical expanded trailing Before: release-only row retargeting moves the clicked disclosure upward by 36 px after expansion. After: the interaction anchor owns the row-model change; measured drift is 0 px. The exact E2E regression passes at |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
CI classification: |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Resolved the deterministic stable red at exact head |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
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]>


Problem
Full Release Validation on stable candidate
38cdb2623389exposed deterministic regressions in read-only agent database admission, schema-20 receipt projections, cron recovery expectations, model-fallback receipts, desktop readiness mocks, spawned-session workspace ownership, Windows database path normalization, bundled MCP transport ingestion, and transcript disclosure anchoring.The same run also reported memory watcher and WhatsApp failures; exact focused replays pass on this branch, so this PR does not weaken those tests or add retries.
Solution
typealiases at bundle ingestion while preserving explicit canonical transports and rejecting unknown implicit transportsImpact
No schema, retention, permission, configuration, or publication behavior changes. The production changes are limited to read-only admission ownership, path normalization, bundle-local MCP metadata normalization, and preserving the existing transcript interaction anchor while its row model changes.
Evidence
node scripts/check-changed.mjs --base origin/release/2026.9.9— passednode scripts/run-vitest.mjs --maxWorkers=1 packages/memory-host-sdk/src/host/session-files.windows-ownership.test.ts— 11/11 passed, 32.64s wallnode scripts/run-vitest.mjs --maxWorkers=1 src/plugins/bundle-mcp.test.ts— 17/17 passed, 12.31s wallgit diff --check— passedfe35a1f4e99— scoped clean, no actionable findingsSuperseded diagnostic FRV: https://github.com/openclaw/openclaw/actions/runs/37481985209