Skip to content

test(server): build the web shell before the static-route tests - #27

Merged
ralyodio merged 1 commit into
mainfrom
test/server-build-web-shell
Oct 17, 2026
Merged

ralyodio merged 1 commit into
mainfrom
test/server-build-web-shell

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

test/server.test.js exercises the static routes, which serve web/dist. That directory is not checked in, so on a fresh clone the file failed until someone ran the build. The test's beforeAll now runs web/build.js once when web/dist/index.html is missing. Test-only; no application code changes.

Found by the fleet-wide moshcode work sweep (a claude worker with this test file as its verifier, passed on attempt 1). I reviewed the patch, and the verify passes again on current main.

🤖 Generated with Claude Code

The static routes serve web/dist, which is not checked in, so on a fresh
clone test/server.test.js failed until someone ran the build by hand. The
test now runs web/build.js once when index.html is missing.

Found and fixed by a moshcode work agent (fleet sweep); verify:
bun test ./test/server.test.js.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ralyodio
ralyodio merged commit 283d1d8 into main Oct 17, 2026
3 checks passed
@ralyodio
ralyodio deleted the test/server-build-web-shell branch October 17, 2026 12:14
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