Repository navigation
chore(deps): bump cargo-dist to 0.34.0 - #641
Conversation
cargo-dist 0.32.0 dropped axios and rimraf from the npm installer, which removes the vulnerable axios, form-data, minimatch, and brace-expansion versions from the @aether-agent/cli npm-shrinkwrap.json. Also bumps upload-artifact to v7 and download-artifact to v8 to match what dist 0.34.0 generates.
ac89433 to
ea414f7
Compare
| run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.34.0/cargo-dist-installer.sh | sh" | ||
| - name: Cache dist | ||
| uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 | ||
| uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 |
There was a problem hiding this comment.
I didn't run dist generate since it'd wipe out our hand edits to this workflow, like the pinned SHAs and the bump-ts-packages job.
Instead I diffed what 0.31.0 and 0.34.0 generate for our config. The artifact actions are the only other change, and Dependabot ignores those for us, so I bumped them by hand.
| # failing. otherwise `sh` won't catch that `curl` returned non-0 | ||
| shell: bash | ||
| run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.31.0/cargo-dist-installer.sh | sh" | ||
| run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.34.0/cargo-dist-installer.sh | sh" |
There was a problem hiding this comment.
Bumping dist also moves our Apple Silicon build from macos-14 to macos-15. dist picks runners in the plan job, and 0.34.0 changed the default (axodotdev/cargo-dist#2555).
GitHub is retiring macos-14 and failing jobs on it during brownouts (https://github.blog/changelog/2026-10-01-github-actions-macos-14-runner-image-retirement/). plan on this PR picks macos-15, but the open release PR (#640) still picks macos-14.
There was a problem hiding this comment.
Auto approve: this updates release tooling only, with consistent cargo-dist version pins and matching artifact actions. The release-plan check passes and selects macos-15. No obvious bugs or AWS infrastructure, database schema, or HTTP API changes found. Merging to main does not publish a release. Remaining CI checks should pass before merge.
AWS Inspector is flagging 32 high and critical CVEs in one of our images, and they all come from the
npm-shrinkwrap.jsonthat ships in@aether-agent/cli:cargo-dist generates that shrinkwrap for its npm installer. npm installs it exactly as written, so patchwave can't override those versions. Dependabot doesn't track the cargo-dist version either, which is how we're still on 0.31.0.
0.32.0 swapped axios and rimraf for Node's built-in
httpandhttpsmodules (axodotdev/cargo-dist#2350). I built the npm package locally with 0.34.0 anddetect-libcis the only dependency left in the shrinkwrap.I went with 0.34.0 over 0.33.1 because it also moves our Apple Silicon build off
macos-14, which GitHub is retiring. It only came out today, though, and we normally wait 7 days on Dependabot bumps. Feedback welcome.