-
Notifications
You must be signed in to change notification settings - Fork 164
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
Wrangler 3.16 breaking secret uploads #209
Comments
Hey! 👋 I'm unable to reproduce this. Are you able to share the workflow run that is failing, or is it in a private repo? If so, could you share the full logs for the workflow? |
Looking back at the the log for the |
Ok, updating to wrangler Side node, log format is broken, but I'm not sure if I should post that in this issue or start a new one. |
I have the same problem that struggled me a day. I have set the CLOUDFLARE_API_TOKEN into my repository secrets settings. But can not get.
the
|
I've been dealing with the same problem for a few days.
However, when I change the name of the Worker from the Cloudflare dashboard and re-run the workflow, it deployed successfully. That's not a viable work-around though. Here's my configuration: - name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
wranglerVersion: latest
secrets: |
INTERNAL_API_KEY
env:
INTERNAL_API_KEY: ${{ secrets.INTERNAL_API_KEY }}
- name: Print Wrangler Logs
if: failure()
run: |
ls -l .wrangler/logs
cat .wrangler/logs/* Edit: Secrets uploaded with version |
As a work-around, I changed |
This is an upstream issue in wrangler captured by cloudflare/workers-sdk#4496. According to that issue, it seems to only affect users uploading secrets to workers that have Durable Object bindings. |
I can confirm I do not have Durable Object bindings. I only have 1 D1, 6 Analytics engine, 3 worker bindings, 1 vectorize binding. Plus the weird part is that |
Same error here. Secrets are not created at all with wrangler 3.20.0. |
I wanted to update that the action update of |
I tried one more time with action
Key part of the log is the (redacted) |
The problem is caused by a bug in the API endpoint we now use to bulk upload secrets when the worker has certain binding types. We switched to using this endpoint in [email protected]. Until the upstream API is fixed, you’ll likely continue having issues with secret uploads on that version and above. As a temporary workaround, you can set |
https://github.com/willin/sso/actions/runs/7347300952/job/20003540459
|
Hi @demosjarco! The upstream issue, mentioned above by @1000hz, has been fixed. Can you try again with the latest version of wrangler and report back whether you still experience this issue? |
I can confirm it's no longer breaking with wrangler |
Confirmed, new secret content is uploaded correctly |
I'm started facing this issue after upgrading to wrangler-action v3 #162 (comment) |
The action fails immediately since the release of Wrangler 3.16
I assume it was #4179 that was merged that broke it
The text was updated successfully, but these errors were encountered: