Skip to content

deps(deps): bump github.com/scttfrdmn/cargoship from 0.18.0 to 0.23.0 - #426

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/github.com/scttfrdmn/cargoship-0.23.0
Aug 14, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/github.com/scttfrdmn/cargoship-0.23.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

Bumps github.com/scttfrdmn/cargoship from 0.18.0 to 0.23.0.

Release notes

Sourced from github.com/scttfrdmn/cargoship's releases.

v0.23.0

CargoShip v0.23.0

Release Date: 2026-08-04T07:08:46Z

High-performance S3 upload tool with intelligent sharding, compression, and cost management.

Installation

Homebrew (macOS/Linux):

brew install scttfrdmn/tap/cargoship

Scoop (Windows):

scoop bucket add scttfrdmn https://github.com/scttfrdmn/scoop-bucket
scoop install cargoship

Go Install:

go install github.com/scttfrdmn/cargoship/cmd/[email protected]

Direct Download: Download the appropriate binary for your platform below.

Changelog

Bug Fixes

  • 7615a8337c09a511e8d587c22cb32fcae89f3f50: fix(cli)!: exit 1/2 per the documented convention, not a flat 3 (#403) (@​scttfrdmn)
  • b83945a57ec78ea8f5ad2bfe8b7283ef813d8e7b: fix(gpg)!: encrypt private keys at rest; stop defaulting to $TMPDIR (#400) (@​scttfrdmn)

Documentation

  • 1f356ce5b23506c0380f89f656df111e393ed8f4: docs(security): document pre-v0.23.0 key rotation; drop unused private key fixture (#402) (@​scttfrdmn)

Other

  • 4288c81b9f137ea82d7ff7e7ab751b49dc0c04dd: chore(deps-dev): bump postcss from 8.5.21 to 8.5.25 in /docs (#356) (@​dependabot[bot])
  • c2be2bc79ddbde572d1a293809746d0e6cd21784: chore(release): v0.23.0 — Key Material & Contracts ( <>)
  • 2d50d5f59981f2c68d314d83b2c2b3452b717d05: ci(deps): bump actions/checkout from 6.0.3 to 7.0.1 (#368) (@​dependabot[bot])
  • 2155e3ed086b20c292c67625da7484a60083cf06: ci(deps): bump actions/setup-go from 6.5.0 to 7.0.0 (#369) (@​dependabot[bot])
  • 0a7d3c33189f67dee7e2ea0e1c7886ab12b44f14: ci(deps): bump pypa/gh-action-pypi-publish from 1.14.0 to 1.14.1 (#367) (@​dependabot[bot])
  • 2ef457eff11df7b559679e9756a3b6d73b85860d: deps(deps): bump github.com/klauspost/cpuid/v2 from 2.3.0 to 2.4.0 (#375) (@​dependabot[bot])
  • 4764622ffda7af4620a8da5f06a0e50306ccd375: deps(deps): bump github.com/ncruces/go-strftime from 0.1.9 to 1.0.0 (#376) (@​dependabot[bot])
  • b5715d62dcb02c51ed093b4d657147e2822c9e2f: deps(deps): bump go.yaml.in/yaml/v3 from 3.0.4 to 3.0.5 (#377) (@​dependabot[bot])
  • 6e022fbdfd1076c287e86e7c636fd811ff3f6688: deps(deps): bump golang.org/x/sync from 0.21.0 to 0.22.0 (#372) (@​dependabot[bot])
  • b7b825931e3498fe04ef14fe36ec5b2d4518d3b0: deps: bump 19 of 20 aws-sdk modules, hold feature/s3/manager (#384) (#387) (@​scttfrdmn)
  • 1aa2516e1ced0ed3fd2feb59ea6c056fd629126d: deps: merge the remaining Dependabot bumps; keep nested modules in sync (#385) (@​scttfrdmn)
  • 2cb964778d4165c1a80bb26c73a0a8c928b5b5d6: test(multiregion): stop asserting a timing race between two loops (#405) (@​scttfrdmn)

... (truncated)

Changelog

Sourced from github.com/scttfrdmn/cargoship's changelog.

[0.23.0] - 2026-08-04

Key Material & Contracts. Two breaking changes, both closing a gap between what CargoShip documented and what it did. create keys wrote an unencrypted private key and defaulted its destination to $TMPDIR — plaintext key material in a directory that, on the shared HPC systems CargoShip targets, is often a cleanup-policy-governed shared filesystem. And every failure exited 3, a code in no documentation, so a caller could not distinguish a mistyped flag from a transfer that genuinely failed.

The theme continues v0.22.0's: the interesting failures are in the guards, not the features. A --type flag was accepted and ignored. A test leaked a private key into $TMPDIR on every run. goreleaser check had never run in CI, so a deprecated stanza sat in the release config across six releases — and the same stanza had been publishing the wrong software licence the whole time. A perf test asserted an ordering between two loops whose margin narrows to 4% under load, so it failed in CI and never locally.

Security

  • GPG private keys are now encrypted at rest, and no longer default to $TMPDIR (#399, #398). KeyOpts.Passphrase had been declared since the field was introduced but was read nowhere in the repo — NewKeyPair never called Lock(), so every private key cargoship create keys ever produced was plaintext PGP key material. Confirmed on a generated key (IsLocked() == false), not inferred from the code. cargoship create keys now prompts for a passphrase (or reads CARGOSHIP_GPG_PASSPHRASE) and refuses to generate an unprotected key without an explicit --no-passphrase. There is deliberately no --passphrase flag: a flag value lands in shell history, ps output, and CI logs.

    If you generated a key pair with an earlier version, its private key is unencrypted. No code change can retroactively protect a file already on disk. Note also that archives are encrypted to the public key, so a new key pair does not protect data already uploaded — anyone holding the old private key can still decrypt it. See Rotating a key generated before v0.23.0 for the full procedure, including what rotation does and does not achieve.

  • Removed an unused plaintext private key from the repository. pkg/testdata/fakey-private.key was a 2022 GopenPGP test fixture that nothing referenced; its only mention anywhere was a .gitleaks.toml entry allowlisting all of pkg/testdata/ so the secret scanner would not flag it. That blanket suppression is now narrowed to specific paths, so a private key added to that tree in future fails the scan instead of being silently ignored. The fixture never protected real data, so its two 2022 commits are allowlisted by exact path rather than rewriting public history.

  • postcss 8.5.21 → 8.5.25 in docs/ (GHSA-fxqj-rqcc-2cmp, moderate): an

... (truncated)

Commits
  • c2be2bc chore(release): v0.23.0 — Key Material & Contracts
  • 2cb9647 test(multiregion): stop asserting a timing race between two loops (#405)
  • ab49094 ci: validate .goreleaser.yml on every PR; fix the declared license (#404)
  • 7615a83 fix(cli)!: exit 1/2 per the documented convention, not a flat 3 (#403)
  • 1f356ce docs(security): document pre-v0.23.0 key rotation; drop unused private key fi...
  • b83945a fix(gpg)!: encrypt private keys at rest; stop defaulting to $TMPDIR (#400)
  • b7b8259 deps: bump 19 of 20 aws-sdk modules, hold feature/s3/manager (#384) (#387)
  • 63a2622 docs: record the postcss bump in the changelog (#386)
  • 4288c81 chore(deps-dev): bump postcss from 8.5.21 to 8.5.25 in /docs (#356)
  • 1aa2516 deps: merge the remaining Dependabot bumps; keep nested modules in sync (#385)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added automerge Eligible for Dependabot auto-merge (minor/patch, CI green) dependencies Dependency updates (Dependabot) go Go module dependency labels Aug 10, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) August 10, 2026 09:14
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/scttfrdmn/cargoship-0.23.0 branch from 20d095e to ff795af Compare August 14, 2026 03:31
Bumps [github.com/scttfrdmn/cargoship](https://github.com/scttfrdmn/cargoship) from 0.18.0 to 0.23.0.
- [Release notes](https://github.com/scttfrdmn/cargoship/releases)
- [Changelog](https://github.com/scttfrdmn/cargoship/blob/main/CHANGELOG.md)
- [Commits](scttfrdmn/cargoship@v0.18.0...v0.23.0)

---
updated-dependencies:
- dependency-name: github.com/scttfrdmn/cargoship
  dependency-version: 0.23.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/scttfrdmn/cargoship-0.23.0 branch from ff795af to 912a8e8 Compare August 14, 2026 04:36
@github-actions
github-actions Bot merged commit 679f062 into main Aug 14, 2026
42 checks passed
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/scttfrdmn/cargoship-0.23.0 branch August 14, 2026 04:41
scttfrdmn added a commit that referenced this pull request Sep 18, 2026
… (#527)

* test(fuse): own the flight-sharing follower path the coverage flake lived in (#438)

* test(fuse): make the failed-leader branch load-bearing (#438)

* test(fuse): own join directly, and fail fast when a failed flight stays advertised (#438)

* fix(coverage): stop internal/fuse's floor flaking on runner load (#438)

The coverage gate failed PR #426 — a cargoship bump that internal/fuse
does not import — at 71.8% against a floor of 72, and a rerun of the same
commit passed at 72.5%. That is a 0.5-point margin being decided by how
loaded the runner was.

Both profiles are still on the run. Downloading them and diffing the
uncovered block sets names the difference exactly: eight statements, all of
them one arm, and nothing else in the package moved.

  filesystem.go:1149-1155  fetch serving a follower from a GET in flight
  filesystem.go:183-189    inflightFetch.slice, reachable only from there
  filesystem.go:1292-1294  coveringLocked's returning branch

A follower only exists when a second read for a contained range arrives
while the first GET is still outstanding. An idle machine arranges that by
accident; a loaded runner finishes the first GET before the second read
starts, `join` returns nil, and all eight statements go unexecuted. So the
arm was covered by luck, and #438 is what luck looks like when it runs out.

Five tests now own it, and they construct the leader rather than racing for
one: registered through start, given its result directly, done closed
without going through finish. That is the state a real follower observes,
since finish removes a fetch from the map before closing done.

Running the new tests alone covers all eight statements, plus six that no
run had ever executed: slice's short-leader rejection, three statements of
the double-check window between join and start, and fetch's error return.
Darwin goes 823/1140 to 829/1140.

Six mutations, each caught:

  slice drops the negative-start check      the slice table
  slice checks claimed length, not held     the short-leader test
  join never finds a leader                 the join table
  fetch ignores the leader's error          the failed-leader test
  coveringLocked never matches              three tests, incl. two existing
  fetch returns before retiring the flight  the error test

Two of those changed the tests. `join` returning nil is invisible to any
GET-count assertion, because fetch falls through to start and start's own
coveringLocked finds the same leader — so join is an optimization and
needed owning directly rather than through fetch. And the failed-leader
test passed with or without the `leader.err == nil` check, because
fetchUncached returns nil data on failure and slice rejects the leader on
length alone; the leader there now holds bytes it must not hand over, which
is what makes the branch load-bearing.

The error test also uses Fatal rather than Error on the still-advertised
check. Continuing past it joins a flight whose done channel nothing closes,
which turned that mutation from a 0.05s failure into a ten-minute package
timeout naming a goroutine instead of a cause.

The floor stays at 72. Ratcheting to the new measurement would spend the
margin this work exists to create.

Two corrections to .coverage-floors while in there, both measured. The
darwin/linux gap is not a denominator difference — coverage counts
statements, and unmount_path_linux.go and unmount_path_darwin.go
contribute 2 each, so both platforms total 1140; the gap is seven blocks in
mount.go and xattr.go. The denominator does move with the toolchain, which
is larger and was not known: Go 1.26.6 counts 1140 statements where Go
1.27.1 counts 1790, splitting blocks more finely. A GOTOOLCHAIN=auto
machine with a newer Go than go.mod's gets the finer granularity silently,
so a local floor check has to pin the toolchain — and every floor in that
file shifts when CI's Go moves to 1.27.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Eligible for Dependabot auto-merge (minor/patch, CI green) dependencies Dependency updates (Dependabot) go Go module dependency

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants