Skip to content

fix(modules): the THIN lane strips RID globals too — CD's second NETSDK1047 site - #1676

Merged
rbuergi merged 1 commit into
mainfrom
fix/cd-thin-lane-rid
Aug 16, 2026
Merged

fix(modules): the THIN lane strips RID globals too — CD's second NETSDK1047 site#1676
rbuergi merged 1 commit into
mainfrom
fix/cd-thin-lane-rid

Conversation

@rbuergi

@rbuergi rbuergi commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

CD is still red on main: #1675 cured the closure lane, and the next run failed with the identical NETSDK1047 one lane over — the THIN lane's Build invocation (AI packs, Radzen, …) also receives the per-arch RuntimeIdentifier global under CD's container publish. Same cure, second site: the identical RemoveProperties list on the thin-lane Build (plus PrebuiltBakeDir, which must not leak into module builds either); the RID-agnostic doc note now names both lanes.

Verified with CD's exact invocationdotnet publish Memex.Portal.Distributed -c Release --no-self-contained -t:PublishContainer -p:ContainerRuntimeIdentifiers='"linux-x64;linux-arm64"' -p:CIRun=true to a local archive: both per-RID publishes green, module lanes laid out per RID, multi-arch image index built and archived. Plain -r linux-arm64 publish also green; Monolith Release -warnaserror clean.

No What's New: CI/deployment fix.

🤖 Generated with Claude Code

…DK1047 site

#1675 fixed the closure lane; the very next CD run failed identically on
the THIN lane's Build invocation (AI packs, view packs — every
ProjectReferenced module): under CD's per-arch container publish the
outer RuntimeIdentifier flows in as a global there as well, demanding
RID targets the modules' portable assets files don't have. Same cure,
second site: the thin-lane Build now carries the identical
RemoveProperties list (plus PrebuiltBakeDir, which must not leak into
module builds either), and the RID-agnostic doc note names BOTH lanes.

Verified with CD's EXACT invocation shape — multi-RID PublishContainer
(-p:ContainerRuntimeIdentifiers linux-x64;linux-arm64 -p:CIRun=true) to
a local archive: both per-RID publishes green, module lanes laid out,
multi-arch image index built. Plain -r linux-arm64 publish also green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 16, 2026 14:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a remaining NETSDK1047 failure in CD multi-arch container publishes by making the THIN lane module-build MSBuild invocation RID-agnostic, matching the intent already applied to the closure lane.

Changes:

  • Strip RID/container/publish-mode globals from the thin-lane MSBuild Targets="Build" via RemoveProperties to prevent RID-specific asset-target expectations during per-RID container publish.
  • Prevent PrebuiltBakeDir from leaking into thin-lane module builds.
  • Update the in-file documentation note to explicitly cover both lanes.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

Copy link
Copy Markdown

Test Results (shard 0)

919 tests  ±0   918 ✅ ±0   9m 22s ⏱️ -29s
 10 suites ±0     1 💤 ±0 
 10 files   ±0     0 ❌ ±0 

Results for commit 894b41d. ± Comparison against base commit cbcdd14.

@github-actions

Copy link
Copy Markdown

Test Results (shard 4)

1 604 tests  ±0   1 598 ✅ ±0   7m 32s ⏱️ +17s
   11 suites ±0       6 💤 ±0 
   11 files   ±0       0 ❌ ±0 

Results for commit 894b41d. ± Comparison against base commit cbcdd14.

@github-actions

Copy link
Copy Markdown

Test Results (shard 5)

1 371 tests  ±0   1 370 ✅ ±0   6m 16s ⏱️ +5s
   11 suites ±0       1 💤 ±0 
   11 files   ±0       0 ❌ ±0 

Results for commit 894b41d. ± Comparison against base commit cbcdd14.

@github-actions

Copy link
Copy Markdown

Test Results (shard 3)

   11 files  ±0     11 suites  ±0   6m 21s ⏱️ + 1m 16s
2 197 tests ±0  2 006 ✅ ±0  191 💤 ±0  0 ❌ ±0 
2 562 runs  ±0  2 371 ✅ ±0  191 💤 ±0  0 ❌ ±0 

Results for commit 894b41d. ± Comparison against base commit cbcdd14.

@github-actions

Copy link
Copy Markdown

Test Results (shard 1)

2 148 tests  ±0   2 045 ✅ ±0   6m 43s ⏱️ +3s
   11 suites ±0     103 💤 ±0 
   11 files   ±0       0 ❌ ±0 

Results for commit 894b41d. ± Comparison against base commit cbcdd14.

@github-actions

Copy link
Copy Markdown

Test Results (shard 2)

2 438 tests  ±0   2 434 ✅ ±0   8m 14s ⏱️ +7s
   11 suites ±0       4 💤 ±0 
   11 files   ±0       0 ❌ ±0 

Results for commit 894b41d. ± Comparison against base commit cbcdd14.

@github-actions

Copy link
Copy Markdown

Test Results

    65 files  ±0      65 suites  ±0   44m 29s ⏱️ + 1m 16s
10 677 tests ±0  10 371 ✅ ±0  306 💤 ±0  0 ❌ ±0 
11 042 runs  ±0  10 736 ✅ ±0  306 💤 ±0  0 ❌ ±0 

Results for commit 894b41d. ± Comparison against base commit cbcdd14.

@rbuergi
rbuergi merged commit 7b29bd5 into main Aug 16, 2026
23 checks passed
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