Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .changeset/group-hk-config-with-hk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
---

Group hk-config with hk in the shared Renovate preset
14 changes: 14 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,20 @@ it imports `Defaults.pkl` by relative path, and `PklProject` neither
matches the `.pkl` file pattern nor contains a literal version (its
`packageZipUrl` is an interpolation).

`hk-config` is grouped with `hk` by a `packageRule`, so a consumer with
both pending gets one branch instead of two. The two are mutually
coupled — `Defaults.pkl` is written against a specific hk
`Config`/`Builtins` version, and a consumer's `hk.pkl` pins hk twice (the
`amends` URL and the mise binary) — so either bump landing alone can
break the other direction, and both edit `hk.pkl`, so the second PR
always has to rebase. The rule matches `depName` (`hk-config`, as emitted
by the customManager) rather than `matchSourceUrls`, because the same
source URL also covers `@gtbuchanan/cli`, which does not belong in the hk
group. Grouping doesn't _enforce_ a compatible pair — Renovate still
picks each dep's own latest — it removes the broken intermediate states
and lets one CI run validate the real combination. It's inert in tooling
itself, which has no `hk-config` dep to bump.

### Turbo cache miss on workspace edits

A source change in a `packages/*` workspace often invalidates every
Expand Down
10 changes: 10 additions & 0 deletions default.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,16 @@
"https://github.com/jdx/hk"
]
},
{
"description": "Fold hk-config into the hk group — Defaults.pkl is built against a specific hk Config/Builtins version, so the amends pin and the hk-config import must move together or both intermediate states break. Matched by depName (emitted by the hk-config customManager above), not by source URL: gtbuchanan/tooling also publishes @gtbuchanan/cli, which must stay out of this group",
"groupName": "hk",
"matchDatasources": [
"github-releases"
],
"matchDepNames": [
"hk-config"
]
},
Comment thread
coderabbitai[bot] marked this conversation as resolved.
{
"description": "Group pkl updates (mise tool + .chezmoidata version comment share one apple/pkl release)",
"groupName": "pkl",
Expand Down