Skip to content

fix(infra): add explicit cron disable guard#328

Merged
cola500 merged 1 commit into
stagingfrom
feature/s67-0-cron-disable-flag
May 8, 2026
Merged

fix(infra): add explicit cron disable guard#328
cola500 merged 1 commit into
stagingfrom
feature/s67-0-cron-disable-flag

Conversation

@cola500
Copy link
Copy Markdown
Owner

@cola500 cola500 commented May 8, 2026

  • Adds DISABLE_CRONS=true early return to all Vercel cron routes.
  • Prevents staging project from executing reminder/data-retention jobs.
  • Adds production prebuild guard so DISABLE_CRONS=true cannot be deployed to production.
  • Adds tests for cron skip behavior and prod-env guard.
  • No Vercel/Supabase changes.
  • No deploys.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@cola500 cola500 merged commit 1da4ed3 into staging May 8, 2026
2 checks passed
@cola500 cola500 deleted the feature/s67-0-cron-disable-flag branch May 8, 2026 07:26
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