test: split interaction runtime tests#1113
Merged
Merged
Conversation
Size Report
Startup median (7 runs, lower is better):
Top changed chunks: no changes in the largest emitted chunks. |
|
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.
Summary
Closes #1110.
Split the interaction runtime test aggregation along source/topology mirrors: interactions, gestures, resolution, selector-read stable waits, and runtime index now have focused test files. Shared runtime fixtures moved into a local test-utils module, with test names/assertions preserved.
Touched files: 7. Scope stayed under src/commands/interaction/runtime; no runtime behavior, docs, or skills changes.
Validation
Before/after focused totals: npx vitest run src/commands/interaction stayed 108 tests passing. File timing from JSON reporter: before slowest was src/commands/interaction/runtime/selector-read.test.ts at 264.37ms; after slowest is src/commands/interaction/runtime/selector-read-stable.test.ts at 255.23ms. The old interaction monolith moved from 56 tests / 28.12ms to 23 tests / 6.30ms.
Passed: pnpm format, pnpm check:quick, pnpm check:layering, pnpm check:fallow --base origin/main, pnpm build, pnpm check:unit. No PINNED_SLOW_UNIT_TESTS entries referenced moved interaction tests.