alexcrichton opened PR #11090 from alexcrichton:update-publish-script to bytecodealliance:main:
- Add a helper to run
curland get the output- Print an error if
curlfails to help diagnose what went wrong in the future- Pass a custom
--user-agentwhich is requested by crates.io's data access policy.<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested dicej for a review on PR #11090.
alexcrichton requested wasmtime-default-reviewers for a review on PR #11090.
alexcrichton commented on PR #11090:
The auto-publish of the 34.0.0 release failed without these changes. I believe the failure is because currently crates.io is blocking requests from
curl(#t-crates-io > API requests bounced with 403 since ~3 hours ago @ 💬). If acurlrequest fails the script currently prints nothing and then the continued logic does not handle its own failure, basically we expectcurlto succeed. My hope is that by adding--user-agentit can indeed succeed, and then additionally extra info is printed on failure to help diagnose this in the future.
alexcrichton updated PR #11090.
alexcrichton commented on PR #11090:
I'll also note that in the meantime I manually ran the publish locally and this release at least should be sorted out.
pchickey submitted PR review.
pchickey has enabled auto merge for PR #11090.
pchickey merged PR #11090.
Last updated: Dec 06 2025 at 07:03 UTC