ci(dependabot): 2-day cooldown to clear the pnpm release-age gate#165
Merged
Conversation
CI enforces a pnpm minimumReleaseAge supply-chain gate (24 h) at install: a lockfile entry younger than a day fails with ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION. Dependabot's weekly PRs keep grabbing same-day npm releases, so they land red until the versions age (seen on #161 and its recreation #164). Give the npm ecosystem a 2-day cooldown so Dependabot only proposes versions already past the 24 h gate — PRs are born green. Only npm is affected (the gate is pnpm-specific; github-actions / docker are left as-is). Security advisories use their own path and aren't delayed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Problème
La CI applique un gate supply-chain pnpm
minimumReleaseAge = 24hà l'install : toute entrée du lockfile publiée depuis moins d'un jour échoue avecERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION.Dependabot (hebdo) rattrape régulièrement des versions publiées le jour même → ses PR naissent rouges jusqu'à ce que les versions vieillissent. Vu sur #161 (14 paquets) puis sa recréation #164 (3 paquets :
@hono/node-server,tsx,undici).Fix
Un
cooldown: default-days: 2sur l'écosystème npm → Dependabot ne propose que des versions ayant déjà dépassé le gate 24h. Les PR naissent vertes.Aucune migration, aucun code touché — config Dependabot uniquement.
🤖 Generated with Claude Code