Skip to content

chore(deps): bump tokio/serde/clap/regex/uuid/futures/syn and friends#571

Merged
githubrobbi merged 2 commits into
mainfrom
chore/deps-version-bumps
Jul 20, 2026
Merged

chore(deps): bump tokio/serde/clap/regex/uuid/futures/syn and friends#571
githubrobbi merged 2 commits into
mainfrom
chore/deps-version-bumps

Conversation

@githubrobbi

Copy link
Copy Markdown
Collaborator

Summary

  • Version bumps: tokio 1.52.3->1.53.1, futures 0.3.32->0.3.33, serde 1.0.228->1.0.229, serde_json 1.0.150->1.0.151, toml 1.1.2->1.1.3, bitflags 2.13.0->2.13.1, bytemuck 1.25.1->1.25.2, thiserror 2.0.18->2.0.19, anyhow 1.0.103->1.0.104, clap 4.6.1->4.6.3, regex 1.13.0->1.13.1, globset 0.4.18->0.4.19, which 8.0.4->8.0.5, uuid 1.23.5->1.24.0.
  • Cargo.lock updated via targeted cargo update -p <crate> per bumped pin (not a full relock), keeping the transitive blast radius to exactly the ~30 packages these ranges touch.
  • cargo-vet: every newly-unvetted crate certified at safe-to-deploy -- scoped per-package publisher-trust grants for already-trusted-publisher patch/minor bumps, plus real delta-diff review (checked for unsafe/capability changes) for the rest, including a full manual review of syn's 2.0->3.0 major bump given its foundational role. cargo vet prune removed the exemptions these certifications superseded.
  • Also fixes a pre-existing, unrelated anti_pattern_gate.sh failure found while validating this branch: a lossy UTF-16 decode in uffs-vss-requestor whose output (snapshot_device_object) ends up passed to CreateFileW in the LocalSystem-privileged Broker -- switched to strict String::from_utf16 (returns None, already a handled case, on malformed input) instead of silently substituting. A second, genuinely display-only lossy decode in uffs-broker's VSS helper got the gate's AUDIT-OK(bytes) marker instead, since the real session lookup there already keys off the raw bytes.

Test plan

  • cargo vet check / --locked -- Vetting Succeeded
  • cargo deny check -- advisories/bans/licenses/sources ok
  • just go (full local gate suite) -- green
  • git push pre-push gate (fmt, drift checks, vet-audit-discipline, lint-ci(-windows), doc-tests, tests, smoke, deny) -- all 22 gates green

read_optional_wide's snapshot_device_object ends up passed to CreateFileW
in the Broker (a LocalSystem service) to open the actual snapshot volume;
a lossy UTF-16 substitution on malformed shim input would silently turn
it into a different-but-plausible path instead of surfacing the problem.
Switch to String::from_utf16, returning None (already a handled case for
every caller) on invalid encoding.

Mark the one genuinely display-only lossy decode (a tracing log field in
uffs-broker's VSS helper, where the actual session lookup already keys
off the raw bytes) with the anti-pattern gate's AUDIT-OK(bytes) escape
hatch instead.

Pre-existing anti_pattern_gate.sh failure, unrelated to this branch's
dependency bumps; fixed here rather than left broken.
Version-bumps: tokio 1.52.3->1.53.1, futures 0.3.32->0.3.33, serde
1.0.228->1.0.229, serde_json 1.0.150->1.0.151, toml 1.1.2->1.1.3,
bitflags 2.13.0->2.13.1, bytemuck 1.25.1->1.25.2, thiserror 2.0.18->
2.0.19, anyhow 1.0.103->1.0.104, clap 4.6.1->4.6.3, regex 1.13.0->
1.13.1, globset 0.4.18->0.4.19, which 8.0.4->8.0.5, uuid 1.23.5->1.24.0.

Cargo.lock updated via targeted `cargo update -p <crate>` per bumped
pin (not a full relock) to keep the transitive blast radius to exactly
the ~30 packages these ranges actually touch.

cargo-vet: certified every newly-unvetted crate at safe-to-deploy --
scoped per-package trust grants for already-trusted-publisher patch/
minor bumps (dtolnay: anyhow/serde/serde_core/serde_derive/thiserror/
thiserror-impl; epage: clap/clap_derive/clap_builder/toml/toml_writer;
BurntSushi: regex/globset/regex-automata; Darksonn: tokio), plus real
delta-diff certifications (reviewed for unsafe/capability changes) for
the rest, including a full manual review of syn's 2.0->3.0 major bump
despite the large diff, given its foundational role. `cargo vet prune`
removed the exemptions these certifications superseded.

cargo deny check: clean (pre-existing duplicate-version warnings only).
@githubrobbi
githubrobbi added this pull request to the merge queue Jul 20, 2026
Merged via the queue into main with commit 1edbd7e Jul 20, 2026
22 checks passed
@githubrobbi
githubrobbi deleted the chore/deps-version-bumps branch July 20, 2026 20:27
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.

1 participant