Skip to content

Site tests: two checks no longer read Swift files that moved to ShowKit - #1301

Closed
Skeyelab wants to merge 1 commit into
mainfrom
website-tests-showkit-moved
Closed

Skeyelab wants to merge 1 commit into
mainfrom
website-tests-showkit-moved

Conversation

@Skeyelab

@Skeyelab Skeyelab commented Dec 3, 2026

Copy link
Copy Markdown
Member

Why

The site's test suite fails on main today, so every pull request that touches website/ fails its Website check:

Neither merge touched website/, so CI skipped the site job and main stayed green.

What

Test files only; no page changes. The two values are now written in the tests, each with a comment saying where it lives in ShowKit (checked against ShowKit 0.2.0, the version pinned here):

  • the auto-gain target, targetDbfs: Double = -18 (Sources/AutoGain/AutoGainRule.swift)
  • the menu names "Arm channel" and "Don't arm channel" (Sources/Meters/ChannelArmMenuItem.swift)

The trade-off: these two checks no longer follow the Swift source by themselves. If either value changes in ShowKit, the test must be changed with it. The other checks in both files still read this repo's Swift sources.

Checked

yarn lint, yarn test:run (51 files pass) and yarn build in website/, and scripts/spelling-check.sh. VERIFY_QUICK=1 ./scripts/verify.sh does not run on this Linux machine (build-lock.sh needs lockf), so I ran its site and spelling steps by hand.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VCgWWseQZtUzcSRzjqqQJQ

The site's test suite has failed on main since #1294 and #1296 moved AutoGainRule.swift and ChannelArmMenuItem.swift to ShowKit: two tests read them from Packages/ShowRecorderKit. Neither merge touched website/, so CI skipped the site job and stayed green, and the next website pull request fails. The two values (the -18 dBFS target, and the Arm channel and Don't arm channel names) are now written in the tests, with where they live in ShowKit.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VCgWWseQZtUzcSRzjqqQJQ
@Skeyelab

Skeyelab commented Dec 3, 2026

Copy link
Copy Markdown
Member Author

Closing in favor of #1302, which fixes the same two tests and also fails when the ShowKit pin changes without the copied values being re-confirmed. Both PRs came from the same session; this one was opened by a second agent that hit the same blocker.

@Skeyelab Skeyelab closed this Dec 3, 2026
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.

1 participant