Skip to content

fix(csharp): bump WireMock.Net to 2.6.0 in generated test projects#15873

Merged
fern-support merged 1 commit into
mainfrom
patrick/csharp/bump-wiremock-net-to-2-6-0
May 13, 2026
Merged

fix(csharp): bump WireMock.Net to 2.6.0 in generated test projects#15873
fern-support merged 1 commit into
mainfrom
patrick/csharp/bump-wiremock-net-to-2-6-0

Conversation

@patrickthornton
Copy link
Copy Markdown
Contributor

Closes FER-10540

Summary

  • Auth0 reported Snyk flagging WireMock.Net 2.2.0 in their generated C# SDK test project (failing job). The version was hardcoded in our shared test-project template, so every C# SDK ships with the same pinned 2.2.0.
  • Bumps the template to 2.6.0 (latest stable on NuGet). Test-only dependency, no runtime impact on SDK consumers.

Example

Before — generators/csharp/base/src/asIs/test/Template.Test.csproj:

<PackageReference Include="WireMock.Net" Version="2.2.0" />

After:

<PackageReference Include="WireMock.Net" Version="2.6.0" />

All 174 seed/csharp-sdk/**/<Project>.Test.csproj snapshots were regenerated to reflect the bump — the only content change across them is the version string.

Test plan

  • pnpm seed test --generator csharp-sdk --local --skip-scripts — 174/174 fixtures pass
  • git diff --unified=0 | grep -E "^[+-][^+-]" confirms every changed line is the WireMock.Net Version bump (350 lines, all matching)
  • Downstream check: regenerate Auth0's SDK after release and confirm Snyk no longer flags

🤖 Generated with Claude Code

Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

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

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@github-actions
Copy link
Copy Markdown
Contributor

SDK Generation Benchmark Results

Comparing PR branch against median of 5 nightly run(s) on main (latest: 2026-05-13T05:16:22Z).

Full benchmark table (click to expand)
Generator Spec main (generator) main (E2E) PR (generator) Delta
csharp-sdk square 68s (n=5) 101s (n=5) 60s -8s (-11.8%)

main (generator): generator-only time via --skip-scripts (includes Docker image build, container startup, IR parsing, and code generation — this is the same Docker-based flow customers use via fern generate). main (E2E): full customer-observable time including build/test scripts (nightly baseline, informational). Delta is computed against generator-only baseline.
⚠️ = generation exited with a non-zero exit code (timing may not reflect a successful run).
Baseline from nightly runs on main (latest: 2026-05-13T05:16:22Z). Trigger benchmark-baseline to refresh.
Last updated: 2026-05-13 16:19 UTC

@fern-support fern-support merged commit 619fdea into main May 13, 2026
73 checks passed
@fern-support fern-support deleted the patrick/csharp/bump-wiremock-net-to-2-6-0 branch May 13, 2026 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants