Skip to content

test: avoid release-age failures in Yarn create snapshot - #3213

Closed
fengmk2 wants to merge 1 commit into
mainfrom
test/deflake-yarn-create
Closed

fengmk2 wants to merge 1 commit into
mainfrom
test/deflake-yarn-create

Conversation

@fengmk2

@fengmk2 fengmk2 commented Oct 23, 2026

Copy link
Copy Markdown
Member

The yarn_without_global_vp snapshot can fail after an upstream dependency release. Yarn rejects the pinned package during its minimum release-age window, as with oxlint-tsgolint@7.0.2005 in this CI job.

Set YARN_NPM_MINIMAL_AGE_GATE=0 for this fixture so dependency publication time does not affect the create flow. Keep the override in this Yarn 4.18.1 case because older Yarn versions reject the setting.

@fengmk2 fengmk2 closed this Oct 23, 2026
@fengmk2
fengmk2 deleted the test/deflake-yarn-create branch October 23, 2026 14:00
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.

1 participant