Skip to content

fix: pin npm:cpd to 5.0.10, catch custom.regex managers in mise.toml Renovate rule - #50

Merged
hugoh merged 3 commits into
mainfrom
fix/cpd-and-renovate
Jul 23, 2026
Merged

fix: pin npm:cpd to 5.0.10, catch custom.regex managers in mise.toml Renovate rule#50
hugoh merged 3 commits into
mainfrom
fix/cpd-and-renovate

Conversation

@hugoh

@hugoh hugoh commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add tombi lint/format steps for template/mise.toml.jinja (its .jinja extension kept it out of tombi's default **/*.toml glob).
  • Broaden the mise.toml Renovate disable rule to also match custom.regex managers, not just the built-in mise manager. hk-config's own custom.regex manager bumps the hk = "..." line in mise.toml directly, and wasn't covered - that let chore(deps): update dependency jdx/hk to v1.53.0 - autoclosed upd#313 open a Renovate PR bumping hk even though Copier already owns that pin.
  • Pin npm:cpd to 5.0.10: cpd@5.0.12 pins broken jscpd-*@5.0.11 platform packages that were never published to npm; cpd@5.0.13 drops npm provenance attestation that every prior version (through 5.0.12) had. 5.0.10 is the last version that's both correctly pinned and fully attested.

Split out of #49: these three are safe to land on any mise version. The mise install hardening that actually caught the cpd regression (forcing the aube npm backend in render-check) stays in #49, since it needs a mise release that auto-installs aube on demand.

Test plan

  • mise-tasks/render-check passes locally

hugoh added 3 commits July 23, 2026 17:57
Its .jinja extension keeps it out of tombi's default **/*.toml glob,
so it wasn't getting linted despite being kept parseable as raw TOML.
hk-config's own renovate.json custom.regex manager bumps the `hk = "..."`
line in mise.toml directly (grouped with hk.pkl's pin, by design) - a
different manager identity than the built-in `mise` manager the existing
disable rule matched on. That let hugoh/upd#313 open a Renovate PR
bumping hk in mise.toml even though Copier already owns that pin.
Broaden matchManagers to catch both.
cpd@5.0.12 pins broken jscpd-*@5.0.11 platform packages that were
never published to npm. cpd@5.0.13 drops npm provenance attestation
that every prior version (through 5.0.12) had, tripping aube's
trust-downgrade guard when the npm backend enforces it. 5.0.10 is the
last version that's both correctly pinned and fully attested.
@hugoh
hugoh merged commit 15a564d into main Jul 23, 2026
2 checks passed
@hugoh
hugoh deleted the fix/cpd-and-renovate branch July 23, 2026 23:20
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.

1 participant