Skip to content

[0.85] Remove download URLs from yarn.lock - #16550

Merged
Vladimir Morozov (vmoroz) merged 1 commit into
microsoft:0.85-stablefrom
vmoroz:PR/0.85-lockfile-urls
Oct 30, 2026
Merged

Vladimir Morozov (vmoroz) merged 1 commit into
microsoft:0.85-stablefrom
vmoroz:PR/0.85-lockfile-urls

Conversation

@vmoroz

@vmoroz Vladimir Morozov (vmoroz) commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

Description

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • Automation (CI/pipeline changes)

Why

Dependabot's 0.85-stable updates fail because yarn.lock records download URLs on
ms-feed-* hosts, which Dependabot jobs cannot reach. #16548 fixes the Dependabot
config on main; this PR cleans the 0.85 lockfile it updates.

What

Lockfile

  • Remove the 9 recorded download URLs. Versions and checksums don't change;
    pipelines keep restoring through PackageFeedProxy.

Guard

  • Add .ado/scripts/checkYarnLock.js and run it first in the Linting job, as on
    main, so new download URLs fail validation; --fix removes them.

Screenshots

Not applicable.

Testing

yarn install --immutable through PackageFeedProxy passes with the cleaned
lockfile.

Changelog

Should this change be included in the release notes: no

Remove registry download URLs from yarn.lock.

Microsoft Reviewers: Open in CodeFlow

Dependabot cannot reach the ms-feed-* hosts recorded in yarn.lock, so its
0.85-stable updates fail. Remove the URLs (versions and checksums are
unchanged) and add a Linting check that keeps them out.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are recorded for the lockfile cleanup and guard changes.

No open issues 🎉

What changed in this PR

Removes registry download URLs from the 0.85-stable lockfile to unblock Dependabot updates, complementing the configuration fix in #16548.

Changes:

  • Removes nine recorded download URLs without changing package versions or checksums.
  • Adds a lockfile guard with a --fix option to remove URLs and merge duplicate entries.
  • Runs the guard before dependency installation in the Linting job.
File Description
yarn.lock Removes nine feed-specific download URLs.
.ado/​scripts/​checkYarnLock.js Detects recorded download URLs and provides automated cleanup.
.ado/​jobs/​linting.yml Runs the lockfile guard before dependency installation.

Review effort: Balanced

@vmoroz
Vladimir Morozov (vmoroz) merged commit 4f10612 into microsoft:0.85-stable Oct 30, 2026
32 checks passed
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