mirror of
https://github.com/0xWheatyz/handler.git
synced 2026-08-30 04:36:24 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user