Skip to content

chore: prepare stable .NET 11 release - #425

Merged
j-d-ha merged 11 commits into
mainfrom
build/net11-release-preparation
Nov 16, 2026
Merged

j-d-ha merged 11 commits into
mainfrom
build/net11-release-preparation

Conversation

@j-d-ha

@j-d-ha j-d-ha commented Nov 15, 2026 •

Copy link
Copy Markdown
Collaborator

Prepare the libraries for a stable .NET 11 release with SDK 11.0.100, current compatible dependencies, stable C# 15 builds, and release-package validation. Remove allocations from cached feature lookup and unused response streams while preserving feature-provider behavior and stream ownership.

Runtime Async is available for repository experiments and remains disabled by default. The measured suspended and batch workloads allocate more with it enabled.

Changes

  • Add mise-managed setup for developer workstations and remote AI development environments with a cross-platform tool lockfile, SDK selection from global.json, shared .NET runtimes, and a pinned Python interpreter for uv.

  • Update dependencies while retaining compatible versions for older target frameworks.

  • Reduce cached feature lookup from 32 B to 0 B per operation and response-stream replacement from 96 B to 32 B across a factory boundary.

  • Add invocation, middleware, JSON, batch, and allocation benchmarks comparing .NET 10, .NET 11, and Runtime Async. Record methods, limitations, and results in benchmark notes.

  • Track compiler feature switches in the incremental compile cache and validate both async modes.

  • Fix clean package builds, include EventProcessing in release manifests, and validate stable as well as preview versions.

  • Retain symbol packages through artifact upload, pin the shared workflow fix from devops-templates#53, and verify the downloaded 16-package/15-symbol manifest before trusted publishing.

  • Use mise for developer workstations and remote AI development environments. CI retains the existing GitHub Actions and LayeredCraft DevOps workflows. Preserve Windows snapshot line endings and use portable generated-file path assertions.

  • Align durable consumer fixtures, documentation, and skills with the selected AWS 2.2.0 dependency.

Validation

  • Full Release build: zero warnings and errors.
  • 4,101 tests passed in classic mode and again with verified Runtime Async compilation on net11.0.
  • All 33 benchmark cases completed; runtime/lowering diagnostics confirm each job.
  • Stable and preview manifests passed with 16 packages and 15 symbol packages.
  • Packed consumer matrix passed, including expected rejection cases, analyzer generation, and Native AOT publishing.
  • Native AOT publishes passed on .NET 10 and both .NET 11 modes.
  • Formatting, documentation site builds, actionlint, release-validator regression tests, and skill-reference validation passed.
  • NuGet vulnerability audit covered 40 projects with no vulnerable references; npm audit reported zero vulnerabilities.
  • Simulated a Windows checkout with core.autocrlf=true; all 101 verified snapshots retained LF line endings.
  • Shared release and preview artifact upload/download regression jobs passed.
  • Mise installation, setup, build, all 4,101 tests, formatting, and the documentation build passed on macOS arm64. A temporary setup-validation workflow confirmed fresh setup, Release build, all 4,101 tests, and documentation builds on Linux, macOS, and Windows. That workflow has been removed; mise is for developer workstations and remote AI development environments.
  • GitHub CI validates Linux builds, stable/preview packages, coverage, packed consumers, Runtime Async tests, all three AOT publishes, formatting, documentation, and PR-title checks.

Review notes

The existing local PR workflow now runs project-specific package manifests, packed-consumer checks, and async-mode tests. Shared publishing workflows remain in use; their standard build/publish inputs do not express these repository-specific manifest and consumer assertions. The narrow downloaded-artifact validation job gates publishing because the shared workflow has no package-manifest validation input.

Native publishing was validated locally on macOS arm64 and in CI on Linux x64. The local .NET 11 publishes emitted native linker/debug-symbol warnings. AWS deployment and durable replay remain unverified. Benchmark timings are short local measurements, not Lambda cold-start results.

Keep Runtime Async opt-in after suspended workloads allocate more.
@github-actions github-actions Bot added the type: chore Maintenance task label Nov 15, 2026
@ncipollina

Copy link
Copy Markdown
Collaborator

@codex review

Perform an independent, targeted code review of this PR against main.

Focus on:

  • .NET 11 compatibility, dependency upgrades, and regressions affecting older target frameworks.
  • Allocation optimizations, particularly feature caching, stream ownership, disposal, and concurrency.
  • Runtime Async feature switches, compile-cache correctness, and default behavior.
  • Release pipeline integrity, NuGet package manifests, symbol packages, artifact validation, and trusted publishing.
  • Native AOT compatibility, trimming, and serialization regressions.
  • Meaningful gaps in tests covering changed behavior.

Prioritize correctness, breaking changes, and release blockers. Avoid stylistic suggestions, speculative concerns, and unrelated refactoring.

Verify findings against surrounding code and existing tests. Report only actionable issues with specific file/line references and clear failure scenarios.

Post your findings as a GitHub PR review. Do not modify the code or create commits.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-16T00:55:35.113287Z 67d68b9 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 336a87e28e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ncipollina

Copy link
Copy Markdown
Collaborator

@codex review

Perform a targeted follow-up review of this PR, focusing on the changes made since your previous review and Jonas' responses to the earlier findings.

Specifically:

  • Revisit each previous finding and verify that the underlying issue has been fully resolved, not merely addressed superficially.
  • Examine the new commits for regressions, unintended behavioral changes, or incomplete fixes.
  • Pay particular attention to .NET 11 compatibility, allocation optimizations, stream ownership, Runtime Async behavior, Native AOT, and release/publishing integrity where affected by the follow-up changes.
  • Verify that fixes preserve compatibility with older supported target frameworks.
  • Identify any new issues introduced by the remediation.

Do not repeat previously resolved findings or expand into unrelated areas. Avoid style suggestions, speculative concerns, and unnecessary test recommendations.

Report only concrete, actionable issues with file/line references and specific failure scenarios.

If all previous findings are satisfactorily resolved and no new significant issues exist, indicate that clearly rather than manufacturing additional findings.

Post the results as a GitHub PR review. Do not modify code or create commits.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: 67d68b92d3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ncipollina ncipollina 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.

LGTM!

@j-d-ha
j-d-ha merged commit 903eccf into main Nov 16, 2026
8 checks passed
@j-d-ha
j-d-ha deleted the build/net11-release-preparation branch November 16, 2026 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: chore Maintenance task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants