Skip to content

chore(deps): bump cargo-dist to 0.34.0 - #641

Merged
jcarver989 merged 1 commit into
mainfrom
chore/cargo-dist-0.34.0
Nov 2, 2026
Merged

jcarver989 merged 1 commit into
mainfrom
chore/cargo-dist-0.34.0

Conversation

@blimmer

@blimmer blimmer commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

AWS Inspector is flagging 32 high and critical CVEs in one of our images, and they all come from the npm-shrinkwrap.json that ships in @aether-agent/cli:

Package Version CVEs
axios 1.13.5 21 (4 critical)
brace-expansion 5.0.2 7
minimatch 10.2.0 3
form-data 4.0.5 1

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 http and https modules (axodotdev/cargo-dist#2350). I built the npm package locally with 0.34.0 and detect-libc is 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.

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.
@blimmer
blimmer force-pushed the chore/cargo-dist-0.34.0 branch from ac89433 to ea414f7 Compare November 2, 2026 22:48
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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@blimmer
blimmer marked this pull request as ready for review November 2, 2026 22:49
@blimmer
blimmer requested a review from jcarver989 November 2, 2026 22:49

@clankerboi clankerboi Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@jcarver989 jcarver989 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jcarver989
jcarver989 merged commit 1b33822 into main Nov 2, 2026
20 checks passed
@jcarver989
jcarver989 deleted the chore/cargo-dist-0.34.0 branch November 2, 2026 22:59
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.

2 participants