Remove the broken Stainless csharp target so spec PRs stop failing CI#671
Conversation
Stainless's csharp build CI fails on any freshly generated code (content-independent, proven by bisect on #650), and the preview check gates on head-vs-base regression per language — so every spec-changing PR fails 'Build SDKs' while main's config still lists csharp and the base build resolves to a cached pre-breakage success. With csharp gone from the config on main, base builds have no csharp success to regress from and the check passes (proven end-to-end by probe #659, which ran the exact previously-failing change class against a csharp-free base and passed). The target is unpublished (production_repo: null, no NuGet publish), so nothing ships differently. Re-add the block when Stainless fixes their csharp build CI upstream. This PR's own preview check will still be red (its base is current main) — merge through it; precedent #633, #637. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This stack of pull requests is managed by Graphite. Learn more about stacking. |
✱ Stainless preview builds for gridThis PR will update the cli go kotlin openapi php python ruby typescript ✅ grid-ruby studio · code
|
|
📌 Bolt Status 2026-07-08 16:57:41 UTC — ⚡ Agent |

Summary
Removes the csharp target from
.stainless/stainless.ymlso theBuild SDKs for pull request / previewcheck stops failing on every spec-changing PR.Why every spec PR is red: Stainless's csharp build CI is broken upstream for ANY freshly generated code (content-independent, proven by bisect on #650, breakage window ~Jul 3). The preview check gates on a per-language head-vs-base regression, and with csharp in main's config the base build resolves to a cached pre-breakage csharp success — so every fresh head failure counts as a regression → red.
Why this fixes it: with csharp out of the config on main, base builds have no cached csharp success to regress from — matching outcomes on base and head → "not a regression" → green. Proven end-to-end by probe #659: the exact previously-failing change class (doc-comment-only codegen delta) ran against a csharp-free base and
previewpassed. Full mechanics: investigation writeup.No shipping impact: the csharp target is unpublished (
production_repo: null,publish.nuget: false). Re-add the block when Stainless fixes their csharp build CI upstream.Sequencing (for #657 and other open spec PRs)
previewwill be red (its base is current main); merge through it (precedent: feat(openapi): add rail + settlement-timing fields to OutgoingTransaction #633, Add idType/identifier to IndividualCustomerCreateRequest (ENG-10686) #637).previewrun goes green.Verification
make lintpasses; the file matches the exact removal previously validated on the docs(cards): PAN reveal via POST /cards/{id}/reveal; panEmbedUrl off the Card resource #657 branch (commit 069ad9a) and by probe Probe: Stainless preview vs csharp-free base (throwaway) #659.🤖 thundering-graviton-3(#3) | Feedback
Original PR: #663