Skip to content

[main] Forward-port Brotli 1.1.1 update - #10451

Merged
rbhanda merged 1 commit into
mainfrom
users/rbhanda/oob-20261025-brotli-main
Oct 26, 2026
Merged

rbhanda merged 1 commit into
mainfrom
users/rbhanda/oob-20261025-brotli-main

Conversation

@rbhanda

@rbhanda rbhanda commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Forward-port the released .NET 11 RC3 Brotli 1.1.1 update to main.

  • Carry the decoder block-switch validation and error propagation changes, not just the version number.
  • Update the vendored version/ABI metadata, decoder error definitions, changelog, and component-governance manifest together.
  • Preserve the released seven-file change without unrelated servicing changes.

Source

Clean forward-port of public commit 585de8fee518a4b3ee825e9b9cc34c48ffc8f3d0, included in public tag v11.0.0-rc.3.26522.148.

@rzikm, please review the forward-port and confirm the vendored update and validation needed on main.

Validation

  • git diff --check passed.
  • The stable patch ID matches the published source commit; all seven files applied without conflicts.
  • The modified component-governance JSON parses successfully and has no duplicate properties.
  • Native compilation and compression regression tests have not been run locally: CMake and a Visual C++ toolchain are unavailable in this environment. The required runtime preview .NET SDK is also not installed.
  • Native build/test CI and owner approval are still required. This PR is intentionally a draft.

Note

This PR was prepared with GitHub Copilot.

(cherry picked from commit 585de8f)

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6d2559fe-05fb-4a93-9b04-40c9ac80fbd5
@rbhanda
rbhanda requested a review from rzikm October 25, 2026 21:40
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team October 25, 2026 21:41
@rbhanda
rbhanda marked this pull request as ready for review October 25, 2026 22:00
Copilot AI balanced review requested due to automatic review settings October 25, 2026 22:00
@rbhanda
rbhanda enabled auto-merge October 25, 2026 22:01

Copilot AI 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.

🔵 Needs a closer look

The security-sensitive native decoder update still requires successful native build and regression-test CI plus owner approval.

No open issues 🎉

What changed in this PR

Forward-ports the released Brotli 1.1.1 update into the runtime’s vendored sources, carrying decoder validation changes alongside version and component-tracking metadata.

Changes:

  • Reject invalid block switches and propagate decoder errors through both safe and fast decoding paths.
  • Align version, ABI, changelog, and component-governance metadata with Brotli 1.1.1.
  • Add Bazel exclusions for nested workspaces.
File Description
src/​runtime/​src/​native/​external/​cgmanifest.json Updates the tracked Brotli commit.
src/​runtime/​src/​native/​external/​brotli/​CHANGELOG.md Documents the 1.1.1 security release.
src/​runtime/​src/​native/​external/​brotli/​c/​include/​brotli/​decode.h Defines the block-switch format error.
src/​runtime/​src/​native/​external/​brotli/​c/​dec/​decode.c Adds block-switch validation and error propagation.
src/​runtime/​src/​native/​external/​brotli/​c/​common/​version.h Updates patch version and ABI revision.
src/​runtime/​src/​native/​external/​brotli/​.bazelignore Excludes nested Bazel workspaces.
src/​runtime/​src/​native/​external/​brotli-version.txt Updates the vendored version and release URL.

Review effort: Balanced

@rbhanda
rbhanda merged commit c22f44c into main Oct 26, 2026
12 checks passed
@rbhanda
rbhanda deleted the users/rbhanda/oob-20261025-brotli-main branch October 26, 2026 00:02
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