Skip to content

chore(renovate): keep legacy 4.x System.* packages off the v10 monorepo bumps - #1600

Merged
glennawatson merged 1 commit into
mainfrom
chore/renovate-pin-legacy-system
Jun 12, 2026
Merged

glennawatson merged 1 commit into
mainfrom
chore/renovate-pin-legacy-system

Conversation

@glennawatson

@glennawatson glennawatson commented Jun 12, 2026 •

Copy link
Copy Markdown
Contributor

What

Adds a Renovate packageRule that caps System.* packages currently on the 4.x line below 5.0.0.

Why

The net4*/netstandard targets pin a set of System.* compatibility shims to their 4.x versions in src/Directory.Packages.props. Renovate's .NET monorepo v10 update (e.g. #1598) tries to bump them — for example System.Runtime.Serialization.Formatters 4.3.0 → 10.0.x inside the net4 conditional block — which breaks those targets.

How

{
  "matchManagers": ["nuget"],
  "matchPackageNames": ["/^System\\./"],
  "matchCurrentVersion": "/^4\\./",
  "allowedVersions": "<5.0.0"
}

matchCurrentVersion scopes the rule to entries already on 4.x, so the modern 10.x System.* entries keep updating normally — only the legacy 4.x pins are held under 5.0.0.

…po bumps

The net4*/netstandard targets pin a set of System.* compatibility packages
to their 4.x versions; Renovate's .NET monorepo v10 update (e.g. PR #1598)
tries to bump them (such as System.Runtime.Serialization.Formatters 4.3.0 ->
10.0.x in the net4 block), which breaks those targets. Add a packageRule that
caps System.* packages currently on 4.x below 5.0.0, leaving the modern 10.x
entries free to update.
@glennawatson
glennawatson merged commit 82072eb into main Jun 12, 2026
9 checks passed
@glennawatson
glennawatson deleted the chore/renovate-pin-legacy-system branch June 12, 2026 00:55
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.95%. Comparing base (28c00e6) to head (2deaf0b).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1600      +/-   ##
==========================================
- Coverage   79.40%   78.95%   -0.46%     
==========================================
  Files         116      124       +8     
  Lines        7168     7036     -132     
  Branches     1143     1080      -63     
==========================================
- Hits         5692     5555     -137     
- Misses       1165     1169       +4     
- Partials      311      312       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

⌂ 换网址