Skip to content

Open the Sandbox app: file locations, free port, failure page (#118) - #129

Merged
Fazorath merged 5 commits into
mainfrom
118-open-sandbox-app
Nov 2, 2026
Merged

Fazorath merged 5 commits into
mainfrom
118-open-sandbox-app

Conversation

@Fazorath

@Fazorath Fazorath commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Closes #118

  • app_files.py: one place for where the dashboard, Regions and Cache Packs live (checkout or bundle); scripts/sandbox.sh and storm-shield-sandbox unchanged in behaviour (the browser URL is now 127.0.0.1).
  • storm-shield-sandbox-app: no arguments. Opens a Sandbox already on 8000, else serves on 8000 or a free port; logs to storm-shield-sandbox.log in the temp folder; any start failure (including uvicorn failing to bind) opens a page with the error and the log path.
  • The Sandbox binds 127.0.0.1 only (sandbox_server_config, tested).

Tested: node mypy, ruff, and the full node pytest passed before the final merge of main. Sandbox, region and app tests rerun after the review fixes (75 passed). Dashboard untouched; its checks not run here (no node_modules). Not exercised on a real double-click or a bundled app (packaging is the next slice).

Review notes: serve() itself isn't tested for using the loopback config (it needs a full Sandbox start); the second-start check only looks at port 8000.

@Fazorath
Fazorath merged commit 42f265e into main Nov 2, 2026
2 checks passed
@Fazorath
Fazorath deleted the 118-open-sandbox-app branch November 2, 2026 02:02
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.

Open the Sandbox app: file locations, app start, free port, failure page

1 participant