Skip to content

test: split interaction runtime tests#1113

Merged
thymikee merged 1 commit into
mainfrom
codex/issue-1110-interaction-test-split
Jul 6, 2026
Merged

test: split interaction runtime tests#1113
thymikee merged 1 commit into
mainfrom
codex/issue-1110-interaction-test-split

Conversation

@thymikee

@thymikee thymikee commented Jul 5, 2026

Copy link
Copy Markdown
Member

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.

@github-actions

github-actions Bot commented Jul 5, 2026

Copy link
Copy Markdown

Size Report

Metric Base Current Diff
JS raw 1.5 MB 1.5 MB 0 B
JS gzip 491.8 kB 491.8 kB 0 B
npm tarball 597.4 kB 597.4 kB 0 B
npm unpacked 2.1 MB 2.1 MB 0 B

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 26.1 ms 26.5 ms +0.4 ms
CLI --help 56.3 ms 50.7 ms -5.6 ms

Top changed chunks: no changes in the largest emitted chunks.

@thymikee thymikee merged commit 318e813 into main Jul 6, 2026
20 checks passed
@thymikee thymikee deleted the codex/issue-1110-interaction-test-split branch July 6, 2026 06:22
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-07-06 06:23 UTC

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test: split the interaction test monolith along source topology

1 participant