Fix/beginner codespaces - #93
Merged
Merged
Conversation
…ermediate Feat/accessibility nightmare intermediate
Signed-off-by: sindurigf <sinduri.g@gmail.com>
The level has no vite.config.js, so Vite's host check rejects the forwarded
Codespaces domain and the page never loads at all:
Blocked request. This host ("shiny-5173.app.github.dev") is not allowed.
HTTP 403
Reproduced on current main in a dev container, and fixed and re-verified in the
same place: the forwarded host now returns 200, localhost still returns 200, and
an unrelated host is still refused, so the check is not switched off.
post-start.sh also backgrounded the dev server with a plain `nohup ... &`. On
the intermediate level, in a real Codespace, that left the port dead moments
after the script printed success and players got a 502 from the forwarded URL.
setsid fixed it there. This does not reproduce under the devcontainer CLI, so
for beginner it is precaution carried over from that evidence rather than a
local reproduction.
Two smaller things while here. onAutoForward was openBrowser, the only config in
the repo not using notify. And the docs sent players to http://localhost:5173,
which does not exist in a browser-based Codespace, where the port is reached
from the Ports tab; services now declares port 5173, matching dead-reckoning.
No change to the challenge: verify.sh still fails both checks on the broken
state, Lighthouse included.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: sindurigf <sinduri.g@gmail.com>
KatharinaSick
approved these changes
Sep 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Closes #
Type of PR
💡 Adventure Idea
ideas/(notideas/.implemented/)🗺️ New Adventure Level
verify.shpasses when the challenge is solvedverify.shfails with helpful error messages when not solvedideas/.implemented/(first level PR only)Part of #for earlier levels,Closes #for the last one)📖 Solution Walkthrough
adventures/XX-.../docs/solutions/level.md)📝 Other