Skip to content

ci: validate recovered architecture patches - #293

Merged
yanksyoon merged 11 commits into
recovery/03-main-architecture-patchesfrom
recovery/04-validate-architecture-patches
Nov 25, 2026
Merged

yanksyoon merged 11 commits into
recovery/03-main-architecture-patchesfrom
recovery/04-validate-architecture-patches

Conversation

@yanksyoon

@yanksyoon yanksyoon commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Draft validation improvements

This stacked draft tightens validation for the recovered architecture patches without adding patch-upload or artifact features.

Changes

  • Run all five matrix legs even when one fails (fail-fast: false) and cancel superseded runs with workflow concurrency.
  • Run Debug L0 tests on native arm64, ppc64le, and s390x runners; keep Release layout validation separate.
  • Keep package creation and package smoke tests on their existing workflow_dispatch/push gate rather than changing pull-request cost and Docker rate-limit behavior.
  • Validate non-PR package contents, including Node 24 paths and versions derived from src/Misc/externals.sh.
  • Validate the ARM32 Node 22 version and architecture inside the existing ARM32v7 container smoke test, deriving the expected version from the patched source pin.
  • Existing artifact publishing remains restricted to non-PR events.

Deliberately not included

  • No patch upload or recovery artifact workflow.
  • No ARM32 L0 testhost change; ARM32 execution remains covered by the container smoke test.
  • No NoWarn edits. The declarations are existing upstream project context.

Verification

  • actionlint -ignore "shellcheck reported issue" -ignore "label .* is unknown" .github/workflows/build.yml
  • git diff --check
  • Full five-runtime PR matrix for layout and patched builds.
  • Manual workflow_dispatch on the final stack tip for package and ARM32 smoke tests.

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

The native ppc64le and s390x workflow legs invoke src/dev.sh with unsupported targets, causing them to exit before running the intended L0 tests and leaving a critical active issue.

1 open issue
What changed in this PR

This PR strengthens CI validation for recovered architecture-specific runner patches while preserving existing package and artifact gating.

Changes:

  • Disables matrix fail-fast so all five runtime legs execute independently.
  • Adds targeted L0 validation for patched native ppc64le and s390x runners.
  • Expands Node 24 and ARM32 Node 22 package smoke-test assertions for contents, versions, and architecture.
File Description
.github/​workflows/​build.yml Updates the CI matrix behavior, adds architecture-specific L0 execution, and expands Node package smoke-test validation.

Review effort: Lite

Comment thread .github/workflows/build.yml Resolved
@yanksyoon
yanksyoon force-pushed the recovery/04-validate-architecture-patches branch from 73e2886 to 200473f Compare November 24, 2026 06:58
@yanksyoon
yanksyoon marked this pull request as ready for review November 24, 2026 07:11

@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 CI validation layer. The Node assertions are derived from externals.sh, and the sed patterns extract the right versions from the patched trees for all three architectures. fail-fast: false is a good change, since an early failure was cancelling the other legs and hiding their results.

Depends on #291: the ppc64le and s390x legs fail in Build & Layout (NU1101, apphost pack) because of the dir.proj change in #291. This PR cannot be validated until that is fixed.

Please address

  • The "Maintainer note" in .github/release-note-canonical.md (inline comment below).
  • The new patched L0 step (inline comment below).
  • The package and Node assertions run only on non-PR events, and no workflow_dispatch run exists on the stack tip. Please run one manually before merging, since otherwise they first run on main after merge.
  • release.yml builds with the runner-sdk8-* patches and has no Node assertions, so these checks protect only the main CI. Please state that limit in the PR description, or add the checks there too.

Minor

  • The description says "targeted L0", but the step runs the full suite (Release on ppc64le/s390x versus Debug on x64).
  • build.yml has no concurrency group. With fail-fast: false, superseded runs keep holding the scarce ppc64le and s390x runners.
  • The node20 absence checks only catch a re-introduction, since upstream no longer ships node20.

Comment thread .github/release-note-canonical.md Resolved
Comment thread .github/workflows/build.yml Resolved
Comment thread .github/workflows/build.yml Resolved
@yanksyoon
yanksyoon force-pushed the recovery/04-validate-architecture-patches branch 2 times, most recently from badcaba to e81cf67 Compare November 24, 2026 09:00
@yanksyoon
yanksyoon requested a review from yhaliaw November 25, 2026 02:54
@yanksyoon
yanksyoon force-pushed the recovery/04-validate-architecture-patches branch from 79d435f to a4f2a59 Compare November 25, 2026 03:52
@yanksyoon
yanksyoon force-pushed the recovery/04-validate-architecture-patches branch from a4f2a59 to 69479b2 Compare November 25, 2026 03:54
@yanksyoon
yanksyoon enabled stacked auto-merge (squash) November 25, 2026 04:40
@yanksyoon
yanksyoon disabled stacked auto-merge November 25, 2026 04:43
@yanksyoon
yanksyoon merged commit 1fc3b87 into main Nov 25, 2026
8 checks passed
@yanksyoon
yanksyoon deleted the recovery/04-validate-architecture-patches branch November 25, 2026 04:47
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