Add 3-day cooldown for Dependabot and npm#4396
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
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 on lines
35
to
39
| - package-ecosystem: "github-actions" | ||
| directory: "/" | ||
| cooldown: | ||
| default-days: 3 | ||
| schedule: |
Contributor
Author
There was a problem hiding this comment.
The "Dependabot" in the title referred to all changes in this file. The "npm" referred to the changes in .npmrc.
cklin
approved these changes
May 21, 2026
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.
This adds a 72-hour buffer before newly-published package versions are eligible for installation.