Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ packageExtensions:
dependencies:
node-gyp: "^10.0.1"

npmMinimalAgeGate: 1440
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

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

npmMinimalAgeGate does not appear to be a recognized Yarn configuration option for the pinned Yarn version (yarnPath: .yarn/releases/yarn-3.4.1.cjs). I couldn’t find the setting name in that Yarn release bundle, and Yarn 3.x typically fails with “Unrecognized configuration setting” for unknown keys, which would break installs/CI. Consider either upgrading Yarn to a version that supports this setting (and updating yarnPath accordingly) or using an alternative approach (e.g., registry proxy/mirroring) that’s compatible with Yarn 3.4.1.

Suggested change
npmMinimalAgeGate: 1440
# npmMinimalAgeGate: 1440 # Unsupported in Yarn 3.4.1

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🌐 Web query:

For Yarn Berry, is npmMinimalAgeGate supported in Yarn 3.4.1? If not, which exact Yarn version first supports it according to official Yarn documentation/changelog?

💡 Result:

No, npmMinimalAgeGate is not supported in Yarn 3.4.1. It was first supported in Yarn 4.10.0, as per the official GitHub pull request #6901 merged on 2025-09-18 where the maintainer stated "Released in 4.10", and confirmed in the 4.10.0 release changelog listing the feature.

Citations:


npmMinimalAgeGate is incompatible with Yarn 3.4.1 and is breaking CI.

This config key is not supported until Yarn 4.10.0. Line 10 introduces an unrecognized setting that causes yarn config and yarn install to hard-fail with Yarn 3.4.1 (Line 12).

Unblock immediately by removing this line, or upgrade yarnPath to Yarn 4.10.0 or later and re-add the key.

Minimal fix (remove unsupported key)
-npmMinimalAgeGate: 1440
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.yarnrc.yml at line 10, The .yarnrc.yml contains the unsupported key
"npmMinimalAgeGate" which breaks Yarn 3.4.1 CI; remove the "npmMinimalAgeGate:
1440" entry to unblock CI immediately, or alternatively update the configured
"yarnPath" to a Yarn >= 4.10.0 release and then re-add "npmMinimalAgeGate" if
needed; ensure after the change that "yarn install" and "yarn config" succeed in
CI.


yarnPath: .yarn/releases/yarn-3.4.1.cjs
Loading