chore: enforce 14-day package cooldown via tooling#78
Merged
Conversation
Replaces the proxy-registry approach with tooling-layer enforcement: - Adds bunfig.toml with minimumReleaseAge = 1209600 (14 days) so bun refuses to resolve packages newer than 14 days during local installs. - Removes project-local .npmrc; CI now installs from public npm (always has all versions), while locally the MDM-managed ~/.npmrc still routes through the corporate proxy automatically. - Removes NPM_REGISTRY workflow env blocks (no longer needed in CI). - Adds Dependabot cooldown: default-days: 14 on the bun ecosystem entry so Dependabot never proposes a version younger than 14 days, keeping the lockfile perpetually clean for frozen installs anywhere. 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.
Summary
Replaces the proxy-registry approach in CI with tooling-layer enforcement of the 14-day package age rule. This immediately fixes the red
maincaused by Dependabot merging packages the proxy didn't have yet.Details
bunfig.toml— addsminimumReleaseAge = 1209600(14 days in seconds) so bun refuses to resolve packages newer than 14 days during local installs/updates..npmrcremoved — CI now installs from public npm (which has every version). Locally, the MDM-managed~/.npmrcstill routes through the corporate proxy automatically.env: NPM_REGISTRYblocks removed — no longer needed in CI.cooldown: default-days: 14added to thebunecosystem entry — Dependabot will never propose a version younger than 14 days, keeping the lockfile clean for frozen installs everywhere.The combined effect: the lockfile can only receive packages ≥14 days old (two gates: bun's
minimumReleaseAgefor local, Dependabot'scooldownfor automated bumps).bun install --frozen-lockfilein CI then succeeds against any registry.