Skip to content

Deploy the tested Web release to Vercel through CI - #20

Merged
vriesd merged 4 commits into
mainfrom
deploy-vercel-ci
Nov 14, 2026
Merged

vriesd merged 4 commits into
mainfrom
deploy-vercel-ci

Conversation

@vriesd

@vriesd vriesd commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Farlanding's Web build is tested in CI but has no production deployment. Add a main-only Vercel deployment after the native and browser jobs, following Space Explorer's CI-controlled production setup. Use Node 26.x and Vercel CLI 65.16.0; the companion Space Explorer upgrade is ddv1982/space-explorer#47.

The existing Vercel team is Hobby, and the exported game exceeds its 100 MB CLI source-upload limit. Upload a small build referring to the current run's artifact ID and digest. Resolve GitHub's one-minute redirect inside the build with the deployment job's temporary, repository-scoped read-only token as a build-only secret. Never store the token in source/public assets or forward it to redirected storage. Verify the archive digest and complete clean-release manifest before publishing. Godot is not rebuilt on Vercel.

Serve the isolation headers required by threaded audio and the WebAssembly MIME type. Exercise a protected staged deployment with real browser input before promotion, then check the stable production domain without authentication. Keep bypass credentials out of traces, serialize production runs, and allow artifact uploads to be rerun.

Native CI also exposed an intermittent final-mix measurement failure: the global RNG seed did not control the audio directors' own RNGs or inherited bed playback positions. Reset those fixture inputs for each scene. Production audio and the 3.5/4.5 LU comparison limits are unchanged; the full native audio suite passed 416 tests / 6,374 assertions with no engine errors or warnings after the reset.

Validation: workflow actionlint, JavaScript syntax, six deployment-tool tests and five existing Web-tool tests passed. A real Hobby deployment downloaded and verified the green main artifact and reached a playable Kessel landing with no browser errors. That smoke check caught and fixed the bypass cookie needed by audio worklets on protected URLs. The revised build-time redirect path retrieved and verified the real nine-file release locally, with regressions proving that preparation stores no expiring URL/token and redirected requests carry no GitHub authorization. The project and CI credentials/production URL are configured; CI will validate its job token and perform the first public promotion after merge.

Created with GPT-6.1 Sol in T3 Code through the Codex harness.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-14T18:40:24.695979Z 057b6d2 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.

Comment thread tools/prepare_vercel.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 057b6d2851

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tools/prepare_vercel.py Resolved
@vriesd
vriesd merged commit 5185759 into main Nov 14, 2026
4 checks passed
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.

2 participants