You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: fast-track and auto-merge reference data, such as CA root bundles - #8
After the eMudhra intermediate CA compromise, clients that bundle their own trust store stay exposed until that dependency updates. This makes those updates fast by default.
New dependency kind reference-data, added on top of a dependency's own kind for packages that ship data rather than code: CA roots (certifi, webpki-roots, webpki-root-certs, golang.org/x/crypto/x509roots/fallback, composer/ca-bundle), time zone data (tzdata, pytz, chrono-tz, tzinfo-data) and the public suffix list (publicsuffixlist, psl, tldts, public_suffix).
The schema's rules now starts with a built-in rule: for reference-data, waitHours = 0, no windows, group = "" (its own PR) and merge = true. Checks, required reviews and branch protection still gate the merge. Repository rules apply after it and can change it; assigning a new rules Listing drops it.
The kinds selector and the report's metadata.kinds include the extra kind.
Docs: a reference data section in the configuration guide, notes in auto-merge, release age, getting started and the README, and a departure.
Not covered: root certificates inside container images (OS packages; the Count only sees the image digest), and prs limits, which can still hold a reference data PR.
Packages that ship data rather than code (certifi, webpki-roots, Go's
x509roots/fallback, tzdata, the public suffix list and others) also have
the kind reference-data. The schema's first rule gives their updates no
release-age wait and no schedule window, their own PR, and auto-merge once
checks pass, so a trust store picks up a CA distrust quickly. Checks,
reviews and branch protection still gate the merge, and a repository rule
can change it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
We reviewed changes in df9ebd3...3c615d8 on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.
Some issues found as part of this review are outside of the diff in this pull request and aren't shown in the inline review comments due to GitHub's API limitations. You can see those issues on the DeepSource dashboard.
AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.
…rom its upgrade
Sharing the dependency's upgrade branch put two targets on one line, so
both were skipped as overlapping edits.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The reason will be displayed to describe this comment to others. Learn more.
🟡 Reference data pins ignore configured groups
When a rule assigns a group, reference_data pins still get separate package branches. The pin branch takes precedence over update.group, so those updates never join their configured group.
Learn more
A rule can assign a nonempty group to override the default separate-PR policy for reference data. Evaluator::effective carries that override into update.group. Planning selects the pin-specific branch before checking that field, so every reference data pin ignores the configured group. A reference data pin can consequently stay outside a manually curated group while the package's version updates follow the rule.
Example: A rule groups psl and tldts as suffix-data. Their pin proposals go to pin-psl and pin-tldts, rather than joining the suffix-data branch.
Recommended fix: Check a nonempty update.group before selecting the reference-data pin branch, while preserving the shared-pins behavior for non-reference dependencies. Add a planning test with a reference-data pin carrying an explicit group.
Was this helpful? React with 👍 or 👎 to provide feedback.
…of groups
Reference data pins keep their own branch even under a group, like other
pins, so a pin and the grouped upgrade never edit one line together.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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
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.
After the eMudhra intermediate CA compromise, clients that bundle their own trust store stay exposed until that dependency updates. This makes those updates fast by default.
reference-data, added on top of a dependency's own kind for packages that ship data rather than code: CA roots (certifi,webpki-roots,webpki-root-certs,golang.org/x/crypto/x509roots/fallback,composer/ca-bundle), time zone data (tzdata,pytz,chrono-tz,tzinfo-data) and the public suffix list (publicsuffixlist,psl,tldts,public_suffix).rulesnow starts with a built-in rule: forreference-data,waitHours = 0, no windows,group = ""(its own PR) andmerge = true. Checks, required reviews and branch protection still gate the merge. Repository rules apply after it and can change it; assigning a newrulesListing drops it.kindsselector and the report'smetadata.kindsinclude the extra kind.Not covered: root certificates inside container images (OS packages; the Count only sees the image digest), and
prslimits, which can still hold a reference data PR.🤖 Generated with Claude Code