Repository navigation
Bump dependencies to fix security alerts - #75
Merged
Merged
Conversation
Dependencies (Cargo.lock): - bytes 1.10.1 -> 1.11.1 (GHSA-434x-w66g-qw3r, CVE-2026-25541) - rand 0.8.5 -> 0.8.6 (GHSA-cq8v-f236-94qc) - e2e: build structopt without default features. This turns off clap 2's color/suggestions/vec_map features and removes atty 0.2.14 (GHSA-g98v-hv3f-hcfr, no patched release) together with ansi_term, strsim 0.8, vec_map and hermit-abi 0.1. - Regenerate dist-material/LICENSE accordingly. time stays at 0.3.41: its fix (0.3.47) requires Rust 1.88, above the project's rust-version / pinned toolchain 1.85. GitHub Actions (ASF-allowed versions): - actions/checkout v2 -> v7 - apache/skywalking-eyes header/dependency and license-eye d299844e -> a196742f (v0.9.0) - codecov/codecov-action v2.1.0 -> v7.1.1, uploading with OIDC (use_oidc, job permissions contents: read / id-token: write), since v7 rejects tokenless uploads from non-fork branches.
wu-sheng
force-pushed
the
bump/security-deps-2026-11
branch
from
November 2, 2026 08:39
77bd1d9 to
f7cc816
Compare
kezhenxu94
approved these changes
Nov 2, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #75 +/- ##
==========================================
+ Coverage 13.29% 15.45% +2.16%
==========================================
Files 21 18 -3
Lines 790 686 -104
==========================================
+ Hits 105 106 +1
+ Misses 685 580 -105 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps dependencies in
Cargo.lockto close open Dependabot alerts.Changes
BytesMut::reserve)bytesandrandare lockfile-only bumps (cargo update -p <crate> --precise <ver>).attycame only from the test-onlye2ecrate:e2e -> structopt 0.3.26 -> clap 2.34.0 (default "color" feature) -> atty.e2e/Cargo.tomlnow usesstructopt = { version = "0.3", default-features = false }, which turns off clap 2'scolor,suggestionsandvec_mapfeatures. This removesatty,ansi_term,strsim 0.8,vec_mapandhermit-abi 0.1fromCargo.lock. The e2e binary only parses one flag, so the only effect is uncolored help output and no "did you mean" suggestions.dist-material/LICENSEregenerated withlicense-eye dependency resolve --summary(same commit as CI).Supersedes #74 (rand 0.8.6; that PR also fails
license-checkbecause LICENSE was not updated).Not changed
timestays at 0.3.41 (GHSA-r6v5-fh4h-64xc / CVE-2026-25727). The only fixed version, 0.3.47 (withtime-core0.1.8), requires Rust 1.88, whilerust-versionandrust-toolchain.tomlare 1.85.timeis pulled only throughsystemstat(optionalmanagementfeature). Fixing it needs an MSRV/toolchain bump to 1.88, left for a separate decision.Verified locally (rustc/cargo 1.85.1 from
rust-toolchain.toml,RUSTFLAGS="-D warnings")All passed:
cargo check --workspace --release --all-featuresandcargo check --workspace --releasecargo clippy --workspace --release --all-features -- -D warningsand the same without featurescargo test --workspace --release --all-featuresandcargo test --workspace --releasecargo fmt --all -- --checke2e --help/--modeparsing still works with structopt default features offlicense-eye header check,license-eye dependency checkandlicense-eye dependency resolve --summary ./dist-material/LICENSE.tplwith both the old pin (d299844e) and v0.9.0; both produce the samedist-material/LICENSENot run locally: the
fmtjob's nightly-2025-03-24 toolchain (stable rustfmt was used; no Rust source changed),doc, codecov/tarpaulin, and the docker-compose e2e. CI covers these.GitHub Actions
Updated to versions allowed by the ASF Actions policy (GitHub-owned and
apache/*actions are allowed org-wide;codecov/codecov-action@*is on the ASF allow list):submodulesinput unchanged. The v7 fork-PR block only affectspull_request_target/workflow_run, which are not used here.config). Thego install license-eye@...in the LICENSE summary step moves to the same commit so the action and summary check use one version.use_oidc: trueplus jobpermissions: contents: read, id-token: write. Without it, v7 rejected the upload from this in-repo branch ("Token required because branch is protected", run 41410827092). With OIDC, the upload for PR head f7cc816 (run 41414700660) and for the master merge commit baa7e41 (push run 41418320645) both succeeded and are processed on Codecov. Fork PRs skip OIDC and use Codecov's tokenless fork upload.fail_ci_if_errorstays at its default (false).E2E
The e2e workflow uses
docker compose(v2) directly onubuntu-24.04and does not useapache/skywalking-infra-e2e, so no infra-e2e re-pin is needed. No docker-compose v1 calls, top-level composeversion:keys or removed runner images were found.