Skip to content

fix(docker): pin .NET SDK 10.0.403 and 8.0.33 runtime to resolve NU1903 - #88

Merged
JakubWorek merged 1 commit into
a2aproject:mainfrom
herczyn:fix-dotnet-sdk
Nov 10, 2026
Merged

JakubWorek merged 1 commit into
a2aproject:mainfrom
herczyn:fix-dotnet-sdk

Conversation

@herczyn

@herczyn herczyn commented Nov 9, 2026

Copy link
Copy Markdown
Member

Summary

Fixes a2a-dotnet ITK and ACTS failures (error NU1903 on Microsoft.DotNet.ILCompiler 10.0.12 and 8.0.31) that started on 2026-11-05 when NuGet ingested GHSA-p3jp-9v83-76w9 (CVE-2026-111497):

  • Dockerfile: Pin DOTNET_SDK_VERSION=10.0.403 (runtime 10.0.14) and DOTNET_ASPNETCORE_RUNTIME_VERSION=8.0.33 instead of unpinned --channel 10.0 / --channel 8.0. Because --channel was unpinned, GitHub Actions BuildKit layer caching (type=gha,scope=itk_service) kept reusing an older cached .NET SDK 10.0.401 layer whose implicit KnownILCompilerPack versions (10.0.12 / 8.0.31) were flagged by NuGetAudit once GHSA-p3jp-9v83-76w9 was published.
  • .dockerignore: Stop excluding Dockerfile from the image context so test_suite.launcher.config.image_digest() inside /app hashes /app/Dockerfile as intended rather than falling back to 'unpinned'.

Verification

  • Built itk_service locally and ran a2a-dotnet's itk/run_itk.sh (12/12 PR compatibility scenarios passing, 0 NU1903 errors).
  • uv run --frozen pytest passes.

@JakubWorek
JakubWorek merged commit a39f6eb into a2aproject:main Nov 10, 2026
2 checks passed
SergeyMenshykh pushed a commit to SergeyMenshykh/a2a-dotnet that referenced this pull request Nov 13, 2026
Update all checkout and shared-driver pins to a2aproject/a2a-itk@a39f6eb,
which includes the pinned .NET SDK 10.0.403 and ASP.NET runtime 8.0.33
from a2aproject/a2a-itk#88. Keep local-run documentation in sync.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 356f5c58-aa9f-4e27-84bb-6c46949769ad
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.

2 participants