Repository navigation
[SCAL-322686] Add C# SDK sanity and registry checks - #493
Open
prathum-pandey-ts wants to merge 1 commit into
Open
prathum-pandey-ts wants to merge 1 commit into
prathum-pandey-ts wants to merge 1 commit into
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
prathum-pandey-ts
force-pushed
the
scal-322686-sdk-sanity-checks
branch
from
October 26, 2026 18:24
070cc07 to
7661667
Compare
Nothing checked that a published C# SDK version could be installed from nuget.org. Publishing runs from the manual NuGet workflow, after the Jenkins generation pipeline has finished, so this check lives here. The check runs daily, after the "Publish C# SDK to NuGet" workflow succeeds, and on demand. It confirms the branch's C# SDK version is on nuget.org, waiting up to 15 minutes after a publish for indexing. It then installs that version into a new console project and compiles and runs a small program that builds UsersApi and a SearchUsersRequest. The build-and-pack sanity check runs in the Jenkins generation pipeline instead, before the SDK is pushed to this repo.
prathum-pandey-ts
force-pushed
the
scal-322686-sdk-sanity-checks
branch
from
October 26, 2026 18:30
7661667 to
88845cc
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds two GitHub Actions checks that install the C# SDK the way a customer does and compile and run a small program against it. Today nothing does this: the Jenkins image that generates the SDKs has no
dotnet, so the C# SDK is first compiled inside the NuGet publish workflow, after the code is already onrelease, and nothing checks nuget.org after publishing.Changes
csharp-sdk-sanity.ymlruns on PRs toreleaseand on pushes to version branches that changesdks/csharp/. It packs the SDK, installs the packed.nupkginto a new console project, and compiles and runs.github/csharp-sdk-smoke/Program.cs.csharp-sdk-registry-check.ymlruns daily, after the "Publish C# SDK to NuGet" workflow succeeds, and on demand (optionalrefandversioninputs). It confirms the branch's SDK version is on nuget.org, waiting up to 15 minutes after a publish for NuGet indexing. It then installs that version from nuget.org and runs the same program. The run page shows a one-row result table..github/scripts/csharp-sdk-smoke.shis the shared script, with three modes:version,localandregistry. Each run uses a private NuGet package cache, so a cached copy can't stand in for the feed. The program must print the expected SDK version, so a pass proves the right package was loaded.UsersApifrom anApiClientConfigurationand creates aSearchUsersRequest. It makes no network call.