Skip to content

[branch-56] ci: fix security audit by bumping url to 2.5.9 (backport #27662) - #27882

Merged
alamb merged 1 commit into
apache:branch-56from
xudong963:backport-56/27662-url-2.5.9
Dec 1, 2026
Merged

alamb merged 1 commit into
apache:branch-56from
xudong963:backport-56/27662-url-2.5.9

Conversation

@xudong963

Copy link
Copy Markdown
Member

Which issue does this PR close?

Rationale for this change

The security_audit job fails on branch-56: RUSTSEC-2026-0592 (published 2026-11-20) flags url 2.5.8, and the fix is in 2.5.9. The job only runs when a PR changes a Cargo.toml or Cargo.lock, so it shows up on backports that add a dependency, for example #27846.

What changes are included in this PR?

A clean cherry-pick of #27662 (eebb862) with -x. In Cargo.lock, url goes from 2.5.8 to 2.5.9 and form_urlencoded from 1.2.2 to 1.2.3. No other files change. This follows #27542, which fixed an earlier cargo audit failure on this branch the same way.

What is the testing strategy for this PR?

  • cargo metadata --locked passes, so the lockfile is still consistent.
  • cargo deny check advisories reports RUSTSEC-2026-0592 against the current branch-56 lockfile and no longer reports it with this change. The entries left are the unmaintained and yanked warnings that cargo audit already allows.

Are there any user-facing changes?

No.

## Which issue does this PR close?

- None, ci fix.

## Rationale for this change

The security audit job has been failing since
[RUSTSEC-2026-0592](https://rustsec.org/advisories/RUSTSEC-2026-0592)
was published for url 2.5.8. the fix is in 2.5.9.

## What changes are included in this PR?

`cargo update -p url --precise 2.5.9`, which also bumps form_urlencoded
to 1.2.3.

## What is the testing strategy for this PR?

`ci/scripts/security_audit.sh` passes locally, and so does `cargo check
--workspace --all-targets`.

## Are there any user-facing changes?

No.

(cherry picked from commit eebb862)
@xudong963
xudong963 marked this pull request as ready for review December 1, 2026 02:36
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.31%. Comparing base (12d8e90) to head (7841d9b).
⚠️ Report is 1 commits behind head on branch-56.

Flag Coverage Δ
all-tests 83.31% <ø> (-0.01%) ⬇️
sqllogictests 60.88% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@@              Coverage Diff              @@
##           branch-56   #27882      +/-   ##
=============================================
- Coverage      83.31%   83.31%   -0.01%     
=============================================
  Files           1171     1171              
  Lines         477062   477062              
  Branches      477062   477062              
=============================================
- Hits          397480   397470      -10     
- Misses         55523    55531       +8     
- Partials       24059    24061       +2     

see 6 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@xudong963
xudong963 requested a review from zhuqi-lucas December 1, 2026 06:39

@alamb alamb 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.

Thank you

@alamb
alamb merged commit acb71a3 into apache:branch-56 Dec 1, 2026
39 checks passed
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.

4 participants