Skip to content

tests: the dashboard page's test runs on every OS, and expects only tiles the page has - #2946

Merged
ashhart merged 2 commits into
mainfrom
lead/dashboard-test-every-os
Nov 13, 2026
Merged

ashhart merged 2 commits into
mainfrom
lead/dashboard-test-every-os

Conversation

@ashhart

@ashhart ashhart commented Nov 11, 2026

Copy link
Copy Markdown
Owner

zig/src/server/dashboard_test.zig was wired only into the macOS test step (zig/build/metal_targets.zig), which no CI job runs, so nothing caught it failing. Since #2655 landed it expects a "Paged prefix cache" label that dashboard.html never had and nothing in /stats reports, so zig build test fails on every Mac (reported on #1720).

  • The test moves to build.zig's shared test step, so Linux CI runs it. It only reads the embedded page, so it needs no device.
  • The one stale string is dropped. Every other label the test checks is on the page.

Checks: the test passes on macOS on this head and fails on main. zig fmt is clean, and the lean check shows 345 problems on both base and head, none new.

…iles the page has

dashboard_test.zig was wired only into the macOS test step, so no CI job ran it. Since #2655's landing it has
expected a "Paged prefix cache" label that dashboard.html never had and nothing in /stats reports, so it failed
on every Mac running zig build test. The test now runs from build.zig's shared test step on every OS, and that
one string is gone; every other label it checks is on the page.
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