fix: domainPrompts closing brace too early; arm64 use native platform image
Some checks failed
Auto Tag / auto-tag (push) Successful in 4s
Release / build-linux-arm64 (push) Failing after 0s
Test / rust-fmt-check (push) Successful in 1m4s
Release / build-macos-arm64 (push) Successful in 5m26s
Test / rust-clippy (push) Successful in 7m41s
Test / rust-tests (push) Successful in 8m13s
Test / frontend-typecheck (push) Successful in 1m28s
Test / frontend-tests (push) Successful in 1m12s
Release / build-linux-amd64 (push) Successful in 16m13s
Release / build-windows-amd64 (push) Successful in 13m30s

- domainPrompts.ts: closing }; was inside the Record object after 'automation',
  leaving hpe_infra/dell_hardware/identity orphaned outside the object — caused
  3 TS1005/TS1109 errors and broke the macOS and all frontend builds
- release.yml: replace multiarch cross-compilation (broken due to WebKit arm64
  package conflicts) with --platform linux/arm64 container option so QEMU runs
  a native ARM64 image directly — no cross-compilation, no package conflicts
This commit is contained in:
Shaun Arman 2026-03-31 19:36:07 -05:00
parent 3d3f877eb3
commit 03cc9914ad
2 changed files with 6 additions and 11 deletions

View File

@ -147,7 +147,10 @@ jobs:
build-linux-arm64:
runs-on: linux-arm64
container:
# Force the ARM64 image variant — QEMU binfmt on the runner handles execution.
# This avoids multiarch cross-compilation package conflicts entirely.
image: rust:1.88-slim
options: --platform linux/arm64
steps:
- name: Checkout
run: |
@ -158,21 +161,14 @@ jobs:
git checkout FETCH_HEAD
- name: Install dependencies
run: |
# Enable arm64 multiarch so apt can install aarch64 libraries for cross-compilation
dpkg --add-architecture arm64
# Native ARM64 container — install packages without multiarch conflicts
apt-get update -qq && apt-get install -y -qq \
gcc-aarch64-linux-gnu \
libwebkit2gtk-4.1-dev:arm64 libssl-dev:arm64 libgtk-3-dev:arm64 \
libayatana-appindicator3-dev:arm64 librsvg2-dev:arm64 patchelf \
libwebkit2gtk-4.1-dev libssl-dev libgtk-3-dev \
libayatana-appindicator3-dev librsvg2-dev patchelf \
pkg-config curl perl
curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
apt-get install -y nodejs
- name: Build
env:
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
PKG_CONFIG_SYSROOT_DIR: /
PKG_CONFIG_LIBDIR: /usr/lib/aarch64-linux-gnu/pkgconfig:/usr/share/pkgconfig
PKG_CONFIG_ALLOW_CROSS: "1"
run: |
npm ci --legacy-peer-deps
rustup target add aarch64-unknown-linux-gnu

View File

@ -292,7 +292,6 @@ When analyzing automation and CI/CD issues, focus on these key areas:
- **Common error patterns**: "unreachable" (SSH/network), "task failed" (check return code and stderr), "permission denied" (sudo/become misconfiguration), "variable undefined" (inventory variable precedence), "timeout" (slow target or network), "hook failed" (Helm pre/post hook error).
Always ask about the automation tool version, execution environment (direct CLI, Tower/AWX, Jenkins pipeline), and whether this worked before and what changed.`,
};
hpe_infra: `You are a senior HPE infrastructure engineer specializing in incident triage and root cause analysis. Your expertise covers HPE OneView, HPE iLO, HPE Synergy composable infrastructure, HPE ProLiant DL servers, and HPE firmware management tools.