Skip to content

Delete code only tests used: Mix Hold undo, shared headamp, Pre-roll snapshot (#885) - #953

Merged
Skeyelab merged 1 commit into
mainfrom
refactor/885-delete-test-only
Oct 24, 2026
Merged

Skeyelab merged 1 commit into
mainfrom
refactor/885-delete-test-only

Conversation

@Skeyelab

Copy link
Copy Markdown
Member

Closes #885.

What

Deletes code only tests used, with no change anyone can see (about 290 lines net):

Tests

This is a deletion, so there is no red run. Every test that remains passed on its first run after the edit. Tests that only exercised the deleted code were removed: the undo-set and linked-pair tests, FakeMixer, and two loop tests built on MixHold.Run. Production undo and shared-preamp compensation stay covered by XAirGainTests, X32GainTests and MixHoldLagTests (the Code Reviewer checked this). VERIFY_QUICK=1 ./scripts/verify.sh passes.

Timing

Merges right after v1.1.16, not right before a tag. It touches PreRollBuffer, which is on the real-time path's edge, but only deletes the unused snapshot and Snapshot. write and read(frames:) are unchanged. Checked only by tests.

…snapshot (#885)

Removes MixHold.UndoSet, Plan.undo, Run, apply(_:to:), ChannelSource and
channels(movedByHeadamp:sources:), Recorder.isKeepingPreRoll, and
PreRollBuffer.snapshot(maxFrames:) with its Snapshot. The PreRollBuffer tests
read through read(frames:); tests that only exercised the deleted code go too.
No change anyone can see.

Assisted-by: Claude Code:claude-sonnet-5-5
@Skeyelab
Skeyelab enabled auto-merge (squash) October 24, 2026 02:00
@codecov

codecov Bot commented Oct 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Skeyelab
Skeyelab merged commit ad77250 into main Oct 24, 2026
11 checks passed
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.

Delete code only tests use: Mix Hold undo, shared headamp, Pre-roll snapshot (refactor)

1 participant