Repository navigation
test(core,ui,plugins): remove low-value tests (batch d619) - #184769
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review blockedAutomated review did not run, so no review verdict was produced. Reason: The input-safety check rejected material in this revision. No detected value, path, or scanner output is reproduced here. Automatic review is on hold, including after source changes. Request a fresh re-review after resolving the failure; maintainers can also release the hold through an intentional scanner-policy update. Next step: If this is a genuine credential, remove and rotate it. If it is an intentional test fixture, a maintainer must review and qualify it. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Review disposition for this exact head: all eight reported concerns were checked against current source and existing sibling coverage; none requires a code change.
Local formatting/lint/diff checks passed; behavioral validation remains with hosted CI under the assigned CI-only budget. |
4aa722c to
574a6d2
Compare
Keep real callback-to-processing-frame failure propagation and expired-ack delivery. Remove the duplicated hand-wired queue replay: telegram-ingress-drain.test.ts retains 'dead-letters a $name and releases the next same-chat update' and 'preserves retry for a late deferred failure: %s'. Reuse the fail-closed keyed-store fixture for concurrent worker owners. Keep immediate/deferred offset assertions; update-offset-store.test.ts owns namespace/account storage behavior. Localize cooldown fixture state, remove obsolete module-reset setup and duplicate cleanup, and compact approval/timer fixtures without dropping their distinct assertions. CI-only validation: plain oxlint, oxfmt, and git diff --check passed. No tests or coverage run. Shard baseline 592 lines; final 473 (-20.1%).
Share export invalidation setup across session, connection, instance and presentation cases; retain all four ownership boundaries. Compact restart queue fixtures and share the visible/persisted queue expectation without removing custody-state or command-ordering proof.
Share the hide/show lifecycle between committed-draft flushing and timer suspension. Keep live retained drafts asserted at the state boundary instead of spying on the internal handler; use createTestChatPane's existing disconnect cleanup. Consolidate work-context alias cases while retaining owner resolution before and after publication. Keep startup admission, persisted outbox custody, and GitHub publication authority fixtures: no equivalent sibling covers those boundaries.
Keep qualified global alias regressions from 0f3e17e. Common work-context projection, file lifecycle and subscription behavior remain covered by assistant-panel.test.ts: prepares current route and pane context when Home opens and the visible work changes. Remove direct custody replays covered by chat-pending-inputs.test.ts: transfers accepted %s input to server custody without duplicating display, and chat-send.test.ts: reconciles a duplicate ACK into its already loaded collected transcript row. All pending states share acceptedRunIds removal; the latter integration starts with a persisted queue and consumes its receipt. CI-only validation: plain oxlint, oxfmt and git diff --check passed. No tests or coverage executed. Shard total: 606 to 477 lines.
Keep all remaining cases and authority, persistence, lifecycle and notification assertions. Remove startup logger call-shape checks while retaining failed-commit state and future dispatch checks. Trim account admission to its driving owner.accountId input; resolveCronRunAdmissionSource short-circuits before the redundant scheduledToolPolicy fields. Use canonical mutation inputs and remove unused schedule fixture fields, spies and wrappers. Shard total: 635 to 507 lines (20.2% reduction). CI-only: plain oxlint, oxfmt and git diff --check pass; no tests or coverage run.
Consolidate targeted reload assertions into the bounded installed-owner batch case, and preserve consent whitespace in the primary round-trip fixture. Reuse validation and wire-record assertion helpers without dropping protocol edge cases. Remove duplicate native source checks covered by GatewayNodeSessionTests: node connections use the node protocol floor, and GatewayChannelConnectTests: connect advertises compatible protocol range. Retain Watch, Android, wizard, and generated Swift guards. CI-only campaign: local oxlint, oxfmt, and diff checks passed; tests and coverage deferred to hosted CI. Shard LOC 557 to 513 (7.9%); retain distinct public protocol boundaries rather than force the 20% target.
Use the existing minimal update-run record builder instead of a full unrelated operational record. Keep optional readiness projection and snapshot capacity evidence assertions through all four wire validators. The ledger persistence/reporting and capture-receipts suites remain the owners of operational record behavior. Keep one representative per literal, regex, and closed-object rejection path. Keep the transcript list maximum and empty request proof in schema/transcripts.test.ts: validates additive read inputs and rejects unrelated keys. Preserve separate required-field, type, minimum, maximum, uniqueness, consent, and trust boundaries. Use TypeBox guards for canonical string-literal unions instead of a hand-written schema parser; existing oneOf constraints are object requirements, not named literal unions. Reuse the copies helper for legacy utterance count bounds. CI-only: no tests or builds run. Oxlint, oxfmt, and diff checks passed. Shard base-to-final LOC: 557 to 445 (20.1% reduction). Additional commit; previous work preserved.
Consolidate first-run receipt security cases into first-run.test.ts and reuse its authenticated context and storage fixture. Preserve every redirect, receipt ownership, tampering, credential redaction, and unavailable-storage assertion. Both files use the same UI unit project glob. CI-only: oxlint, oxfmt and git diff --check pass; runtime tests deferred to hosted CI. Shard test LOC 538 -> 502 (-6.7%); all 22 expanded cases retained. Remaining RPC and browser cases protect distinct settlement and focus-ordering paths.
Reuse the existing Gateway socket fixture and consolidate receipt mutation setup while retaining all security checks. Keep one verification reply representative; the deadline case still checks the omitted target and the utility reply checks successful settlement. Remove the agent-picker replay covered by agent-select-opening.browser.test.ts (selected focus, navigation and selection) and menu-navigation.browser.test.ts (queued End/Enter). Preserve provider-specific opening-animation focus and scroll proof. Keep trailing-slash route representatives for both base-path branches. Shard baseline 538 test lines -> 430 (-20.1%). CI-only: no test runs; plain oxlint, oxfmt and diff checks pass.
Remove eight unreferenced config-suite fixture helpers and their unused imports. Repository-wide reference inspection found no consumers of the removed exports; retain all seven activation and publication-recovery cases and every assertion. Share the identical schema fixture in the activation refresh case. Reduce shard test/support lines from 472 to 374 (20.8%). Plain oxlint, oxfmt, and git diff --check pass. Tests and coverage intentionally deferred to hosted CI under campaign CI-only mode.
Share picker fixtures, input selection, and exact text assertions across this shard. Exercise both wrapped and multiline previews through the same expansion and recollapse table, retaining both cases and all terminal-safety assertions.
Keep cancellation at the existing returns-to-chat PTY picker test, and keep finalized delayed-prompt ordering in chat-log.test.ts. Retain streaming pruning and selection-reset cases here. Identity decoding remains covered by the prefers-persisted-identity event-handler test; the ChatLog case proves adoption directly. Consolidate BTW RTL and dismiss-hint assertions into the sanitization cases, share terminal attack fixtures, and retain query-cache replay in the clear-and-replace case.
Share paid/free response-bound and cancellation setup while preserving transport-specific assertions. Consolidate keyless search into the handshake case and stateless session checks into the defaults case. SSE, multiline, JSON-batch and structured-content selection remain covered by parallel-mcp-envelope.test.ts (selects cases and selected initialization response). Rejected FTP endpoint coverage remains in the credential-redaction table.
Reuse the stats child fixture for custody checks and share CLI setup. Keep all distinct deadline, sanitization, error, and lifecycle assertions. Remove signed-limit replay covered by index.test.ts: normalizes signed decimal CLI limits through the shared parser. Delete receipts remain covered by index.test.ts: memory_forget reports authoritative delete receipts. The retained stale-query case also covers list's direct query delegation. CI-only: oxfmt, plain oxlint, and diff checks passed. No tests or coverage run. Shard drops 680 to 637 lines (6.3%); remaining distinct boundaries prevent the requested 20% cut.
Retain the cold-start deadline regression at its real embedding adapter owner, including real provider discovery and both expiry branches. Hook plumbing and timeout behavior remain in index.test.ts: runs auto-recall through the registered before_prompt_build hook; shares only embedding timeout cooldown across recall paths. Combine stats CLI success with child custody proof, and combine concurrent table initialization with close-drain proof. Test the shared stale-table admission guard through deletion; search, list, query and store use that same useTable owner. Keep native delete rejection and recovery. Consolidate sanitization cases without dropping distinct guards. Group sender stripping remains covered by chronological and reply envelopes; the composite metadata fixture absorbs the basic JSON envelope case; Signal Hill retains the bracketed user-prose guard. Remove duplicated internal call-shape assertions. CI-only static checks: oxfmt, plain oxlint and git diff --check passed. No tests or coverage run. Original shard 680 lines to 544, a 20 percent reduction. No production or helper edits.
Share notice fixtures and sandbox diagnostic assertions while retaining all 33 expanded cases. Keep reset/delivery races, undo write/refusal behavior, and each tool-policy scope; no redundant owner layer could be safely removed.
Remove the fake live-skill projection: every undo fixture starts with release live, and repeat undo is owned by recorded undo rows. Keep only the archived version the fixture needs. The real worker committed-reset test retains the removed initial-reset row's generation guard; replacement, deletion, and reset-during-lookup cases remain.
Share the panel lifecycle fixture by moving readiness cases into the handoff suite. Preserve timeout, sibling-exit, retry-owner, diagnostic disposal, and staged-input assertions. Native path quoting remains covered by the apostrophe/space and escaped-metacharacter rows; unsupported WSL insertion remains covered by the drive-path row. Remove only their plain-native and UNC-shaped same-branch replays. CI-only validation: plain oxlint, oxfmt, and git diff --check passed. No tests or coverage were run. Shard LOC: 650 -> 519; expanded cases: 28 -> 26.
Consolidate catalog destination checks, compact usage fixtures, and remove a duplicate archive pending variant. Keep archive incarnation, permission, and request ownership assertions. Refresh deadline and request pacing are retained in event-refresh-coordinator.test.ts (simultaneous invalidations and backoff cases); swarm integration retains canonical revision, total refresh count, phase, log, and creation-only attribution proof.
340e5dd to
fc69ec5
Compare
|
The only remaining failing check on head
The batch changes neither this test nor the reply-turn/session-controller implementation it exercises. A fresh main fetch at The aggregate |
…184769) * test(telegram): consolidate o0458 fixtures and callback proof Keep real callback-to-processing-frame failure propagation and expired-ack delivery. Remove the duplicated hand-wired queue replay: telegram-ingress-drain.test.ts retains 'dead-letters a $name and releases the next same-chat update' and 'preserves retry for a late deferred failure: %s'. Reuse the fail-closed keyed-store fixture for concurrent worker owners. Keep immediate/deferred offset assertions; update-offset-store.test.ts owns namespace/account storage behavior. Localize cooldown fixture state, remove obsolete module-reset setup and duplicate cleanup, and compact approval/timer fixtures without dropping their distinct assertions. CI-only validation: plain oxlint, oxfmt, and git diff --check passed. No tests or coverage run. Shard baseline 592 lines; final 473 (-20.1%). * test(ui): deslop o0459 tests Share export invalidation setup across session, connection, instance and presentation cases; retain all four ownership boundaries. Compact restart queue fixtures and share the visible/persisted queue expectation without removing custody-state or command-ordering proof. * test(ui): consolidate o0459 lifecycle proof Share the hide/show lifecycle between committed-draft flushing and timer suspension. Keep live retained drafts asserted at the state boundary instead of spying on the internal handler; use createTestChatPane's existing disconnect cleanup. Consolidate work-context alias cases while retaining owner resolution before and after publication. Keep startup admission, persisted outbox custody, and GitHub publication authority fixtures: no equivalent sibling covers those boundaries. * test(ui): remove redundant o0459 owner replays Keep qualified global alias regressions from 1ae5ba2. Common work-context projection, file lifecycle and subscription behavior remain covered by assistant-panel.test.ts: prepares current route and pane context when Home opens and the visible work changes. Remove direct custody replays covered by chat-pending-inputs.test.ts: transfers accepted %s input to server custody without duplicating display, and chat-send.test.ts: reconciles a duplicate ACK into its already loaded collected transcript row. All pending states share acceptedRunIds removal; the latter integration starts with a persisted queue and consumes its receipt. CI-only validation: plain oxlint, oxfmt and git diff --check passed. No tests or coverage executed. Shard total: 606 to 477 lines. * test(ui): deslop o0462 tests Consolidate external-window safety variants without dropping cases, share speech completion setup, and flatten redundant suite wrappers. Use fake timers for clipboard focus restoration. Retain distinct URL/redaction security checks, speech cancellation and ownership, system-info authority and subscriber lifecycle, clipboard fallback/focus, and link-preview cache retirement contracts. CI-only campaign: oxfmt, plain oxlint and diff checks pass; runtime proof deferred to hosted CI. * test(tlon): deslop o0463 tests Share SSE stream setup, retain distinct framing and lifecycle cases, and consolidate filename fixtures. The stream admission failure now proves both asynchronous rejection without ACK and guard cleanup. Remove the redundant retained-clone scry status case: fetch clone release and closes unread scry failure bodies retain its production branches. Keep malformed JSON clone cleanup. Drop redundant FTP input and cooldown log wording assertions. CI-only: oxfmt, plain oxlint, and diff checks pass. No tests or coverage executed. Test LOC 715 to 640; below the 20 percent target to preserve distinct transport, cursor, authority, and bounded-response contracts. * test(tlon): consolidate o0463 transport proof Retain poke body bounds in the HTTP cookie-redaction cases, including the existing size, content, error-type, and credential assertions. Use one streamed reflected response instead of a separate poke fixture. Remove unused assertion scaffolding and nesting, keep explicit ACK cursor checks, and settle the slow admission fixture directly after its simulated 90-second wait. Preserve upload bytes, names, type, cap, timeout, and authority assertions. CI-only static gates: oxfmt, plain oxlint, and git diff --check pass; no tests or coverage run. Original shard LOC 715 to 571 (20.1 percent reduction). * test(wizard): deslop o0461 tests Consolidate finalize mock resets using Vitest's original-implementation reset semantics, preserving clear-only mocks and fresh process handles. Share navigation result capture and assert the complete consent prompt sequence. Keep all distinct security, migration, and navigation cases; this tight shard does not reach the requested 20% line reduction. * test(wizard): consolidate o0461 fixture and replay layers Reuse owner types and the existing OpenClaw state fixture; remove unused restart-description payloads and duplicated navigation setup. The replay table retains replacement and forward acceptance, remembered state, output ordering, sensitive answers, and irreversible boundaries. The occupied-target freshness test now covers the wizard-config rejection, while the first-launch consent test proves both reread preservation and freshness. Non-wizard snapshot config remains covered by setup.migration-snapshot.test.ts (preserves persisted migration fingerprints across filesystem traversal changes). CI-only: oxlint, formatting, and diff checks passed; no test or coverage runs. Original shard: 680 lines; final: 544 (-20%). * test(slack): deslop o0464 tests Remove Home event replays from assistant.test.ts; home.test.ts retains command rendering, Agent View internal_error detection, and mismatch rejection. Consolidate reaction scope rejection cases and join/interaction fixtures while preserving authorization, workspace isolation, and lifecycle assertions. * test(slack): consolidate o0464 fixtures and assertions Table the distinct assistant context fallback paths and compact common-event fixtures. Retain canonical prompt delivery in the assistant suite; setup-surface.test.ts 'prints the manifest as plain JSON when Slack is not configured' independently protects the exact default prompt inventory. Remove redundant mock-access scaffolding while preserving interaction destination identity and lifecycle assertions. * test(hooks): deslop o0467 tests Consolidate daily/idle content assertions into the overlapping-capture test, retaining file/hash/provenance checks. The transcript retained-tail test now also covers filtering before slicing (openclaw#2681); exact transcript assertions retain escaping and mirror behavior. Keep distinct capture budget/repair, slug safety, and admission cases. * test(cron): deslop o0465 tests Share parent-pause setup while retaining both command and agent paths. Inline single-use execution helpers and reuse existing job/input builders. Keep all exec-policy, admission, retry, and commit-failure assertions. The missing-expression parser contract remains in schedule.test.ts (throws a clear error when cron expr is missing at runtime); schedule-error-isolation retains the maintenance error catch and disabled-job skip assertions. Drop only internal logging detail assertions. CI-only validation: plain oxlint, oxfmt and diff-check pass. No tests or coverage run. Reduction stops below 20% to retain distinct lifecycle and authority behavior. Existing timer suites import createTimerExecutionState, absent from timer.test-support.ts at the base commit. * test(cron): finish o0465 structural reduction Keep all remaining cases and authority, persistence, lifecycle and notification assertions. Remove startup logger call-shape checks while retaining failed-commit state and future dispatch checks. Trim account admission to its driving owner.accountId input; resolveCronRunAdmissionSource short-circuits before the redundant scheduledToolPolicy fields. Use canonical mutation inputs and remove unused schedule fixture fields, spies and wrappers. Shard total: 635 to 507 lines (20.2% reduction). CI-only: plain oxlint, oxfmt and git diff --check pass; no tests or coverage run. * test(protocol): deslop o0466 tests Consolidate targeted reload assertions into the bounded installed-owner batch case, and preserve consent whitespace in the primary round-trip fixture. Reuse validation and wire-record assertion helpers without dropping protocol edge cases. Remove duplicate native source checks covered by GatewayNodeSessionTests: node connections use the node protocol floor, and GatewayChannelConnectTests: connect advertises compatible protocol range. Retain Watch, Android, wizard, and generated Swift guards. CI-only campaign: local oxlint, oxfmt, and diff checks passed; tests and coverage deferred to hosted CI. Shard LOC 557 to 513 (7.9%); retain distinct public protocol boundaries rather than force the 20% target. * test(protocol): shrink o0466 fixtures and duplicate variants Use the existing minimal update-run record builder instead of a full unrelated operational record. Keep optional readiness projection and snapshot capacity evidence assertions through all four wire validators. The ledger persistence/reporting and capture-receipts suites remain the owners of operational record behavior. Keep one representative per literal, regex, and closed-object rejection path. Keep the transcript list maximum and empty request proof in schema/transcripts.test.ts: validates additive read inputs and rejects unrelated keys. Preserve separate required-field, type, minimum, maximum, uniqueness, consent, and trust boundaries. Use TypeBox guards for canonical string-literal unions instead of a hand-written schema parser; existing oneOf constraints are object requirements, not named literal unions. Reuse the copies helper for legacy utterance count bounds. CI-only: no tests or builds run. Oxlint, oxfmt, and diff checks passed. Shard base-to-final LOC: 557 to 445 (20.1% reduction). Additional commit; previous work preserved. * test(model-setup): deslop o0468 tests Consolidate first-run receipt security cases into first-run.test.ts and reuse its authenticated context and storage fixture. Preserve every redirect, receipt ownership, tampering, credential redaction, and unavailable-storage assertion. Both files use the same UI unit project glob. CI-only: oxlint, oxfmt and git diff --check pass; runtime tests deferred to hosted CI. Shard test LOC 538 -> 502 (-6.7%); all 22 expanded cases retained. Remaining RPC and browser cases protect distinct settlement and focus-ordering paths. * test(model-setup): finish o0468 structural reduction Reuse the existing Gateway socket fixture and consolidate receipt mutation setup while retaining all security checks. Keep one verification reply representative; the deadline case still checks the omitted target and the utility reply checks successful settlement. Remove the agent-picker replay covered by agent-select-opening.browser.test.ts (selected focus, navigation and selection) and menu-navigation.browser.test.ts (queued End/Enter). Preserve provider-specific opening-animation focus and scroll proof. Keep trailing-slash route representatives for both base-path branches. Shard baseline 538 test lines -> 430 (-20.1%). CI-only: no test runs; plain oxlint, oxfmt and diff checks pass. * test(config): deslop o0472 tests Remove eight unreferenced config-suite fixture helpers and their unused imports. Repository-wide reference inspection found no consumers of the removed exports; retain all seven activation and publication-recovery cases and every assertion. Share the identical schema fixture in the activation refresh case. Reduce shard test/support lines from 472 to 374 (20.8%). Plain oxlint, oxfmt, and git diff --check pass. Tests and coverage intentionally deferred to hosted CI under campaign CI-only mode. * test(tui): deslop o0470 tests Share picker fixtures, input selection, and exact text assertions across this shard. Exercise both wrapped and multiline previews through the same expansion and recollapse table, retaining both cases and all terminal-safety assertions. * test(tui): consolidate o0470 duplicate boundary coverage Keep cancellation at the existing returns-to-chat PTY picker test, and keep finalized delayed-prompt ordering in chat-log.test.ts. Retain streaming pruning and selection-reset cases here. Identity decoding remains covered by the prefers-persisted-identity event-handler test; the ChatLog case proves adoption directly. Consolidate BTW RTL and dismiss-hint assertions into the sanitization cases, share terminal attack fixtures, and retain query-cache replay in the clear-and-replace case. * test(parallel): deslop o0473 tests Share paid/free response-bound and cancellation setup while preserving transport-specific assertions. Consolidate keyless search into the handshake case and stateless session checks into the defaults case. SSE, multiline, JSON-batch and structured-content selection remain covered by parallel-mcp-envelope.test.ts (selects cases and selected initialization response). Rejected FTP endpoint coverage remains in the credential-redaction table. * test(memory-lancedb): deslop o0469 tests Reuse the stats child fixture for custody checks and share CLI setup. Keep all distinct deadline, sanitization, error, and lifecycle assertions. Remove signed-limit replay covered by index.test.ts: normalizes signed decimal CLI limits through the shared parser. Delete receipts remain covered by index.test.ts: memory_forget reports authoritative delete receipts. The retained stale-query case also covers list's direct query delegation. CI-only: oxfmt, plain oxlint, and diff checks passed. No tests or coverage run. Shard drops 680 to 637 lines (6.3%); remaining distinct boundaries prevent the requested 20% cut. * test(memory-lancedb): consolidate o0469 test layers Retain the cold-start deadline regression at its real embedding adapter owner, including real provider discovery and both expiry branches. Hook plumbing and timeout behavior remain in index.test.ts: runs auto-recall through the registered before_prompt_build hook; shares only embedding timeout cooldown across recall paths. Combine stats CLI success with child custody proof, and combine concurrent table initialization with close-drain proof. Test the shared stale-table admission guard through deletion; search, list, query and store use that same useTable owner. Keep native delete rejection and recovery. Consolidate sanitization cases without dropping distinct guards. Group sender stripping remains covered by chronological and reply envelopes; the composite metadata fixture absorbs the basic JSON envelope case; Signal Hill retains the bracketed user-prose guard. Remove duplicated internal call-shape assertions. CI-only static checks: oxfmt, plain oxlint and git diff --check passed. No tests or coverage run. Original shard 680 lines to 544, a 20 percent reduction. No production or helper edits. * test(skills): deslop o0471 tests Share notice fixtures and sandbox diagnostic assertions while retaining all 33 expanded cases. Keep reset/delivery races, undo write/refusal behavior, and each tool-policy scope; no redundant owner layer could be safely removed. * test(skills): remove redundant o0471 fixture behavior Remove the fake live-skill projection: every undo fixture starts with release live, and repeat undo is owned by recorded undo rows. Keep only the archived version the fixture needs. The real worker committed-reset test retains the removed initial-reset row's generation guard; replacement, deletion, and reset-during-lookup cases remain. * test(terminal): deslop o0477 tests Share the panel lifecycle fixture by moving readiness cases into the handoff suite. Preserve timeout, sibling-exit, retry-owner, diagnostic disposal, and staged-input assertions. Native path quoting remains covered by the apostrophe/space and escaped-metacharacter rows; unsupported WSL insertion remains covered by the drive-path row. Remove only their plain-native and UNC-shaped same-branch replays. CI-only validation: plain oxlint, oxfmt, and git diff --check passed. No tests or coverage were run. Shard LOC: 650 -> 519; expanded cases: 28 -> 26. * test(sessions): deslop o0474 tests Consolidate catalog destination checks, compact usage fixtures, and remove a duplicate archive pending variant. Keep archive incarnation, permission, and request ownership assertions. Refresh deadline and request pacing are retained in event-refresh-coordinator.test.ts (simultaneous invalidations and backoff cases); swarm integration retains canonical revision, total refresh count, phase, log, and creation-only attribution proof. * test: fix d619 replay imports and fixture types * test(slack): preserve tuple bounds in pin fixture * test: preserve mock exports and hoisted fixture initialization * test(hooks): keep reset capture callbacks promise-valued * test(tlon): prune repaired mock export baseline entries
What Problem This Solves
Consolidate redundant test fixtures, assertion scaffolding, and duplicate lower-level replays while retaining distinct boundary, lifecycle, authorization, and persistence coverage. This is batch d619, rebased onto main at 3d7f8fb. No product behavior is changed.
28 of 30 supplied commits applied (some partially). Skipped 9bbe6b01dafd and 4edbb38df0b2 because their only changes overlap newer main coverage and ownership contracts. No production source changes: production +0/-0 LOC; tests and test support +1884/-3303 LOC (net -1419). Two test files are consolidated into retained suites; one shared test-support file is added.
Evidence
Replay decisions
Per-shard accounting
LOC includes test support. Declarations are static it/test declarations (parameterized rows are not expanded); these are not executed test counts. Only files actually changed by this PR are listed.
extensions/telegram/src/bot-media-timers.test-support.tsextensions/telegram/src/bot.callback-retry.test.tsextensions/telegram/src/telegram-ingress-worker.context.test.tsextensions/telegram/src/thread-bindings.test-support.tsui/src/pages/chat/chat-export.test.tsui/src/pages/chat/chat-pane-suspension.test.tsui/src/pages/chat/chat-restart-input.test.tsui/src/pages/chat/chat-work-context.test.tssrc/wizard/navigation-prompter.test.tssrc/wizard/setup.finalize.fixtures.test-support.tsui/src/lib/link-preview.test.tsextensions/tlon/src/urbit/channel-ops.transport.test.tsextensions/tlon/src/urbit/fetch.test.tsextensions/tlon/src/urbit/sse-client.test.tsextensions/tlon/src/urbit/upload.test.tsextensions/slack/src/monitor/events/interactions.lifecycle.test.tsextensions/slack/src/monitor/events/reactions.test.tssrc/cron/service/jobs.schedule-error-isolation.test.tssrc/cron/service/ops-lifecycle.start-arm.test.tssrc/cron/service/ops.mutation-completion.test.tssrc/cron/service/parent-pause.service.test.tspackages/gateway-protocol/src/gateway-suspend.test.tspackages/gateway-protocol/src/native-protocol-levels.guard.test.tspackages/gateway-protocol/src/plugins-validators.test.tspackages/gateway-protocol/src/transcripts.test.tspackages/gateway-protocol/src/update-runs-validators.test.tssrc/hooks/bundled/session-memory/handler-admission.test.tssrc/hooks/bundled/session-memory/handler-auto-reset.test.tssrc/hooks/bundled/session-memory/transcript.test.tsui/src/pages/model-setup/first-run-activation-receipt.test.tsui/src/pages/model-setup/first-run.test.tsui/src/pages/model-setup/provider-picker.browser.test.tsui/src/pages/model-setup/rpc.test.tsextensions/memory-lancedb/auto-recall.deadline.test.tsextensions/memory-lancedb/lancedb-store.delete.test.tsextensions/memory-lancedb/memory-capture-sanitization.test.tsextensions/memory-lancedb/memory-cli.test.tsextensions/memory-lancedb/memory-stats.test.tssrc/tui/components/btw-inline-message.test.tssrc/tui/components/chat-log-run-state.test.tssrc/tui/components/filterable-select-list.test.tssrc/tui/components/render.test-support.tssrc/tui/components/searchable-select-list.test.tssrc/tui/components/tool-execution.test.tssrc/skills/workshop/review-outcome.test.tssrc/skills/workshop/tool-policy-diagnostic.test.tsui/src/lib/config/runtime-config-activation.test.tsextensions/parallel/src/parallel-web-search-provider.test.tsui/src/lib/sessions/swarm-activity.integration.test.tsui/src/components/terminal/terminal-file-upload.test.tsui/src/components/terminal/terminal-panel-handoff.test.tsui/src/components/terminal/terminal-panel-lifecycle.test-support.tsui/src/components/terminal/terminal-panel-readiness.test.tsTotal changed test/support LOC: 8154 → 6735; declarations 256 → 215. Source reports' common coverage status: tests and coverage were not run, per CI-only instructions.
CI correction
The initial run found three replay defects: a missing retained
expectimport in gateway-suspend, a stored cron fixture annotated with the publicCronJobtype, and an untyped Promise rejection reason in the cold-start fixture. Restored the import, usedCronStoredJob, and supplied an Error rejection. No assertions or timeouts were weakened. Changed-file formatting, plain lint, and diff checks pass; the narrow independent review of these three corrections found no actionable P0–P2 issue. The eight initial review concerns were rejected with source-backed sibling coverage and fixture-cleanup evidence.The next CI run identified TS2532 in the Slack pin fixture after mapping its source tuple into an array. The fixture now reads the identical event directly from the fixed source tuple, retaining bounds proof. Plain lint/format/diff checks and a narrow independent review passed; no test assertion changed.
The third run exposed a Vitest hoisted-export syntax failure in Telegram and missing real-export preservation in two Tlon mocks. The former now uses the original separate export; the two mocks spread their real modules and override only the intended function. Narrow independent review and local lightweight gates passed. Untouched UI tests (chat-details-session and event-log browser selection) also failed; neither failed in the latest completed scheduled-main run. Rebased onto current main at cd3bcc0 without conflicts to obtain fresh-head evidence.
git range-diffconfirms all 31 commits are patch-identical across that rebase. No unrelated UI test assertions were changed.On the rebased run, all three UI shards and UI E2E passed, so the two untouched UI failures did not recur. Core typed lint found the auto-reset capture map could return void; its callback is async again and awaits the hook, preserving concurrent invocation and a Promise-valued aggregate. Plain lint/format/diff checks and narrow independent review passed for this correction. Fresh-head CI remains the final gate.
The following CI run required deleting the two obsolete Tlon mock-export baseline entries after their mocks began preserving real exports. Removed exactly those entries, retained the separate SDK media-runtime entry, and added no exceptions. Narrow review passed. The test/support split remains +1884/-3303 LOC (net -1419); the baseline is a further -2 lines, for -1421 total net lines.
The next run reported failures in two untouched main-owned tests: a reply-turn fixture type error and the chat-details renderer case. Both files changed on current main since the prior base (including a new wait in the renderer test). Rebased onto 3d7f8fb without conflicts; range-diff confirms all 33 commits remain patch-identical. No batch helper is imported by the failing chat-details test. Fresh-head CI will determine whether these main changes resolve the failures; no inherited-failure exception is claimed without matching scheduled-main proof.