Skip to content

test: pin launch_sandbox.py behavior, document it in the runbook - #73

Merged
FetchDoge merged 1 commit into
mainfrom
m5/launcher-docs-tests
Oct 30, 2026
Merged

FetchDoge merged 1 commit into
mainfrom
m5/launcher-docs-tests

Conversation

@FetchDoge

Copy link
Copy Markdown
Owner

launch_sandbox.py ships at the repo root but was mentioned in no doc and covered by no test. This PR pins its actual behavior with subprocess tests (fake server.py under a temp PERMIT_ROOT: env mapping PAYPAL_SANDBOX_* to PERMIT_PAYPAL_*, hardcoded merchant override, missing-credentials exit 1 before launch, FileNotFoundError on a missing .env.sandbox) and documents both credential paths and both failure modes in docs/sandbox-runbook.md. Draft PR #65 documented the same launcher section from reading the code; this version is proven by tests. Suite: 417 passed, 3 skipped (413 baseline + 4 new), ruff clean on the new test file.

launch_sandbox.py ships at the repo root but was mentioned in no doc
and covered by no test. Its mapping (PAYPAL_SANDBOX_* to
PERMIT_PAYPAL_*), its hardcoded merchant override, its
missing-credentials exit, and its FileNotFoundError crash on a missing
.env.sandbox are now pinned by subprocess tests against a fake
server.py, and the sandbox runbook documents both credential paths
and both failure modes. Suite: 417 passed, 3 skipped.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T19:46:24.539900Z b558654 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@FetchDoge
FetchDoge merged commit b6bb3ff into main Oct 30, 2026
9 checks passed
@FetchDoge
FetchDoge deleted the m5/launcher-docs-tests branch October 30, 2026 19:46
FetchDoge pushed a commit that referenced this pull request Nov 3, 2026
README claimed 413 passed / 416 collected verified 2026-10-29 at
3280b92, but PRs #73 and #74 added 12 tests: main at 20c74bf runs
425 passed, 3 skipped (428 collected), re-verified locally
2026-11-03. The Status line also still carried the pre-shift
targets (video by Nov 8, Devpost by Nov 10); the readiness target
moved 2026-11-02 to video by Nov 6 (M5) and submission-ready
Nov 9 (M6). Docs only, no code change.
FetchDoge added a commit that referenced this pull request Nov 3, 2026
README claimed 413 passed / 416 collected verified 2026-10-29 at
3280b92, but PRs #73 and #74 added 12 tests: main at 20c74bf runs
425 passed, 3 skipped (428 collected), re-verified locally
2026-11-03. The Status line also still carried the pre-shift
targets (video by Nov 8, Devpost by Nov 10); the readiness target
moved 2026-11-02 to video by Nov 6 (M5) and submission-ready
Nov 9 (M6). Docs only, no code change.

Co-authored-by: Marcus Richards <marsoju@gmail.com>
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