Skip to content

fix: close hosted signups and point the readme at self-hosting - #295

Merged
FrkAk merged 1 commit into
mainfrom
fix/close-hosted-signups
Sep 29, 2026
Merged

FrkAk merged 1 commit into
mainfrom
fix/close-hosted-signups

Conversation

@FrkAk

@FrkAk FrkAk commented Sep 29, 2026 •

Copy link
Copy Markdown
Owner

Summary

The hosted version at app.piyaz.ai is shutting down, so this closes new signups on the hosted production deploy and makes the README describe self-hosting only.

  • deploy:cf and preview:cf no longer pass SIGNUPS_ENABLED=true, so the production build bakes signups off and signupsDisabled() serves the invite-only page and rejects /sign-up/email. Existing accounts keep signing in.
  • Self-host is unchanged: signupsDisabled() only closes signup when DEPLOY_TARGET=cloudflare, so self-hosted builds stay open (covered by the existing "signup open on self-host" test). deploy:cf:dev keeps the opt-in.
  • README drops the "Hosted (beta)" section and the hosted MCP endpoint, which now reads <your-instance>/api/mcp.

Type of change

  • Bug fix
  • New feature
  • Refactor / cleanup
  • Documentation

Testing

  • Tested locally with bun run dev
  • Linting passes (bun run lint)
  • Typecheck passes (bun run typecheck)
  • Workers smoke passes (bun run build:cf && bun run smoke:cf) — required when this PR touches app/api/**, middleware.ts, worker-cf.ts, or a .node.ts / .workers.ts pair

tests/config/env.test.ts now pins that the production scripts omit the opt-in and the dev script keeps it.

Notes for reviewer

Takes effect on the next release deploy. The sign-up page copy still reads "Invite only for now". Plugin MCP configs, server.json, the get-started modal and the legal pages still point at app.piyaz.ai; flagged for a follow-up.

Docs impact

  • docs.piyaz.ai still describes the hosted version; it lives in the piyaz-docs repo and needs its own change.

Compliance impact

  • none

@FrkAk FrkAk self-assigned this Sep 29, 2026
@FrkAk FrkAk changed the title fix: close signups on the hosted production deploy fix: close hosted signups and point the readme at self-hosting Sep 29, 2026
@FrkAk
FrkAk force-pushed the fix/close-hosted-signups branch from 28fe0f4 to f2720d5 Compare September 29, 2026 14:31
@FrkAk
FrkAk marked this pull request as ready for review September 29, 2026 14:40
@FrkAk
FrkAk merged commit 5be05af into main Sep 29, 2026
7 checks passed
@FrkAk
FrkAk deleted the fix/close-hosted-signups branch September 29, 2026 14:41
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