Skip to content

test: cover the single-pane tab strip and add a nightly idle CPU check - #448

Merged
arzafran merged 2 commits into
mainfrom
test/audit-coverage
Oct 20, 2026
Merged

arzafran merged 2 commits into
mainfrom
test/audit-coverage

Conversation

@arzafran

Copy link
Copy Markdown
Member

Two things that shipped without tests now have some.

The tab strip rule from #432 has two unit tests: a single pane hides its strip at one tab and shows it again at two or after a split, and a focused pane with a hidden strip hides its new-tab and split buttons instead of handing them to another pane. They live next to the other pane chrome tests and run on macOS 26 only, like their neighbours.

The nightly extended tests get an idle CPU job. It leaves one focused terminal sitting at a quiet prompt, measures the app's CPU over 30 seconds, and writes the number and focus state into the job summary. It's informational for now, with an 8% budget against a Debug build. Once a few nights show where runner numbers land, the budget gets tightened and the job made blocking. This replaces test_cpu_usage.py, which never ran.

Not covered: the display link parking from #430 has no hook visible outside the renderer, and the badge colours from #434 would need a render harness. The idle CPU job will show a #430 regression as a trend, not as a failure.

@arzafran
arzafran merged commit ff13579 into main Oct 20, 2026
12 checks passed
@arzafran
arzafran deleted the test/audit-coverage branch October 20, 2026 17:26
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