Repository navigation
fix(test): restore task identifier fixtures after serialization split - #154048
roboclaw-bot wants to merge 3 commits into
Conversation
Repair the stale task-identifier test import after the serialization split, without restoring a competing re-export or changing runtime behavior. Co-authored-by: VACInc <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
@clawsweeper re-review |
Preserve exact TypeScript and CSS Stylelint inputs instead of depending on a placeholder filename staying absent. Co-authored-by: VACInc <[email protected]>
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Repair the existing TS2459 baseline failure after the codec extraction in #153838. Same bounded import repair is tracked in #154048; required to validate the updater change without bypassing the core-test gate. Co-authored-by: steipete <[email protected]>
Resolve the duplicate changed-lanes repair using upstream fix ef6c34d from PR 153982; retain only the pending task-identifier codec import fix. Co-authored-by: VACInc <[email protected]>
|
@clawsweeper re-review The final one-file candidate imports the task-identifier fixture binding from its existing codec owner. Node 24 red/green proof: 7 failures before, all 9 tests pass after; independent review clean. The duplicate changed-lanes correction was resolved using canonical upstream #153982. Current head: 0c6f36f. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Use the extracted codec in the task-identifier regression without restoring a competing re-export. Incorporates the matching correction from #154048. Co-authored-by: VACInc <[email protected]>
Carry the existing codec import repair from PR openclaw#154048 (74136ce), without restoring the retired storage re-export. Establish sole fixture ownership and clear durable integrity proof for cold archive admission cases after the clean-close optimization. Production code, authorization and assertions are unchanged. Co-authored-by: VACInc <[email protected]>
…54042) * fix(update): allow Git updates with packs larger than 256 MiB Remove the fixed candidate pack read cap while retaining safe file opening, pre-admission staging, pack retention, and recovery. Replace the removed size-refusal regression with a missing-pack failure case. Co-authored-by: steipete <[email protected]> * fix(update): allow Git updates with packs larger than 256 MiB Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: f454e568-0c25-4240-9b70-4f7f24e78b66 * perf(update): pass staged Git packs directly to the importer Pin the safely opened pack and inherit its descriptor as Git stdin instead of retaining a whole-pack Buffer or piping its bytes. Dispose the descriptor on success, admission refusal, and failure before inspection cleanup; preserve Git-owned pack retention and rollback. Co-authored-by: steipete <[email protected]> * test: import task identifier serialization from its owner Repair the existing TS2459 baseline failure after the codec extraction in #153838. Same bounded import repair is tracked in #154048; required to validate the updater change without bypassing the core-test gate. Co-authored-by: steipete <[email protected]> * fix(update): avoid size failures and memory spikes in Git updates Worked on by: - @steipete - @fuller-stack-dev Co-authored-by: steipete <[email protected]> Co-authored-by: fuller-stack-dev <[email protected]> OpenClaw-Publication: 98c11030-6751-4eb1-b910-cb8cba79fe98 * test(update): preserve native inputs in regression fixtures Forward the complete process command contract, including inherited stdin descriptors. Isolate fixture Git identities from managed command-scoped configuration and environment overrides while preserving exact committer assertions. Verified the original bad-pack-header control and all 260 updater/recovery tests. Co-authored-by: steipete <[email protected]> Co-authored-by: fuller-stack-dev <[email protected]> * fix(update): avoid size failures and memory spikes in Git updates Worked on by: - @steipete - @fuller-stack-dev Co-authored-by: steipete <[email protected]> Co-authored-by: fuller-stack-dev <[email protected]> OpenClaw-Publication: 6f76a7bc-27ba-44cc-9a0f-82fe3ca6c303 * chore(process): document native stdin descriptor assertion Place the existing Execa descriptor invariant directly above the assertion with the required SAFETY marker. Reproduced the exact CI assertion-ratchet failure, then verified the unchanged guard passes; runtime behavior is unchanged. Co-authored-by: steipete <[email protected]> Co-authored-by: fuller-stack-dev <[email protected]> --------- Co-authored-by: steipete <[email protected]> Co-authored-by: fuller-stack-dev <[email protected]>
|
Codex review: blocked before merge. Reviewed September 20, 2026, 5:08 PM ET / 21:08 UTC. ClawSweeper reviewWhat this changesThe PR repairs task-identifier tests by importing their record serializer from its existing codec module. Merge readiness⛔ Blocked before merge - 2 items remain The patch is correct, but current main already contains the identical repair. Keep this PR open for explicit maintainer disposition because its maintainer label and author status prohibit automatic closure. Priority: P3 Review scores
Verification
How this fits togetherTask-identifier tests seed SQLite records and exercise Doctor repairs, collision rejection, and legacy imports. The codec prepares those records, while the storage module reads them back for assertions. flowchart LR
A[Test run records] --> B[Record codec]
B --> C[SQLite fixtures]
C --> D[Doctor and legacy import repairs]
D --> E[Storage reader]
E --> F[Identity and preservation assertions]
Decision needed
Why: The source establishes redundancy, but protected maintainer work requires explicit human disposition. Before merge
Agent review detailsSecurityNone. PR surfaceTests -2. Total -2 across 1 file. View PR surface stats
Review metricsNone. Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Retain main's direct codec import and unchanged regression coverage without restoring a compatibility re-export. Do we have a high-confidence way to reproduce the issue? No current-main failure is established: main already uses the corrected import. The original failure is source-supported and has recorded before/after test results; this review did not execute tests. Is this the best way to solve the issue? Yes. Importing the serializer from its existing codec owner is the narrow repair, preserves the tests, and is already the implementation on main. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 5e3b91ce6dea; fix evidence: commit 1c2bdf3e2653, main fix timestamp 2026-09-20T20:54:08Z. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Closing this task-owned duplicate as superseded by #153988, merged as The original cancellation work in #153795 can now rely on that canonical main repair. This PR retains the VACInc contributor credit, red/green evidence and exact work-session link; no duplicate merge is needed. |
* refactor: consolidate session title request ownership Follow up #153455 by centralizing joined title settlement and retries, reusing the async-resource owner for failure cleanup, and sharing discussion RPC handling. Preserve generated titles, two-word fallbacks, bounded waits, and source authority. Remove 103 net production lines. * test: retain subagent fixture state through cleanup The full Gateway agent suite reproduced a native-child RPC rejection because a preceding plugin fixture removed its database while an asynchronous worker was opening it. Reuse the canonical test-state fixture for the two leaking cases. Keep assertions, test order, timeouts, and production identity checks unchanged; the exact-merge Linux replay now passes 352 tests with no identity rejection. * test: prepare checkpoint history before the attempt deadline * test: bind ACP fixture cleanup to its state directory * test: import subagent bindings from their codec owner Use the extracted codec in the task-identifier regression without restoring a competing re-export. Incorporates the matching correction from #154048. Co-authored-by: VACInc <[email protected]> --------- Co-authored-by: VACInc <[email protected]>
…enclaw#154042) * fix(update): allow Git updates with packs larger than 256 MiB Remove the fixed candidate pack read cap while retaining safe file opening, pre-admission staging, pack retention, and recovery. Replace the removed size-refusal regression with a missing-pack failure case. Co-authored-by: steipete <[email protected]> * fix(update): allow Git updates with packs larger than 256 MiB Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: f454e568-0c25-4240-9b70-4f7f24e78b66 * perf(update): pass staged Git packs directly to the importer Pin the safely opened pack and inherit its descriptor as Git stdin instead of retaining a whole-pack Buffer or piping its bytes. Dispose the descriptor on success, admission refusal, and failure before inspection cleanup; preserve Git-owned pack retention and rollback. Co-authored-by: steipete <[email protected]> * test: import task identifier serialization from its owner Repair the existing TS2459 baseline failure after the codec extraction in openclaw#153838. Same bounded import repair is tracked in openclaw#154048; required to validate the updater change without bypassing the core-test gate. Co-authored-by: steipete <[email protected]> * fix(update): avoid size failures and memory spikes in Git updates Worked on by: - @steipete - @fuller-stack-dev Co-authored-by: steipete <[email protected]> Co-authored-by: fuller-stack-dev <[email protected]> OpenClaw-Publication: 98c11030-6751-4eb1-b910-cb8cba79fe98 * test(update): preserve native inputs in regression fixtures Forward the complete process command contract, including inherited stdin descriptors. Isolate fixture Git identities from managed command-scoped configuration and environment overrides while preserving exact committer assertions. Verified the original bad-pack-header control and all 260 updater/recovery tests. Co-authored-by: steipete <[email protected]> Co-authored-by: fuller-stack-dev <[email protected]> * fix(update): avoid size failures and memory spikes in Git updates Worked on by: - @steipete - @fuller-stack-dev Co-authored-by: steipete <[email protected]> Co-authored-by: fuller-stack-dev <[email protected]> OpenClaw-Publication: 6f76a7bc-27ba-44cc-9a0f-82fe3ca6c303 * chore(process): document native stdin descriptor assertion Place the existing Execa descriptor invariant directly above the assertion with the required SAFETY marker. Reproduced the exact CI assertion-ratchet failure, then verified the unchanged guard passes; runtime behavior is unchanged. Co-authored-by: steipete <[email protected]> Co-authored-by: fuller-stack-dev <[email protected]> --------- Co-authored-by: steipete <[email protected]> Co-authored-by: fuller-stack-dev <[email protected]>
* refactor: consolidate session title request ownership Follow up openclaw#153455 by centralizing joined title settlement and retries, reusing the async-resource owner for failure cleanup, and sharing discussion RPC handling. Preserve generated titles, two-word fallbacks, bounded waits, and source authority. Remove 103 net production lines. * test: retain subagent fixture state through cleanup The full Gateway agent suite reproduced a native-child RPC rejection because a preceding plugin fixture removed its database while an asynchronous worker was opening it. Reuse the canonical test-state fixture for the two leaking cases. Keep assertions, test order, timeouts, and production identity checks unchanged; the exact-merge Linux replay now passes 352 tests with no identity rejection. * test: prepare checkpoint history before the attempt deadline * test: bind ACP fixture cleanup to its state directory * test: import subagent bindings from their codec owner Use the extracted codec in the task-identifier regression without restoring a competing re-export. Incorporates the matching correction from openclaw#154048. Co-authored-by: VACInc <[email protected]> --------- Co-authored-by: VACInc <[email protected]>
…#153829) * fix(telegram): keep control commands out of inbound text queues * fix(telegram): honor active-run command policy across ingress queues * fix(telegram): preserve queued commands across topic upgrades Co-authored-by: VACInc <[email protected]> * test(telegram): keep command comparison assertions lint-clean Co-authored-by: VACInc <[email protected]> * test: stabilize UI stylelint lane fixture Use an existing tracked UI TypeScript file and assert its stylelint target alongside CSS companions. This repairs the merge-context fixture failure exposed when main added the previously absent picker test; production selection and assertion strength are unchanged. Co-authored-by: VACInc <[email protected]> * fix(telegram): keep session-mutating commands off the control lane `activeRunSafe` states that a command may execute while a turn is active. It does not state that the command is safe to share the chat-wide control lane or to skip inbound text buffering. Selecting the lane from it pulled `/new`, `/reset` and `/think` onto `telegram:<chat>:control` with `debounceKey: null`, so a session reset could run ahead of its own topic's queued input and its spooled update could be replayed against a lane it never belonged to. Select the lane from the explicit interrupt allow-list instead. `/approve` joins `queue` and `steer` there because the run that requested the approval is already holding its own lane; `/stop` keeps the lane through the abort-trigger path, which is unchanged. The read-only and active-run predicates now share one alias-to-registry-key lookup. * test: align state fixtures with their admission owners Carry the existing codec import repair from PR #154048 (74136ce), without restoring the retired storage re-export. Establish sole fixture ownership and clear durable integrity proof for cold archive admission cases after the clean-close optimization. Production code, authorization and assertions are unchanged. Co-authored-by: VACInc <[email protected]> * test(talk): read the shared log sink as JSONL Co-authored-by: VACInc <[email protected]> * test(claws): configure the close-failure fixture through its owner Co-authored-by: VACInc <[email protected]> * fix: /status stays silent while a same-session turn is already running Inspection commands already admit beside an active run, but they still took a foreground FIFO slot behind that run, so /status never delivered. * test(gateway): isolate auth and Git roots in recovery fixtures Keep restart classification independent of host credentials and initialize the real Git owner used by reclaim recovery. Move the restart configuration fixture to its existing support module to preserve the line-cap ratchet without dropping assertions. Co-authored-by: VACInc <[email protected]> * fix(qa): drive subagent scenarios through deferred tools Adapt the scenario mock at its tool-surface owner, preserve logical receipts and diagnostics, and keep eager and Code Mode behavior intact. Regressions reproduce the structured Tool Search surface used by smoke CI. Co-authored-by: VACInc <[email protected]> * test(qa): bind private spawn proof to authenticated wire receipts Preserve exact eager/dispatcher/Code Mode receipt cardinality, reject reused or extra receipts, and keep chronology and privacy checks unchanged. Co-authored-by: VACInc <[email protected]> * test(cron): await lifecycle signals in asynchronous fixtures Co-authored-by: VACInc <[email protected]> * test(gateway): observe on-exit handoff lifecycle signals Join fixture-owned heartbeat entry and actual scheduler completion instead of short polling windows, retaining handoff and delivery assertions. Clear unconsumed callback implementations after draining the stop variant. Co-authored-by: VACInc <[email protected]> * test: await worker-backed fixture readiness Observe approval publication, handshake completion, and media lifecycle signals before asserting state. Keep the approval expiry clock independent of worker startup, and drain pending operations before cleanup. Co-authored-by: VACInc <[email protected]> * test(gateway): keep pending approval lookup alive Use a non-expiry fixture lifetime for the pending-details contract so hosted worker contention cannot correctly expire the request before lookup. Exact-deadline coverage and production expiry behavior remain unchanged. Co-authored-by: VACInc <[email protected]> --------- Co-authored-by: VACInc <[email protected]> Co-authored-by: roboclaw-bot <[email protected]>
…openclaw#153829) * fix(telegram): keep control commands out of inbound text queues * fix(telegram): honor active-run command policy across ingress queues * fix(telegram): preserve queued commands across topic upgrades Co-authored-by: VACInc <[email protected]> * test(telegram): keep command comparison assertions lint-clean Co-authored-by: VACInc <[email protected]> * test: stabilize UI stylelint lane fixture Use an existing tracked UI TypeScript file and assert its stylelint target alongside CSS companions. This repairs the merge-context fixture failure exposed when main added the previously absent picker test; production selection and assertion strength are unchanged. Co-authored-by: VACInc <[email protected]> * fix(telegram): keep session-mutating commands off the control lane `activeRunSafe` states that a command may execute while a turn is active. It does not state that the command is safe to share the chat-wide control lane or to skip inbound text buffering. Selecting the lane from it pulled `/new`, `/reset` and `/think` onto `telegram:<chat>:control` with `debounceKey: null`, so a session reset could run ahead of its own topic's queued input and its spooled update could be replayed against a lane it never belonged to. Select the lane from the explicit interrupt allow-list instead. `/approve` joins `queue` and `steer` there because the run that requested the approval is already holding its own lane; `/stop` keeps the lane through the abort-trigger path, which is unchanged. The read-only and active-run predicates now share one alias-to-registry-key lookup. * test: align state fixtures with their admission owners Carry the existing codec import repair from PR openclaw#154048 (74136ce), without restoring the retired storage re-export. Establish sole fixture ownership and clear durable integrity proof for cold archive admission cases after the clean-close optimization. Production code, authorization and assertions are unchanged. Co-authored-by: VACInc <[email protected]> * test(talk): read the shared log sink as JSONL Co-authored-by: VACInc <[email protected]> * test(claws): configure the close-failure fixture through its owner Co-authored-by: VACInc <[email protected]> * fix: /status stays silent while a same-session turn is already running Inspection commands already admit beside an active run, but they still took a foreground FIFO slot behind that run, so /status never delivered. * test(gateway): isolate auth and Git roots in recovery fixtures Keep restart classification independent of host credentials and initialize the real Git owner used by reclaim recovery. Move the restart configuration fixture to its existing support module to preserve the line-cap ratchet without dropping assertions. Co-authored-by: VACInc <[email protected]> * fix(qa): drive subagent scenarios through deferred tools Adapt the scenario mock at its tool-surface owner, preserve logical receipts and diagnostics, and keep eager and Code Mode behavior intact. Regressions reproduce the structured Tool Search surface used by smoke CI. Co-authored-by: VACInc <[email protected]> * test(qa): bind private spawn proof to authenticated wire receipts Preserve exact eager/dispatcher/Code Mode receipt cardinality, reject reused or extra receipts, and keep chronology and privacy checks unchanged. Co-authored-by: VACInc <[email protected]> * test(cron): await lifecycle signals in asynchronous fixtures Co-authored-by: VACInc <[email protected]> * test(gateway): observe on-exit handoff lifecycle signals Join fixture-owned heartbeat entry and actual scheduler completion instead of short polling windows, retaining handoff and delivery assertions. Clear unconsumed callback implementations after draining the stop variant. Co-authored-by: VACInc <[email protected]> * test: await worker-backed fixture readiness Observe approval publication, handshake completion, and media lifecycle signals before asserting state. Keep the approval expiry clock independent of worker startup, and drain pending operations before cleanup. Co-authored-by: VACInc <[email protected]> * test(gateway): keep pending approval lookup alive Use a non-expiry fixture lifetime for the pending-details contract so hosted worker contention cannot correctly expire the request before lookup. Exact-deadline coverage and production expiry behavior remain unchanged. Co-authored-by: VACInc <[email protected]> --------- Co-authored-by: VACInc <[email protected]> Co-authored-by: roboclaw-bot <[email protected]>
Related: #153795
What Problem This Solves
Fixes: task-identifier tests fail at runtime and during typechecking after subagent serialization moves to its codec module.
User Impact
Developers can validate task-identifier repair without unrelated CI failures. There is no runtime behavior, schema, migration, or configuration change.
Why This Change Was Made
The serialization split in #153838 moved
bindSubagentRunRecordtosubagent-registry.store.codec.ts. The task-identifier test added in #153509 still imported it from the SQLite storage module. Import the binding helper from its existing owner and keepreadSubagentRunon the storage module; do not restore a duplicate re-export.Evidence
pnpm test src/state/openclaw-state-db-task-identifiers.test.ts --maxWorkers=1.git diff --check, commit formatting guard, and independent autoreview through P3 passed; no actionable findings or hostile changes identified.0c6f36fa923: all 45 jobs terminal, no failures, andopenclaw/ci-gategreen. Native preparation passed. ClawSweeper found no code or security findings and identified the identical repair already on main via fix(ui): avoid repeated waits in the people picker #153988 (1c2bdf3e265). The entire affected file was independently compared byte-for-byte; this duplicate does not need another merge.Contributor credit
Worked on by @VACInc.
Work sessions