-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
D1 migrations in CI fail silently #221
Comments
Sorry for the trouble here. It sounds like you're running into cloudflare/workers-sdk#4078. |
Ahh, spot on! Thanks so much. :) |
This also fails silently for me on wrangler - name: 🕊️ Migrate
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
wranglerVersion: "3.51.2"
command: d1 migrations apply yupty-staging --remote --env staging Fix
|
Thank you, adding the D1 edit permission fixed it for me on 3.83.0 as well with |
@1000hz this is still happening on wrangler 3.87.0. No error message whatsoever. |
I have no idea if this is a me problem like some misconfiguration I've made, but I can't work this out for the life of me.
Excerpt from my workflow:
Deploying the worker is fine, but the migrations command returns error code 1 with no useful log output:
Running it locally works fine, with the CLI output I'd expect:
Any ideas what I might be doing wrong?
The text was updated successfully, but these errors were encountered: