Skip to content

Add 3-day cooldown for Dependabot and npm#4396

Merged
nickrolfe merged 1 commit into
mainfrom
nickrolfe/cooldown
May 21, 2026
Merged

Add 3-day cooldown for Dependabot and npm#4396
nickrolfe merged 1 commit into
mainfrom
nickrolfe/cooldown

Conversation

@nickrolfe
Copy link
Copy Markdown
Contributor

This adds a 72-hour buffer before newly-published package versions are eligible for installation.

@nickrolfe nickrolfe requested a review from a team as a code owner May 21, 2026 14:09
Copilot AI review requested due to automatic review settings May 21, 2026 14:09
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a 72-hour “cooldown” to reduce exposure to newly-published dependency versions by delaying when updates are proposed (Dependabot) and when installs are allowed (npm config for the extension workspace).

Changes:

  • Configure npm (for extensions/ql-vscode) to require packages to be at least 3 days old before installation.
  • Add a 3-day Dependabot cooldown for npm, GitHub Actions, and Docker dependency updates.
Show a summary per file
File Description
extensions/ql-vscode/.npmrc Adds an npm setting intended to enforce a minimum package release age before installs.
.github/dependabot.yml Adds a 3-day Dependabot cooldown across multiple ecosystems to delay updates for newly-published versions.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comments suppressed due to low confidence (1)

.github/dependabot.yml:48

  • The PR title/description says this change is for Dependabot and npm, but this also adds a cooldown for Docker updates. If intentional, please update the PR title/description to reflect the broader scope; otherwise, remove this block.
  - package-ecosystem: docker
    directory: "extensions/ql-vscode/test/e2e/docker"
    cooldown:
      default-days: 3
    schedule:
  • Files reviewed: 2/2 changed files
  • Comments generated: 1

Comment thread .github/dependabot.yml
Comment on lines 35 to 39
- package-ecosystem: "github-actions"
directory: "/"
cooldown:
default-days: 3
schedule:
Copy link
Copy Markdown
Contributor Author

@nickrolfe nickrolfe May 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "Dependabot" in the title referred to all changes in this file. The "npm" referred to the changes in .npmrc.

@nickrolfe nickrolfe merged commit 730fc98 into main May 21, 2026
23 checks passed
@nickrolfe nickrolfe deleted the nickrolfe/cooldown branch May 21, 2026 15:50
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.

3 participants