Test tiers: split slow e2e and upstream-gated live out of default integration glob - #12606
Open
backryun wants to merge 7 commits into
Open
Test tiers: split slow e2e and upstream-gated live out of default integration glob#12606backryun wants to merge 7 commits into
backryun wants to merge 7 commits into
Conversation
backryun
force-pushed
the
chore/test-tiersplit-12539
branch
4 times, most recently
from
September 4, 2026 03:19
44e6570 to
a9f6a9a
Compare
added 4 commits
September 5, 2026 07:25
Moves all ~4.3k tests/unit/*.test.* files into per-prefix subdirectories (e.g. chatcore/, combo/, translator/, cli/, db/, provider/) plus misc/ for the unclassifiable tail. No test logic changed except one-level-deeper relative import/path fixes. Syncs the 4 runner-glob owners (package.json test:unit scripts, check-test-discovery.mjs, build-test-impact-map.mjs, merge-train.sh), renames quality-baseline keys (file-size, eslint-suppressions, test-masking-allowlist), and updates docs/ test-path references so the fabricated-docs, test-discovery, file-size and masking gates stay green. Refs diegosouzapw#12539
- stryker.conf.json: remap 338 tap.testFiles entries from flat tests/unit/*.test.ts paths to their new per-prefix subdirs (fixes check:mutation-test-coverage --strict). - tests/unit/serial/: evict refresh-serializer*.test.ts misclassified by substring match into the concurrency quarantine; they belong to oauth/. Drop serial from the parallel runner brace so the quarantine is not double-executed (fixes test-serial-quarantine).
claude-fable, embedding-clova, obscura, provider-cost-data, translator-clova-v3 -> per-prefix subdirs. flat = 0 again.
backryun
force-pushed
the
chore/test-tiersplit-12539
branch
from
September 4, 2026 22:32
bf9d28f to
a73464f
Compare
… tier split The suite relocation left tests/unit/db/db-pre-migration-backup-retention-10421.test.ts importing ../../src (resolves to tests/src), and merge-train.sh / TIA omitted the moonshot and seekai prefixes that test:unit actually runs. Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
…tegration glob Moves 8 slow hermetic suites (batch-e2e 150s, live-ws-heartbeat 54s, resilience-http 36s, +5) to tests/integration/e2e/ with a dedicated test:integration:e2e script, and 7 upstream-gated suites (live-gemini*, gemini-live-429, codex-chat-reasoning, wire-capture) to tests/integration/live/ with test:integration:live. Shared helpers used by both tiers stay at tests/integration/ root; tier-private helpers move along. CI runs both tiers after the default suite so no assertions stop running anywhere. Default test:integration: 115 -> 100 files. Pre-existing failures (combo-failover/routing assertions, resilience-http-e2e 1 case) unchanged and out of scope. Refs diegosouzapw#12539
backryun
force-pushed
the
chore/test-tiersplit-12539
branch
from
September 5, 2026 02:30
a73464f to
e830d73
Compare
This was referenced Sep 5, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves eight slow hermetic integration suites into tests/integration/e2e/ and seven upstream-gated suites into tests/integration/live/, reducing the default integration collector from 115 to 100 files while retaining all assertions and existing live-test opt-in gates. Adds test:integration:e2e and test:integration:live and wires both tiers after the default integration step in CI; shared helpers remain at the integration root.
Depends on #12588. The original DB/selector repair is now in that prerequisite as 1188722, retaining its author, message, and Diego co-author trailer. This PR adds only the integration-tier split above the corrected parent.
Validation:
The separate base repair candidate is #12333. This PR does not incorporate its production fixes.
Landing sequence: relocation #12588 → this integration split → quick-tier and deterministic-fixture continuation #12760. Refs #12539; the overall test-efficiency effort remains open.