Skip to content

Bring the frontend branch's NuGet packages in line with main - #128

Merged
bgard68 merged 1 commit into
frontendfrom
claude/frontend-nuget-catchup
Aug 25, 2026
Merged

Bring the frontend branch's NuGet packages in line with main#128
bgard68 merged 1 commit into
frontendfrom
claude/frontend-nuget-catchup

Conversation

@bgard68

@bgard68 bgard68 commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Replaces #122, #123 and #124, which Dependabot opened and then closed itself.

This branch carries src/Lottery.Api and its CI builds and tests it, but until the dependabot.yml entry added in #117 it was never scanned — so its packages drifted behind main's:

Package frontend main
dbup-sqlserver 6.0.16 7.2.0
Microsoft.NET.Test.Sdk 17.14.1 18.9.0
xunit.runner.visualstudio 3.1.5 4.0.0

Why the Dependabot PRs couldn't work

All three are CentralTransitive dependencies. Dependabot updates Directory.Packages.props but cannot regenerate packages.lock.json, and CI restores with --locked-mode:

error NU1004: Mismatch between the requestedVersion of a lock file dependency
marked as CentralTransitive and the version specified in the central package
management file. Lock file version [6.0.16, ), central version [7.2.0, ).

This is the same problem main hit — #85 is titled "Bump dbup-sqlserver 6.0.16 → 7.2.0 (with all lock files synced)" for exactly this reason. Doing all three together with dotnet restore --force-evaluate is the fix.

Dependabot subsequently closed #122/#123/#124 on its own with "no longer updatable", which is a misread — they were still behind. It will re-propose them on its next weekly run and hit the same NU1004 unless the versions land first, which is what this PR does.

Deliberately not included

Microsoft.Data.SqlClient stays at 6.1.6. #123 proposed 7.0.2, a major, and main is still on 6.1.6 — matching main is the goal here, not getting ahead of it. Worth doing on both branches together, separately.

Verification

dotnet restore --locked-mode clean, dotnet build -warnaserror with zero warnings, and all 68 backend tests on this branch pass (Domain 24, Application 19, Infrastructure 25).

🤖 Generated with Claude Code

…main

This branch carries src/Lottery.Api and its CI builds and tests it, but until
the dependabot.yml entry added in #117 it was never scanned - so its packages
drifted behind main's:

  dbup-sqlserver              6.0.16  -> 7.2.0
  Microsoft.NET.Test.Sdk      17.14.1 -> 18.9.0
  xunit.runner.visualstudio   3.1.5   -> 4.0.0

Dependabot opened #122, #123 and #124 for these and all three failed the same
way: each package is CentralTransitive, so it updated Directory.Packages.props
without regenerating packages.lock.json, and CI restores with --locked-mode,
which fails NU1004. It then closed them itself as 'no longer updatable'.

Doing them together with the lock files regenerated (--force-evaluate) is what
main needed in #85 for the same dbup-sqlserver bump.

Microsoft.Data.SqlClient is deliberately left at 6.1.6: #123 proposed 7.0.2,
a major, and main is still on 6.1.6 - matching main is the target here, not
getting ahead of it.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AWkVh7cyAz1gWapBH1CY8n
@bgard68
bgard68 merged commit 8e42241 into frontend Aug 25, 2026
8 checks passed
@bgard68
bgard68 deleted the claude/frontend-nuget-catchup branch August 25, 2026 03:23
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.

2 participants