Skip to content

Do not look for the shared auth modules off the site - #9

Merged
joshuaroll merged 1 commit into
mainfrom
fix/auth-404-standalone
Sep 12, 2026
Merged

joshuaroll merged 1 commit into
mainfrom
fix/auth-404-standalone

Conversation

@joshuaroll

Copy link
Copy Markdown
Owner

The account loader imported /shared/auth/* whenever bc-config.js was present, and it is present in the repo, so every standalone serve (including the e2e harness) logged a 404 and the smoke test failed. CI's end-to-end job has been red since 2026-09-02 for this reason alone.

The shared modules exist only on the composed site, where the island is mounted at /world/, so the mount point is now the guard. Off the site the island plays as a guest, which it already did after the failed import. Full e2e: 60 passed locally.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Cr1HRkEPpcngrJyKuceTys

js/account.js imported /shared/auth/* whenever bc-config.js was present,
and it is present in the repo, so a standalone serve (the repo opened
directly, a local static server, the e2e harness) hit a 404 the browser
logs as a console error. The smoke test treats any console error as a
failure, so CI's end-to-end job has been red since the config landed.

The shared modules exist only on the composed site, where the island is
mounted at /world/, so the mount point is the guard. Off the site the
island plays as a guest, which it already did after the failed import.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cr1HRkEPpcngrJyKuceTys
@vercel

vercel Bot commented Sep 12, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
bit-cryptic-world Building Building Preview Sep 12, 2026 12:23am UTC

@joshuaroll
joshuaroll merged commit 055fe5c into main Sep 12, 2026
8 checks passed

This branch was successfully deployed

1 active deployment
Preview — 650eb27c Deployed Sep 12, 2026 by vercel[bot]
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