Skip to content

Use the binary dotnet SDK on all platforms#1725

Merged
benalleng merged 1 commit into
payjoin:masterfrom
chavic:chavic/csharp-devshell-binary-dotnet-linux
Jul 10, 2026
Merged

Use the binary dotnet SDK on all platforms#1725
benalleng merged 1 commit into
payjoin:masterfrom
chavic:chavic/csharp-devshell-binary-dotnet-linux

Conversation

@chavic

@chavic chavic commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #1723, which switched the Darwin dev shells to the Microsoft-binary .NET SDK on the assumption that Linux was fine because hydra serves the source-built SDK from the public cache. CI logs show that the assumption doesn't hold on the pinned nixpkgs rev.

The ubuntu-latest csharp job consistently takes ~30 minutes (29–33 min across recent runs).

The Darwin-only conditional from payjoin#1723 assumed hydra serves the
source-built VMR SDK from cache on Linux. It does not on the pinned
nixpkgs rev: CI logs show ubuntu-latest fetching the 1xx binary SDK
only to bootstrap a from-source dotnet-vmr-10.0.301 build that takes
~25 minutes, while the tests themselves finish in under a minute.
Nothing is cached between runs, so every pull request pays the
rebuild.

Drop the conditional and use the Microsoft-binary SDK everywhere.
This also insulates the dev shells from future nixpkgs bumps landing
on VMR revisions hydra has not built yet.
@chavic chavic requested a review from benalleng July 10, 2026 15:54
@coveralls

Copy link
Copy Markdown
Collaborator

Coverage Report for CI Build 29105296731

Coverage remained the same at 86.003%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 15660
Covered Lines: 13468
Line Coverage: 86.0%
Coverage Strength: 348.34 hits per line

💛 - Coveralls

@benalleng benalleng left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

ACK 574680f

Ci is now consistent for macos and ubuntu which are the only 2 to use nix shells for csharp

@benalleng benalleng merged commit 6cd4e5c into payjoin:master Jul 10, 2026
22 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