Release Binaries #40
release.yml
on: workflow_dispatch
Web UI Gates
41s
Matrix: build
Publish to public repo (tags only)
0s
Annotations
2 errors and 1 warning
|
Web UI Gates
Process completed with exit code 1.
|
|
src/ci/workflow-gates.test.ts > web gui release workflow gates > keeps deterministic release matrix and artifact packaging contract:
crates/orchestrator-web-server/web-ui/src/ci/workflow-gates.test.ts#L97
AssertionError: expected 'name: Release Binaries\n\non:\n push…' to contain 'BINARIES=(ao agent-runner llm-cli-wra…'
- Expected
+ Received
- BINARIES=(ao agent-runner llm-cli-wrapper ao-oai-runner ao-workflow-runner)
+ name: Release Binaries
+
+ on:
+ push:
+ tags:
+ - "v*"
+ branches:
+ - "version/**"
+ workflow_dispatch:
+ inputs:
+ dry_run_note:
+ description: Optional context for manual non-publishing release validation.
+ required: false
+ type: string
+
+ permissions:
+ contents: read
+
+ jobs:
+ web-ui-gates:
+ name: Web UI Gates
+ runs-on: ubuntu-latest
+ timeout-minutes: 25
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+
+ - name: Setup Node
+ uses: actions/setup-node@v4
+ with:
+ node-version: "22.x"
+ cache: npm
+ cache-dependency-path: crates/orchestrator-web-server/web-ui/package-lock.json
+
+ - name: Setup Rust toolchain
+ uses: dtolnay/rust-toolchain@stable
+
+ - name: Install web-ui dependencies
+ working-directory: crates/orchestrator-web-server/web-ui
+ run: npm ci
+
+ - name: Run web-ui tests
+ working-directory: crates/orchestrator-web-server/web-ui
+ run: npm run test
+
+ - name: Build web-ui bundle
+ working-directory: crates/orchestrator-web-server/web-ui
+ run: npm run build
+
+ - name: Run web-ui smoke E2E
+ id: smoke
+ working-directory: crates/orchestrator-web-server/web-ui
+ env:
+ SMOKE_ARTIFACT_DIR: ${{ github.workspace }}/crates/orchestrator-web-server/web-ui/.smoke-artifacts
+ run: npm run test:e2e:smoke
+
+ - name: Upload smoke diagnostics
+ if: failure()
+ uses: actions/upload-artifact@v4
+ with:
+ name: release-web-ui-smoke-failure-${{ github.run_id }}-${{ github.run_attempt }}
+ path: ${{ github.workspace }}/crates/orchestrator-web-server/web-ui/.smoke-artifacts
+ if-no-files-found: ignore
+ retention-days: 7
+
+ build:
+ name: Build (${{ matrix.target }})
+ runs-on: ${{ matrix.os }}
+ needs: web-ui-gates
+ strategy:
+ fail-fast: false
+ matrix:
+ include:
+ - os: ubuntu-latest
+ target: x86_64-unknown-linux-gnu
+ archive_ext: tar.gz
+ - os: macos-15-intel
+ target: x86_64-apple-darwin
+ archive_ext: tar.gz
+ - os: macos-14
+ target: aarch64-apple-darwin
+ archive_ext: tar.gz
+ - os: windows-latest
+ target: x86_64-pc-windows-msvc
+ archive_ext: zip
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+
+ - name: Install Rust toolchain
+ uses: dtolnay/rust-toolchain@stable
+ with:
+ targets: ${{ matrix.target }}
+
+ - name: Cache Cargo build artifacts
+ uses: Swatinem/rust-cache@v2
+
+ - name: Compute release version
+ id: version
+ shell: bash
+ run: |
+ if [[ "${GITHUB_REF}" == refs/tags/* ]]; then
+ VERSION="${GITHUB_REF_NAME}"
+ else
+ BRANCH_SANITIZED="$(echo "${GITHUB_REF_NAME}" | sed -E 's/[^A-Za-z0-9._-]+/-/g; s/^-+//; s/-+$//')"
+ if [[ -z "${BRANCH_SANITIZED}" ]]; then
+ BRANCH_SANITIZED="ref"
+ fi
+ VERSION="${BRANCH_SANITIZED}-${GITHUB_SHA::7}"
+ fi
+ echo "value=${VERSION}" >> "${GITHUB_OUTPUT}"
+ echo "build_number=${GITHUB_RUN_NUMBER}" >> "${GITHUB_OUTPUT}"
+ echo "build_id=${GITHUB_RUN_ID}" >> "${GITHUB_OUTPUT}"
+
+ - name: Enforce Cargo.toml version matches tag
+ if: startsWith(github.ref, 'refs/tags/v')
+ shell: bash
+ run: |
+ set -euo pipefail
+ TAG_VERSION="${GITHUB_REF_NAME#v}"
+ CARGO_VERSION="$(grep '^version' crates/orchestrator-cli/Cargo.toml | hea
|
|
Web UI Gates
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|