feat: Group pixi-update lockfiles into one pull request - #35
Draft
Yannik Tausch (ytausch) wants to merge 3 commits into
Draft
Yannik Tausch (ytausch) wants to merge 3 commits into
Yannik Tausch (ytausch) wants to merge 3 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #35 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 49 49
Lines 3077 3177 +100
==========================================
+ Hits 3077 3177 +100 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Yannik Tausch (ytausch)
force-pushed
the
yt/pixi-update-group
branch
from
September 18, 2026 12:08
41f7921 to
523dd36
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Motivation
Closes #30.
quant-ranger currently opens one pull request per updated
pixi.toml. Inmonorepos with many manifests this produces a lot of pull requests, and merging
them triggers repeated CI runs. As suggested in the issue, each manifest can now
declare a
groupin its[tool.update]section, and all manifests with the samegroupare published in a single pull request.Changes
groupkey to[tool.update]inpixi.toml. It isbranch-safe (
^[A-Za-z0-9][A-Za-z0-9._/-]*$) because it is used as a branchsegment.
groupare regenerated in onecheckout and published together as one pull request. The branch is
<autoupdate-branch-prefix>/<group>, the title is<autoupdate-commit-message> (<group>), and the body contains one section perchanged lockfile.
autoupdate-branch-prefix,autoupdate-commit-message, andautoupdate-pull-request-labels; adisagreement fails the group instead of silently picking one manifest's values.
body. A failing lockfile only fails its own item; the remaining lockfiles are
still published.
_update_unitsgroups items that sharea run, and
_run_unitexecutes one group, so one updater run can publishseveral items through a single checkout while still emitting one result per
item. Outcome recording is shared between the normal and unexpected-failure
paths. Default behavior (one checkout and one pull request per item) is
unchanged.
pixi-updatereference and the managed-branches table.Notes:
groupis per repository, so it does not introduce a new config file and staysextensible. Groups are keyed by repository and group name.
pixi-diff-to-markdownand concatenated under per-manifest headings. Filteringfor major upgrades/downgrades in
pixi-diff-to-markdownremains a separatefollow-up, since that is upstream work.
pixi.lock(instead of the body table) is not part ofthis change; the current body-table behavior is kept for both grouped and
single-lockfile updates.