Skip to content

test: consolidate overlapping coverage (tranche 4) - #198793

Closed
vincentkoc wants to merge 14 commits into
test/consolidate-gateway-coverage-tranche-3-20261114from
test/consolidate-gateway-coverage-tranche-4-20261114
Closed

vincentkoc wants to merge 14 commits into
test/consolidate-gateway-coverage-tranche-3-20261114from
test/consolidate-gateway-coverage-tranche-4-20261114

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Related: #198737
Stacked on: #198789.

What Problem This Solves

Continues the approved whole-suite test consolidation with named retained owner coverage and current-prefix inventory cleanup. This is the original ranks 501–650 scope; parent repair propagation adds no new deletion wave.

User Impact

Current head "bacc0fccc4c531b138b227d1ad15d7031b1904af", against repaired parent "bb0c56aaac1f61804ae220e1c4e9575f31421a95", removes 65,967 net repository lines: 66,037 deleted / 70 added across 79 paths. Tests remove 65,839 net lines; inventory changes remove 128 net lines; the existing ledger is net-neutral (+69/-69). Product production delta is 0.

Expansion remains frozen at published cutoff 03d2d8b. The 1M goal remains unmet.

Why This Change Was Made

The approved method uses bounded whole-file owner/keeper review, not exhaustive per-case equivalence. The existing test/scripts/coverage-consolidation/largest-first.tsv and deletion manifests record the decisions. All strict whole-deletion keeper references resolve at this head.

The two main-coverage conflict tests, src/gateway/session-row-projection.archived.test.ts and test/scripts/check-deadcode-exports.test.ts, retain 2,007 test lines byte-identical to the repaired parent. Ranks 616 and 635 record retention. The obsolete Parallels branch only added a deleted smoke target; surviving model/default/timeout behavior is preserved.

The repaired parent’s manifest-registry, cold-history benchmark and archived-worker files are preserved exactly, along with rank 322 retention, the required max-lines allowance and native-loader targets. Parent fixture, Android, lint and baseline repairs remain included. No production code is changed.

The inherited Kysely fixture stripe correction changes one existing argument (1/5 to 2/5) after the required infra fixture altered root ordering. Assertions are unchanged; per-PR net accounting is unchanged.

Evidence

  • Inherited ancestor repair bb0c56aa fixes the prior PR4 discovery failure in test/vitest-ui-package-config.test.ts: replace only the deleted geometry-file sentinel with retained native Chromium chat-tool-cards.browser.test.tsx. Existing assertions stay unchanged; this propagation adds no test deletion or production change. Signature, syntax, formatting, membership and diff checks passed; local dependency-backed tests were not run in the code-only checkout. Fresh exact-head CI is pending, not a pass.
  • Current signed head bacc0fccc4c531b138b227d1ad15d7031b1904af carries the verified parent repairs: sorted Anthropic denial expectation, truthful secondary QA metadata, and where applicable the exact 987-line PostgreSQL credential test with rank 630 retained. Earlier missing-target/order failures describe superseded heads. Current-head automatic CI exists; pending and skipped checks are not passes, and no prior run is claimed to validate this head.
  • Prior-head PostgreSQL conformance failed before any tests: its explicit target src/infra/client-credential-update.test.ts was absent. Repair 25fcbe83 restores that 987-line test byte-for-byte from the parent and changes rank 630 to retain/net zero. The credential cutover, rollback and Doctor backup contracts remain covered; no selector, assertion or production code changed. New-head automatic CI is pending.
  • Signed native ancestry/repair commits, exact head/base branch refs and clean managed checkout verified. Scoped diff, syntax/format, restored-byte, keeper and inventory checks passed. These are static checks, not runtime passes.
  • Explicit Windows targets exist; no malformed array-first pageWatch calls or absent-source rows remain in the three repaired baseline owners.
  • No local dependency-backed tests or installs were performed. No new full manual CI run was dispatched.
  • This is now READY under the authorized one-at-a-time rotation. Ready-triggered current-head CI is being admitted; pending or skipped jobs and historical CI are not passes. Runner queues and demonstrated inherited main failures do not block the rotation, while a newly observed untriaged test failure does.
  • The earlier native-control four-case failure was independently reproduced on main; its raw red gate is not represented as green. No whole-main CI claim is made.

Ordered Validation Cutoff

Queue position 5/10, READY. Vincent owns review and merge; no merge is authorized. This transition starts current-head validation without waiting for unrelated queued runners. All ten campaign PRs are now READY under the serial rotation; current-head checks remain required evidence.

  • Current PR net: 65,967 lines (+70/-66,037, 79 paths).
  • Manifest: test/scripts/coverage-consolidation/largest-first.tsv and existing deletion manifests in that directory.
  • Keeper policy: named retained owner/area coverage; no exhaustive per-case transfer claim.
  • Inventory/baseline owners: config/ci-test-timings.json, config/test-mock-exports-baseline.txt, package.json, scripts/lib/ci-policy-test-watch.mts, scripts/lib/ci-proof-test-inventory.mts, scripts/lib/ci-ui-e2e-owner-inventory.mts, scripts/lib/ci-windows-test-plan.mts, scripts/lib/vitest-shard-metadata.mts, scripts/test-projects.test-support.mts, test/vitest/vitest.database-worker-core-paths.mjs, test/vitest/vitest.extension-database-workers-paths.mjs, test/vitest/vitest.gateway-server-paths.mjs.

@vincentkoc vincentkoc self-assigned this Nov 14, 2026
@clawsweeper

clawsweeper Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added channel: mattermost Channel integration: mattermost app: web-ui App: web-ui gateway Gateway runtime scripts Repository scripts agents Agent runtime and tooling extensions: codex size: XL extensions: copilot channel: discord Channel integration: discord channel: imessage Channel integration: imessage channel: matrix Channel integration: matrix channel: slack Channel integration: slack extensions: memory-core Extension: memory-core commands Command implementations plugin: workboard labels Nov 14, 2026
@clawsweeper

clawsweeper Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

ClawSweeper proposes closing this pull request because it changes 66,107 lines (70 added, 66,037 removed) across 79 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 main containing only the intended change, or split it into focused pull requests. A maintainer can apply size: accepted-large to exempt a deliberately large change.

* commit '62d64ccbf0b30e82482f7b91fde3192d959f707d':
  test: select the fixture state directory lint stripe
@vincentkoc
vincentkoc marked this pull request as ready for review November 14, 2026 13:29
* commit 'e4bf6fc9517844df1ca651eb19373f007c961827':
  test: align CLI expectations and QA coverage metadata
* commit 'bb0c56aaac1f61804ae220e1c4e9575f31421a95':
  test: use retained Chromium discovery sentinel
@vincentkoc

vincentkoc commented Nov 14, 2026 •

Copy link
Copy Markdown
Member Author

Superseded by two standalone DRAFT replacements from frozen main 1b947c9a9f61c260219ddf0a6f281854600b7bdd:

Combined: 59,989 net repository lines removed. Each replacement is below the 45,000 changed-line cap and has its own recut-198793-{a,b}.tsv keeper manifest.

All 66 original deletion candidates are accounted for: 28 in A, 32 in B, and six retained. Installed-package reload, session-lifecycle failures, Parallels npm updates, pending inputs, the isolated E2E instance and chat-pane suites remain because current fixtures or planners still require them. Retentions, selected-source drift, compact manifests and current metadata account for the difference from this PR's former 65,967-net figure.

Both replacements remain DRAFT; exact-head validation is pending. Closing this superseded PR without merging it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: web-ui App: web-ui channel: discord Channel integration: discord channel: imessage Channel integration: imessage channel: matrix Channel integration: matrix channel: mattermost Channel integration: mattermost channel: slack Channel integration: slack commands Command implementations extensions: codex extensions: copilot extensions: memory-core Extension: memory-core gateway Gateway runtime plugin: workboard scripts Repository scripts size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant