Skip to content

test: consolidate overlapping coverage (tranche 5) - #198795

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

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

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Related: #198737
Stacked on: #198793.

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 651–725 scope; parent repair propagation adds no new deletion wave.

User Impact

Current head "d912e011c2fc30841aada489d233dd5e9b6e7d85", against repaired parent "bacc0fccc4c531b138b227d1ad15d7031b1904af", removes 53,162 net repository lines: 53,227 deleted / 65 added across 67 paths. Tests remove 53,073 net lines; inventory changes remove 89 net lines; the existing ledger is net-neutral (+55/-55). 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 311 strict whole-deletion keeper references (205 unique paths) resolve at this head.

The complete obsolete Workboard watch record and gateway.test classification are removed. The exported exclusion array remains present as []; surviving records and assertions remain intact. The singleton map is only reformatted.

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 d912e011c2fc30841aada489d233dd5e9b6e7d85 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.
  • 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. Current-head CI is starting; pending or skipped jobs are not passes. Runner queues and demonstrated inherited main failures do not block rotation; 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 6/10, READY. Vincent owns review and merge; no merge is authorized. All ten campaign PRs are now READY under the serial rotation; current-head checks remain required evidence.

  • Current PR net: 53,162 lines (+65/-53,227, 67 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, scripts/lib/ci-node-test-plan.mts, scripts/lib/ci-policy-test-watch.mts, scripts/lib/ci-proof-test-inventory.mts, scripts/lib/ci-ui-e2e-owner-inventory.mts, scripts/lib/vitest-build-prerequisites.mts, scripts/lib/vitest-shard-metadata.mts, scripts/test-projects.test-support.mts, test/vitest/vitest.database-worker-core-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.

@clawsweeper

clawsweeper Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

ClawSweeper proposes closing this pull request because it changes 53,292 lines (65 added, 53,227 removed) across 67 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.

@vincentkoc
vincentkoc marked this pull request as ready for review November 14, 2026 13:29
* commit '94f1a9e52ff0a73541c3555c8f690e024f204525':
  test: align CLI expectations and QA coverage metadata
  test: restore PostgreSQL client credential custody coverage
* commit 'bacc0fccc4c531b138b227d1ad15d7031b1904af':
  test: use retained Chromium discovery sentinel
@vincentkoc

vincentkoc commented Nov 14, 2026 •

Copy link
Copy Markdown
Member Author

Superseded by standalone DRAFT replacement #198943, based on frozen main 1b947c9a9f61c260219ddf0a6f281854600b7bdd.

The replacement has 44,614 changed lines (+63/-44,551), below the 45,000-line cap, and removes 44,488 net repository lines. Its test/scripts/coverage-consolidation/recut-198795.tsv manifest accounts for all 55 original deletion candidates: 46 removed files and nine retained suites, with 59 existing keepers.

The retained suites are agents-page, gateway, stale-chunk reload, Android onboarding logic, prepared workspace, link-reader panel, follow-up delivery, pending worktree slots and quiet-steering authority. They preserve newer-main inputs/assertions or exact live fixture and launcher requirements. Retaining 8,607 old source lines, selected-source drift of two lines and 65 lines of metadata/manifest differences reconcile this PR's former 53,162-net figure to 44,488.

The replacement remains DRAFT; exact-head validation is pending. Closing this superseded PR without merging it.

@vincentkoc vincentkoc closed this Nov 14, 2026
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: android App: android app: web-ui App: web-ui channel: msteams Channel integration: msteams cli CLI command changes commands Command implementations extensions: codex extensions: openai extensions: qa-lab 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