chore: enforce dependency release age checks#173
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #173 +/- ##
=======================================
Coverage 79.84% 79.84%
=======================================
Files 108 108
Lines 11783 11783
=======================================
Hits 9408 9408
Misses 2375 2375
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
Adds a 7-day npm package release-age gate for Bun installs and CI validation.
Problem
Bun's resolver gate only affects new dependency resolution. Committed
bun.lockentries still need explicit validation so too-new package versions cannot slip through by lockfile update.Summary
minimumReleaseAge = 604800inbunfig.toml.1.3.11so CI uses a Bun version with release-age support.Verification
bun run security:release-ageenv BUN_TMPDIR=/tmp/codex-bun-tmp BUN_INSTALL=/tmp/codex-bun-install bun install --frozen-lockfilebun run format:checkgit diff --checkChangeset