Repository navigation
test: remove redundant suites with explicit coverage keepers - #198756
vincentkoc wants to merge 29 commits into
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. |
|
ClawSweeper proposes closing this pull request because it changes 68,536 lines (5,787 added, 62,749 removed) across 408 files, above this repository's 50,000-line limit for review. Changes this large cannot be reviewed safely or scanned within limits and usually indicate a stale branch merged against an old base. Please open a fresh pull request from current |
|
Superseded by two standalone DRAFT replacements from frozen main
Combined: 55,563 net repository lines removed. Each replacement is below the 45,000 changed-line cap and has its own Per-file reconciliation accounts for the original scope. Three live-fixture targets are deliberately retained: The replacements remain DRAFT; their exact-head validation is pending. Closing this superseded PR without merging it. |
Removes overlapping test files and repeated cases while preserving named coverage in existing suites. Production LOC delta: 0.
Net deletion
Current head
c0200f2f44228de4fe05e9675725d4a901c16e32, stacked on repaired parent75bf338afc0740e270e0a161a0387ab2d1d106d9, removes 56,962 net repository lines: 62,749 deleted / 5,787 added across 408 paths. Test/support changes remove 59,541 net lines (+3,130/-62,671, 366 paths); 33 manifest files add 2,657 lines; nine existing inventory/baseline files remove 78 lines. Production delta is 0.The original published tranche checkpoint was
d7471e2a111da0b0017f91c5402554f69476ffbe. This revision preserves that deletion scope, imports repaired parent ancestry, restores the original 16-line support-guidance test, and corrects three keeper claims. It adds no new deletion wave. The requested 50–100k tranche range is met.Expansion remains stopped at published descendant
03d2d8b55adeacafeff6ac45b279832096c9f7c4(historical campaign net 511,292 against06bfea7). That is the frozen historical accounting, not a recomputed current-main total after ancestry repairs. Later local commits and partial edits remain unpublished. The 1M campaign goal remains unmet.Coverage
Exact removed-file/case to keeper mappings are in
test/scripts/coverage-consolidation/, including thedelete-*.tsvmanifests.largest-first.tsvrecords the committed rank decisions and their existing keepers; later in-progress decisions are not part of this published checkpoint. The LOC ranking is frozen at origin/main159df507ba665110e28f1f28859d60360ced6082. Retirements cover gateway, agents, plugins, app tests and redundant workflow assertions. The earlier case-level work names precise keepers. New whole-file batches use bounded file-level owner/keeper review under the approved consolidation policy; they do not claim exhaustive per-case preservation proof. Test inventories and mock baselines drop only obsolete deleted-file entries.The original
src/agents/system-prompt-support.test.tsis restored byte-for-byte (16 lines), retaining Documentation/support guidance assertions; its stale row is removed fromtest/scripts/coverage-consolidation/delete-agents-n-z.tsv.delete-gateway-methods.tsvnow identifies the surviving projects-identity keepers with area-level wording, andlargest-first.tsvcorrects the rank-40 Room outbox keeper that was later deleted at rank 304. The exact 1,202-line manifest-registry suite and 136-line cold-history benchmark are restored from main18892937f80232a5f7159092e264fb9e44ad6a10; rank 322 is retained and two obsolete cold-history deletion claims are removed. The archived worker test file also matches that main revision byte-for-byte. Remaining whole-deletion keeper references resolve.Independent review caught and restored cold-history truncation, dirty-parent pagination, atomic multiword arguments, distinct credentials, cold cache concurrency, persisted registry invalidation, From-only transcript delivery, UI geometry/transition checks, workflow artifact bindings and runner branches.
Validation
Current repair automatic CI has an Android test failure; remaining queued/running jobs are not passes. The Android third-party job completed 3,551 tests: 3,550 passed and
TalkModeManagerTest.removedSpeechInterruptionSettingDoesNotKeepInterruptingPlaybackfailed with a 5,000 msTimeoutCancellationExceptioninwithStartedTalkatTalkModeManagerTest.kt:3280. It checked out merge21af1635918cd6e6348bfd7841152d68a9a3e6f2of currentc0200f2finto parent75bf338afc0740e270e0a161a0387ab2d1d106d9. Independent source review confirms that the failing case, complete helper,GatewaySession.ktandTalkModeManager.ktare unchanged from that parent. The timeout is waiting for the real WebSocket connected callback, beforemanager.enableand the test behavior/assertions execute. Runtime cause remains unproven: source parity does not establish an executed pre-existing failure or a flaky result. No fixture, timeout, assertion or production change is authorized from this evidence. This failure is separate from the earlier JPEG fixture repair. A single-method focused native retry (run 53372) subsequently passed on exact headc0200f2f44228de4fe05e9675725d4a901c16e32, with the head and lock hash6448ef7cc009ea886e320eab8e78594202f6f9549d8fc24ea5c0200eed148891verified before and after execution. Its JUnit XML contains exactly one test, zero skipped, zero failures and zero errors:ai.openclaw.app.voice.TalkModeManagerTest.removedSpeechInterruptionSettingDoesNotKeepInterruptingPlayback, 1.316 seconds. Runtime: Temurin 21.0.12.1+1 / Gradle 9.8.2 (launcher Node 24.22.1 / pnpm 12.15.0); native command exited 0. The proof archive SHA-256 is9681eeac5f5421ce8d434889cd76e446f51ef29b918c67ee48a4d8392a29c0ce. Workflow 43603663493 provisioned the runner only; it is not the test-result evidence. The original 3,551-test CI job remains FAILED and was not rerun; this isolated pass does not validate the full suite or explain the original handshake timeout. Runtime cause remains unproven. No source change or CI-status override was made.Prior-head bundle job exposed a wrong Anthropic denial-order expectation and two QA metadata assertions. Repair
c0200f2fcorrects the existing full-argv expectation to the producer's sorted order without changing its three rows, and adds only secondary coverage metadata for the existing cloud-worker-admission scenario. The QA omission was already present on the parent; its scenario execution and assertions are unchanged. Production delta remains zero. The earlier native-control job remains raw red for the four cases independently reproduced on main. Earlier head3d7b8c398b6260583db8b3d51dcd18d4fed14636changed the existing Kysely fixture selector from core stripe 1/5 to 2/5. Copying the requiredsrc/infrafixture changed sorted roots, so thesrc/stateconsumer moved to stripe 2; both assertions are unchanged. This corrects the two actual failures in compact-small-11, which executed 237 tests: 235 passed and two failed. Syntax, formatter and diff checks passed. Earlier-head compact-small-11 passed all 10run-oxlint-kysely.test.tscases, including both previously failing striped rows. The job log checked outcc4796293dedfd7570066f6789e740e055dbe2b0, merging this head into parent75bf338afc0740e270e0a161a0387ab2d1d106d9; this is scoped runtime proof, not overall CI success. The superseded bfd run passed baseline ratchets, but also had 17 runner-admission failures that executed zero tests. The provider reported its 10,080 sandbox starts per rolling 24 hours exhausted and new-start eligibility at 12:41 UTC on November 14. A single job-specific retry was refused because the workflow remained running; no retry was dispatched. No billing/capacity changes or full manual rerun were made. The superseded bfd run was cancelled after preserving its failures; unfinished jobs count as cancelled, not passed. Those setup failures are separate from the Kysely assertions and the main-reproduced native failure described below.sessionIdwithout the required message anchor). This also removes the two introduced shadowed bindings. Independent byte comparison confirms both restored files equal main18892937.src/infra/directory-walk.tsinto the existing declaration fixture, because the copied emitter imports it. This closes both declaration/preparation test failures. The same fixture omission exists in frozen main source; no runtime-main reproduction is claimed for this separate failure.The remaining native-control failure is independently reproduced on current main, not fixed by weakening tests: exact main
18892937f80232a5f7159092e264fb9e44ad6a10, Bun1.4.4-canary.1+191755ec1, the same one-file gateway database-worker group, 14 executed cases, 10 passed and the identical four cancellation cases failed atclient-native-control.test.ts:474. Expected completion text was replaced by the verification fallback in both executions. The native receipt was independently checked against the original CI failure; this proves those four failures are pre-existing on main, not whole-main CI success. PR198739 retains the detailed privacy-safe receipt. Its raw CI gate remains red/baseline-equivalent, not green.The bde run passed the previously failing documentation-format and CI partition checks. Parent PR198752 selected CI completed successfully: 35 successful jobs and 30 skipped. Skipped jobs are not validation.
Static evidence: signed commits, exact restored-file comparisons, scoped syntax/format/diff checks and keeper-reference checks passed. Historical checkpoints parsed 51 JS/TS, 19 Swift and one Python file, then 27 JS/TS and four Swift files; ranks 821–1600 added 51 JS/TS and seven Swift parses. These are static checks, not runtime passes. Code-only managed checkouts had no local dependency-backed tests; affected commits used the documented one-command hook exception only where the installed oxlint version mismatched, after formatter/security checks. No dependencies were installed.
Historical CI at original
d7471e2and earlier campaign checkpoints does not validate this repaired head. Earlier type, mock-isolation, model-fixture ownership and MiniMax repairs remain included. The older inventory/Knip reports documented in prior revisions remain separate from these introduced failures; no aggregate main-green claim is made. Automatic PR CI is the validation route; no new full manual matrix was dispatched.Refs #198737
Translation CI baseline
Observed main proof is available at
159df507ba665110e28f1f28859d60360ced6082: main CI run ran both parity checks. Native job passed source verification and failed generated parity with exactly 2,100 missing translations across 21 locales; its final missing IDsnative.apple.6f73c7c2b31483d9,native.apple.b8bf8b21be904233, andnative.apple.a303aad9d02911cbmatch this campaign. Native checker, artifact and production-source inputs are unchanged between that main revision and this checkpoint; only excluded iOS test files differ. This is an observed pre-existing native parity failure.Control UI job passed source verification and locale parity on that main revision. The campaign's UI fallback drift is present in its older frozen base; main contains locale refresh
2e77b6be8b673742f5849e6a386829203f2a1fd2. It is not an observed current-main UI failure. The earlier main run atadb8a2bskipped native generated parity and supplied no parity proof. Latest-main strict parity remains UNKNOWN until its own comparable job completes; no full-main green claim is made.Ordered Validation Cutoff
Queue position 3/10. This is a ready validation packet after PR198752's selected CI passed. The authorized serial READY rotation continues through existing descendants; runner queues are nonblocking, while new untriaged failures pause further promotions. No merge is authorized; Vincent owns review and merge. Pending/skipped jobs are not passes.
test/scripts/coverage-consolidation/largest-first.tsv, existingdelete-*.tsvand tranche-2 JSON packets in that directory. Corrected rows are indelete-agents-n-z.tsv,delete-gateway-methods.tsv, andlargest-first.tsv.config/max-lines-baseline.txt,config/test-mock-exports-baseline.txt,config/test-timeout-race-baseline.txt,scripts/lib/ci-proof-test-inventory.mts,scripts/lib/ci-test-native-bun-qualification.json,test/vitest/vitest.database-worker-core-paths.mjs,test/vitest/vitest.gateway-server-paths.mjs,test/vitest/vitest.cli-process-paths.mjs, andtest/vitest/vitest.commands-light-paths.mjs(78 net stale lines removed; no broad runtime/inventory policy change).