Skip UI-serving tests when the web export is absent

The Next.js export is a generated artifact and deliberately untracked
(82183d9 stopped tracking it; the Docker image builds it in its own
node stage), but three tests still asserted its presence — failing on
every fresh clone. They now skip with a clear reason when
src/handler/api/static/ was never built, and keep guarding any
environment that has it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01731mKtVzsfeT4Vi3TvkR48
This commit is contained in:
Claude
2026-08-14 19:04:39 +00:00
parent 042e27dd15
commit 24e6cf5ca8
2 changed files with 18 additions and 0 deletions
+4
View File
@@ -19,6 +19,10 @@ the image workflows publish (plus `latest` from every push to `main`).
placements (schedule firings, mise-init) keep the old fast-forward behavior for
their shared tree. 2 end-to-end regression tests (bare remote, parked root,
out-of-band push).
- **UI-serving tests skip when the web export is absent** instead of failing every
fresh clone: the export is a generated, deliberately untracked artifact (built in
the Docker image's node stage), so the three `test_api_ui` checks now guard any
environment that has it and skip with a clear reason where it was never built.
### Fixed