Skip to content

fix(sbom): preserve portable Ruff hash locks - #226

Draft
seonghobae wants to merge 6 commits into
mainfrom
repair/ruff-0.16.3-multihash-lock
Draft

fix(sbom): preserve portable Ruff hash locks#226
seonghobae wants to merge 6 commits into
mainfrom
repair/ruff-0.16.3-multihash-lock

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

Buyer problem

Ruff 0.16.3 publishes several platform-specific artifacts. Dependabot correctly records all reviewed SHA-256 hashes, but the release-SBOM validator rejected any lock entry with more than one hash, so every supported Python CI lane failed before release evidence could be generated.

Repair

This branch retains the Ruff 0.16.3 exact version and reviewed hashes, then changes the deterministic lock parser to accept one or more unique canonical SHA-256 digests for a pinned package. Runtime SBOM components must still match the pinned version and marker and their reviewed digest must be a member of the immutable hash set.

The bounded repair adds focused regressions for portable multi-hash entries, duplicate-hash rejection, and manifest-digest membership, updates the changelog, executes the complete hash-locked test/coverage/compile suite, and removes its one-shot writer workflow before delivery.

Scope

  • Supersedes Dependabot PR chore(deps): bump ruff from 0.16.1 to 0.16.3 #224 once the verified repair commit is present.
  • Does not change egress runtime behavior, public API, release credentials, or provider policies.
  • Does not weaken artifact digest validation or runtime SBOM traceability.

dependabot Bot and others added 4 commits August 16, 2026 20:04
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.16.1 to 0.16.3.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.16.1...0.16.3)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.16.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@coderabbitai

coderabbitai Bot commented Aug 18, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: e4c12a33-f8c2-4ab2-8b46-e1f1a5b84ca7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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

Comment @coderabbitai help to get the list of available commands.

- .github/workflows/repair-pr-224.yml

permissions:
contents: write
runs-on: ubuntu-24.04
timeout-minutes: 45
permissions:
contents: write
- .github/workflows/repair-pr-226-multihash.yml

permissions:
contents: write
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.

2 participants