Skip to content

chore(deploy): auto-deploy Convex backend on merge + fail loud on mis… - #74

Merged
Anuraj-dev merged 1 commit into
mainfrom
chore/backend-deploy-automation
Jun 18, 2026
Merged

Anuraj-dev merged 1 commit into
mainfrom
chore/backend-deploy-automation

Conversation

@Anuraj-dev

Copy link
Copy Markdown
Owner

…config

Root cause of the FunctionPathNotFound outage: M11 backend functions were merged but never deployed to the dev deployment the website silently falls back to, so the client called functions the backend didn't have and the WebSocket entered a reconnect storm. Backend deploys were manual and decoupled from merges, so they were forgotten (same gap as M6.2 and M7).

  • .github/workflows/convex-deploy.yml — on push to main touching convex/, run convex deploy to prod (needs repo secret CONVEX_DEPLOY_KEY). Code and the deployment can no longer drift.
  • deployment.ts — a production build with no VITE_CONVEX_URL still falls back to dev, but now logs a loud error instead of silently pointing prod users at the dev backend.
  • CLAUDE.md — document the dev (tangible-finch-68) vs prod (formal-dove-357) model and the deploy rules.

…config

Root cause of the FunctionPathNotFound outage: M11 backend functions were merged
but never deployed to the dev deployment the website silently falls back to, so
the client called functions the backend didn't have and the WebSocket entered a
reconnect storm. Backend deploys were manual and decoupled from merges, so they
were forgotten (same gap as M6.2 and M7).

- .github/workflows/convex-deploy.yml — on push to main touching convex/, run
  `convex deploy` to prod (needs repo secret CONVEX_DEPLOY_KEY). Code and the
  deployment can no longer drift.
- deployment.ts — a production build with no VITE_CONVEX_URL still falls back to
  dev, but now logs a loud error instead of silently pointing prod users at the
  dev backend.
- CLAUDE.md — document the dev (tangible-finch-68) vs prod (formal-dove-357)
  model and the deploy rules.
@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
khata-web Ready Ready Preview, Comment Jun 18, 2026 7:18pm

@Anuraj-dev
Anuraj-dev merged commit 54bc8e0 into main Jun 18, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
Preview — c174fe6c Deployed Jun 18, 2026 by vercel[bot]
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