Repository navigation
Add opt-in Linux RISC-V runner builds - #294
florentianayuwono wants to merge 5 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update the architecture patches for the current upstream source and keep RISC-V packages on Node 24 only. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep optional RISC-V sync from blocking existing architectures when disabled, and use its own patch baseline when enabled. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Match GitHub Actions string comparison when deciding whether to synchronize the optional RISC-V patches. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move workflow regressions into a patch against an existing upstream test file, inline the fork-specific helpers, and preserve x64 CI when optional tests become stale. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🔵 Needs a closer look
Native RISC-V execution, GitHub Actions acceptance of RISCV64 metadata, runtime behavior, and end-to-end CI/release publishing remain unverified and require human validation on a native builder.
No open issues 🎉
What changed in this PR
Adds experimental, opt-in Linux RISC-V runner builds to the fork’s existing architecture-patch system, covering mirrored upstream main and release sources.
Changes:
- Adds RISC-V architecture support using community .NET 10 and Node 24, including legacy Node request fallback for release builds.
- Extends CI and release workflows with checksum-pinned SDK installation, L0 tests, package validation and asset publishing.
- Adds independent RISC-V patch baselines, workflow regression tests and setup documentation.
Native execution, live GitHub Actions jobs and native CI/release publishing remain unverified.
| File | Description |
|---|---|
patches/runner-sdk8-riscv64.patch |
Adds release-source RISC-V support, Node 24 fallback and compatibility tests. |
patches/runner-main-sdk8-riscv64.patch |
Adds main-source RISC-V architecture, runtime and build support. |
patches/patch-sync-l0.patch |
Adds regression tests for workflow gates, patch baselines and SDK checksum rejection. |
.github/workflows/release.yml |
Adds opt-in RISC-V builds, tests, packaging and release assets. |
.github/workflows/patch_update_release.yml |
Synchronizes the enabled RISC-V patch from its own release marker. |
.github/workflows/patch_update_main.yml |
Synchronizes the enabled RISC-V patch from its own commit marker. |
.github/workflows/build.yml |
Adds opt-in RISC-V CI and workflow regression-test integration. |
.github/release-note-canonical.md |
Documents prerequisites, build steps, opt-in controls and operational limitations. |
Review effort: Balanced
|
Tested this end to end on real riscv64 hardware: the runner registers, picks up jobs and runs them, but the bundled Node 24.22.3 segfaults as soon as JavaScript runs for long, so every JavaScript action crashes. The fix is in Node 24.23.0; we'll wait for its riscv64 build and bump Node issue
What was tested
Suggestions
AI-generated message. |
Summary
• patches/runner-main-sdk8-riscv64.patch — Adds RISC-V architecture, build, .NET 10 and Node 24 support to the mirrored upstream main source.
• patches/runner-sdk8-riscv64.patch — Equivalent changes for upstream release v2.338.2. Legacy Node 12/16/20 requests fall back to Node 24 on RISC-V; the RISC-V package does not bundle Node 20.
• patches/patch-sync-l0.patch — Adds workflow regression tests to an existing upstream test file. It is maintained separately and is not automatically synchronized by the architecture patch workflows.
• .github/workflows/build.yml — Adds the opt-in RISC-V build and tests, installs the checksum-pinned community SDK, applies patches and guards against bundling Node 20.
• .github/workflows/release.yml — Adds opt-in RISC-V build, packaging, checksum validation and release asset publishing.
• .github/workflows/patch_update_main.yml — Synchronizes the main RISC-V patch using its own upstream commit marker.
• .github/workflows/patch_update_release.yml — Synchronizes the release RISC-V patch using its own release-tag marker.
• .github/release-note-canonical.md — Documents prerequisites, build steps, feature flag and limitations, including disabling automatic runner updates.
Validation
ProcessExtensionL0.SuccessReadProcessEnvrace documented onmain; that test passed in isolation and on retry.v2.338.2. The main patch also applies to merged Canonicalmain; workflows pass actionlint.Runner.Listener --versionwith invariant globalization and Node 24'shashFileswith--jitless. Default Node V8 JIT segfaulted under QEMU 8.2.Native RISC-V execution, a live GitHub Actions job, and CI/release publishing on a native builder remain unverified.