Skip to content

packaging: publish Windows MSI checksums - #12896

Open
git-jxj wants to merge 2 commits into
fluent:masterfrom
git-jxj:fix/publish-windows-msi-checksums
Open

git-jxj wants to merge 2 commits into
fluent:masterfrom
git-jxj:fix/publish-windows-msi-checksums

Conversation

@git-jxj

@git-jxj git-jxj commented Dec 2, 2026 •

Copy link
Copy Markdown

Refs #12306

Windows MSI installers are uploaded with the EXE and ZIP packages, but the
checksum step only produces files for EXE and ZIP. That leaves MSI users
without an official SHA-256 file to verify their download.

Generate a .msi.sha256 beside each MSI and verify it during release
promotion whenever the matching MSI is present. Older release sets without MSI
packages remain valid. The packaging guide shows how to find and use the
checksum file. This applies to future release runs.

Testing

Ran the checksum generation and release validation scripts with package
fixtures for Win32, Win64, and Windows ARM64. The regression tests check the
manifest contents, rejection of a missing checksum or modified MSI, and
compatibility with older releases. The full release suite passed all 65 tests.
Live S3 promotion is part of the release workflow.

  • [N/A] Example configuration file for the change
  • Test results are included above
  • [N/A] Valgrind output
  • [N/A] Local installer build matrix
  • Maintainer packaging CI, if needed

Documentation

  • Updated the Windows section of the packaging guide

Backporting

  • Backport to latest stable release

Summary by CodeRabbit

  • Bug Fixes
    • Windows release checksums are now generated and verified for MSI installers as well as EXE and ZIP packages.
    • Release validation accepts older Windows releases that don’t include MSI or ARM64 packages, while still checking any packages that are present.
  • Documentation
    • Added instructions for verifying Windows package SHA-256 checksums.

Signed-off-by: xinjun.jiang <xinjun.jiang@daocloud.io>
Signed-off-by: xinjun.jiang <xinjun.jiang@daocloud.io>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-02T03:56:38.831573Z e5961b3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Windows packaging scripts now generate SHA-256 sidecars for MSI packages and validate MSI files when present, while supporting releases without MSI or ARM64 packages. The PR adds tests and documents how to verify package checksums.

Changes: Windows package checksums

Layer / File(s) Summary
Generate checksums for Windows packages
.github/scripts/tests/test_release_windows_packages.py, packaging/windows-checksums.sh
The checksum script writes SHA-256 sidecars for EXE, ZIP, and MSI packages. Tests cover checksum generation and verification across Windows architectures and package formats.
Validate package checksums and document verification
packaging/validate-windows-release-packages.sh, .github/scripts/tests/test_release_windows_packages.py, packaging/README.md
Release validation checks MSI packages when present and supports older releases without MSI or ARM64 packages. Tests cover missing or mismatched MSI checksums and older releases. The README documents checksum verification.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Feature

Possibly related issues

  • fluent/fluent-bit#12306: The PR adds MSI checksum generation and validation, matching the missing-MSI-hash objective. The issue describes the current published state, and this diff does not establish that published artifacts are fixed.
Merge Risk: Minimal · up to e5961

This change adds SHA-256 checksum files for Windows MSI installers and validates them during release promotion, while older releases without MSI packages still pass. No actionable merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "packaging: publish Windows MSI checksums" matches the main change. The PR adds SHA-256 checksum generation for Windows MSI installers in packaging/windows-checksums.sh, extends release vali…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "packaging: publish Windows MSI checksums" matches the main change. The PR adds SHA-256 checksum generation for Windows MSI installers in packaging/windows-checksums.sh, extends release validation to check MSI checksums when an MSI is present, and documents the checksum verification in packaging/README.md. The title is short, specific, and names the primary change. It does not cover the validation or documentation changes, which is acceptable.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 10a4f30e-76e5-4d83-a118-6ea0cd8984e8
Commits

Reviewing files that changed from the base of the PR and between 984519c and e5961b3.

Files selected for processing: 4

  • .github/scripts/tests/test_release_windows_packages.py
  • packaging/README.md
  • packaging/validate-windows-release-packages.sh
  • packaging/windows-checksums.sh

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant