Skip to content

[Security] Add 2-day minimum release age cooldown (incident-51987)#685

Draft
SeanMeyer wants to merge 1 commit intoDataDog:mainfrom
SeanMeyer:SeanMeyer/incident-51987-cooldown
Draft

[Security] Add 2-day minimum release age cooldown (incident-51987)#685
SeanMeyer wants to merge 1 commit intoDataDog:mainfrom
SeanMeyer:SeanMeyer/incident-51987-cooldown

Conversation

@SeanMeyer
Copy link
Copy Markdown

Summary

  • Adds npmMinimalAgeGate: "2d" to .yarnrc.yml to configure Yarn Berry to refuse packages published less than 2 days ago during lockfile generation
  • Part of security campaign (incident-51987) to add supply chain attack cooldowns across DataDog repositories
  • Requires Yarn Berry >= 4.10.0 (this repo uses 4.10.3)

Test plan

  • Verify yarn install still works with the new setting
  • Confirm no lockfile changes are introduced by this config-only change

🤖 Generated with Claude Code

Adds npmMinimalAgeGate: "2d" to .yarnrc.yml. Configures Yarn Berry to
refuse packages published less than 2 days ago during lockfile generation.
Requires: Yarn Berry >= 4.10.0 (this repo uses 4.10.3)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.69%. Comparing base (3f2947a) to head (a864eed).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #685   +/-   ##
=======================================
  Coverage   77.69%   77.69%           
=======================================
  Files          12       12           
  Lines        1112     1112           
  Branches      350      350           
=======================================
  Hits          864      864           
  Misses        118      118           
  Partials      130      130           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants