Skip to content

fix(patches): apply recovered main architecture patches - #291

Merged
yanksyoon merged 18 commits into
recovery/02-main-ppc-s390-patchesfrom
recovery/03-main-architecture-patches
Nov 25, 2026
Merged

yanksyoon merged 18 commits into
recovery/02-main-ppc-s390-patchesfrom
recovery/03-main-architecture-patches

Conversation

@yanksyoon

@yanksyoon yanksyoon commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Apply recovered ppc64le, s390x, and ARM32 main patches on top of the synchronized source mirror.
  • Preserve ARM32 support with Node 22 and the current .NET 9 behavior.
  • Remove obsolete Node 20 downloads from the main architecture patches.
  • Preserve the local RUNNER_IGNORE_ARM32_KILL_SWITCH operator override and its L0 regression coverage. It is read only from the runner process environment; setting it to false explicitly re-enables service-driven ARM32 deprecation and kill behavior.
  • Set last_processed_commit.txt and all patch trailers to 1060fd3acfef295496f6843c2ec134fd74a70dc5.

Test plan

  • git apply --check --whitespace=nowarn for all three patches against the synchronized repository tree.
  • Verify all three patch trailers and the marker match the same upstream SHA.
  • Run the full five-runtime CI matrix.
  • Run workflow_dispatch for package and ARM32 smoke tests before merge.

@yanksyoon
yanksyoon added this pull request to stack #289 November 24, 2026 05:53
@yanksyoon
yanksyoon marked this pull request as draft November 24, 2026 05:57
@yanksyoon
yanksyoon force-pushed the recovery/03-main-architecture-patches branch from 97f33ad to 6836b76 Compare November 24, 2026 06:03
@yanksyoon
yanksyoon force-pushed the recovery/03-main-architecture-patches branch from 6836b76 to 0e1a705 Compare November 24, 2026 06:05
@yanksyoon
yanksyoon force-pushed the recovery/03-main-architecture-patches branch from 0e1a705 to 8cb36ee Compare November 24, 2026 06:10
@yanksyoon
yanksyoon force-pushed the recovery/03-main-architecture-patches branch from 8cb36ee to c437739 Compare November 24, 2026 06:18
@yanksyoon
yanksyoon removed this pull request from stack #289 November 24, 2026 06:18
@yanksyoon
yanksyoon added this pull request to stack #292 November 24, 2026 06:18

@yanksyoon yanksyoon left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Review helper comments.

Comment thread patches/runner-main-sdk8-arm.patch Resolved
Comment thread patches/runner-main-sdk8-ppc64le.patch Resolved
@yanksyoon
yanksyoon requested a lite review from Copilot November 24, 2026 06:42
@yanksyoon
yanksyoon marked this pull request as ready for review November 24, 2026 06:42

Copilot AI 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.

🟡 Changes recommended

Active critical build and packaging issues leave ARM, PPC64LE, S390X, and even x64 outputs unable to start reliably, while key architecture-specific paths remain insufficiently tested.

8 open issues
What changed in this PR

Updates the recovered architecture-specific runner patches to synchronized upstream commit 1060fd3acfef295496f6843c2ec134fd74a70dc5, restoring ARM32 support with Node 22 and refreshing PPC64LE/s390x packaging and build behavior.

Changes:

  • Synchronizes all patch trailers and the processed-commit marker.
  • Restores ARM32 packaging, Node 22 runtime selection, and .NET 9 updates.
  • Refreshes PPC64LE and s390x architecture support, external runtimes, publishing, and test configuration.
File Description
patches/​runner-main-sdk8-s390x.patch Refreshes s390x and PPC64LE architecture support, external runtime packaging, publishing behavior, and related tests.
patches/​runner-main-sdk8-ppc64le.patch Refreshes PPC64LE and s390x architecture support, external runtime packaging, publishing behavior, and related tests.
patches/​runner-main-sdk8-arm.patch Restores ARM32 packaging with Node 22 runtime selection and updates the .NET 9 build and test configuration.
patches/​last_processed_commit.txt Advances the processed upstream commit marker to 1060fd3acfef295496f6843c2ec134fd74a70dc5.

Review effort: Lite

Comment thread patches/runner-main-sdk8-arm.patch Resolved
Comment thread patches/runner-main-sdk8-ppc64le.patch Resolved
Comment thread patches/runner-main-sdk8-ppc64le.patch Resolved
Comment thread patches/runner-main-sdk8-s390x.patch Resolved
Comment thread patches/runner-main-sdk8-s390x.patch Resolved
Comment thread patches/runner-main-sdk8-arm.patch Resolved
Comment thread patches/runner-main-sdk8-ppc64le.patch Resolved
Comment thread patches/runner-main-sdk8-s390x.patch Resolved
Comment thread patches/runner-main-sdk8-arm.patch Resolved

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

btw, should we also update the these patches files? @yanksyoon

image

@yanksyoon

Copy link
Copy Markdown
Member Author

2026/11/24 Problem: the release patch files are a separate patch stream and could appear stale while the main patches are being recovered.

Resolution: keep runner-sdk8-arm.patch, runner-sdk8-ppc64le.patch, and runner-sdk8-s390x.patch out of PR #291. They target release v2.338.2, which predates upstream cf65f3e; the current release patches were already handled by PRs #262 and #264. We will verify the release patches against v2.338.2 separately and update them only when a release baseline contains the relevant upstream changes. This keeps main and release patch bases from being mixed.

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

Review of the patch layer. All three patches apply cleanly on the stack tip, and the markers and trailers all match 1060fd3a. One blocking issue and a few smaller ones.

Blocking: ppc64le and s390x Build & Layout fail since 86cd37c. See the inline comment on dir.proj. c437739 was green. Run 45344424061 fails with NU1101 ... Microsoft.NETCore.App.Host on Runner.Listener.csproj.

Please confirm or clean up

  • The Sdk.csproj hunk now only deletes the commented SelfContained line. The previous patch enabled SelfContained. Confirm this is intentional.
  • x64 conditions remain in the patched dev.sh SDK-install guard and in UpdateScriptL0.cs (!X64), but StepHostL0.cs no longer has !X64. x64 is never patched, so drop them or make them consistent.
  • The ARM patch drops RUNNER_IGNORE_ARM32_KILL_SWITCH and the ARM32 kill-switch tests. This looks right because upstream removed the kill switch, but please mention the removal in the PR description since it was an operator-facing setting.
  • The patched L0 step added in #293 failed earlier with NU1101 for the runtime and host packs (runs 45342354645 and 45343101802). Re-check it once the dir.proj fix lands.

Stack note: #288 is red on its own because the old patches no longer apply. Merge it together with this PR.

Comment thread patches/runner-main-sdk8-ppc64le.patch Resolved
Comment thread patches/runner-main-sdk8-ppc64le.patch Resolved
@yanksyoon
yanksyoon force-pushed the recovery/03-main-architecture-patches branch from e1856e9 to 6c2671b Compare November 25, 2026 03:51
@yanksyoon
yanksyoon enabled stacked auto-merge (squash) November 25, 2026 04:40
stacked auto-merge was automatically disabled November 25, 2026 04:43

Auto-merge was disabled for another pull request in the stack

@yanksyoon
yanksyoon merged commit 9f16818 into main Nov 25, 2026
@yanksyoon
yanksyoon deleted the recovery/03-main-architecture-patches branch November 25, 2026 04:47
An error occurred while trying to automatically change base from recovery/02-main-ppc-s390-patches to main November 25, 2026 05:15
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.

4 participants