From 03cc9914ad4f144f874bea4754ad04a37ebef7a3 Mon Sep 17 00:00:00 2001 From: Shaun Arman Date: Tue, 31 Mar 2026 19:36:07 -0500 Subject: [PATCH] fix: domainPrompts closing brace too early; arm64 use native platform image MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- .gitea/workflows/release.yml | 16 ++++++---------- src/lib/domainPrompts.ts | 1 - 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 1e6b678b..50aa8c59 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -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 diff --git a/src/lib/domainPrompts.ts b/src/lib/domainPrompts.ts index 855051a5..99a10af0 100644 --- a/src/lib/domainPrompts.ts +++ b/src/lib/domainPrompts.ts @@ -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.