Skip to content

chore: remove stale/dangerous deploy-all.js + fix stale prod URLs#146

Merged
sacha-l merged 1 commit into
developfrom
chore/remove-stale-deploy-tooling
May 22, 2026
Merged

chore: remove stale/dangerous deploy-all.js + fix stale prod URLs#146
sacha-l merged 1 commit into
developfrom
chore/remove-stale-deploy-tooling

Conversation

@sacha-l
Copy link
Copy Markdown
Collaborator

@sacha-l sacha-l commented May 22, 2026

Summary

Deploys are already automatic (merge to main → Railway + Vercel via GitHub integrations), so the manual deploy-all.js path is obsolete — and unsafe. This removes it and fixes lingering stale references.

Changes

  • Delete server/scripts/deploy-all.js — it re-ran stale one-off Symbiosis/Plata-Mia production data mutations (whose db:* npm scripts no longer exist, so it was already broken), ran supabase db push, and auto-committed/pushed main. Dangerous to run by accident.
  • Remove deploy:all from server/package.json.
  • Rewrite the PRODUCTION_DEPLOYMENT.md top section to document the real flow: auto-deploy on merge to main, plus the manual Supabase data step (migrations/backfills aren't automatic). CLI deploy kept as a documented fallback.
  • Fix stale URLs:
    • verify-production.js + verify-main-deployed.js FRONTEND_URL default → https://stadium.joinwebzero.com (was an old client-n7lu4qlus-…vercel.app).
    • client/.env.example prod API comment → stadium-production-996a.up.railway.app/api (was the stale hw4os4c00wg4k80o… host).
  • CLAUDE.md: drop deploy:all from the operational list; note auto-deploy.

What's kept

  • verify:production + verify:main-deployed — read-only health checks (URLs corrected).
  • The manual railway up / vercel --prod CLI steps in the doc as a fallback.

Test plan

  • package.json still valid JSON.
  • npm test (server) — 257 passed.
  • npm run build + npm run lint (client) — green.
  • No remaining refs to deploy-all (operational) or hw4os4c00wg4k80o / client-n7lu4qlus in scripts/config.

No runtime code touched — scripts/docs/config only. Per CLAUDE.md §6: draft, never merging.

Deploys are automatic on merge to main (Railway + Vercel GitHub
integrations), so the manual one-command path is obsolete — and dangerous.

- Delete server/scripts/deploy-all.js: it re-ran stale one-off Symbiosis/
  Plata-Mia prod data mutations (whose db:* npm scripts no longer exist),
  did supabase db push, and auto-committed/pushed main.
- Remove the deploy:all script from server/package.json.
- Rewrite the PRODUCTION_DEPLOYMENT.md top section to document the
  auto-deploy-on-merge flow + the manual Supabase data step.
- Fix stale defaults: verify scripts' FRONTEND_URL and client/.env.example's
  prod API host now point at stadium.joinwebzero.com / stadium-production-996a.
- CLAUDE.md: drop deploy:all from the operational list; note auto-deploy.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 22, 2026

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

Project Deployment Actions Updated (UTC)
stadium Ready Ready Preview, Comment May 22, 2026 1:06am

@sacha-l sacha-l marked this pull request as ready for review May 22, 2026 01:12
@sacha-l sacha-l merged commit ab25618 into develop May 22, 2026
2 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.

1 participant