Skip to content

fix: allow production D1 migrations to run in CI - #139

Merged
HazAT merged 1 commit into
masterfrom
fix/cloudflare-deploy-migrations
Aug 13, 2026
Merged

fix: allow production D1 migrations to run in CI#139
HazAT merged 1 commit into
masterfrom
fix/cloudflare-deploy-migrations

Conversation

@HazAT

@HazAT HazAT commented Aug 13, 2026

Copy link
Copy Markdown
Member

Summary

  • remove Wrangler's unsupported --yes option from the production D1 migration command
  • rely on Wrangler's documented automatic confirmation skip in non-interactive CI
  • unblock the Worker deployment step that follows migrations

The first automatic production run after #138 failed before authentication or migration execution with Unknown argument: yes.

Failed run: https://github.com/getsentry/hackweek/actions/runs/31735188373

Verification

  • actionlint .github/workflows/deploy.yml .github/workflows/test.yml
  • npm run format:check
  • npm run typecheck
  • verified the pinned Wrangler help documents automatic confirmation skipping in CI

Let Wrangler detect the non-interactive GitHub Actions environment and skip migration confirmation automatically. The removed --yes option is not accepted by the pinned Wrangler version and prevented production deployment before authentication or migration execution.
@HazAT
HazAT merged commit bc6affa into master Aug 13, 2026
12 checks passed
@HazAT
HazAT deleted the fix/cloudflare-deploy-migrations branch August 13, 2026 19:24
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