ci: fix Linux CLI artifact path and Docker client
Linux / verify (pull_request) Successful in 2m0s
Linux / keyless-cuda (pull_request) Skipped
Linux / static-cuda-package (pull_request) Skipped
Linux / hosted-cuda-package (pull_request) Skipped
Linux / linux-cli-container (pull_request) Failing after 31s
Linux / linux-static-cli (pull_request) Failing after 1m51s
Linux / release-cli (pull_request) Skipped

This commit is contained in:
Pavlo Ratushnyi
2026-10-05 21:52:39 +02:00
parent cde6063c9c
commit b7d8388806
+33 -31
View File
@@ -220,7 +220,7 @@ jobs:
run: cargo build --manifest-path control-plane/Cargo.toml --locked --release --target x86_64-unknown-linux-musl --bin strata-next
- name: Verify ELF and checksum
run: |
binary=control-plane/target/x86_64-unknown-linux-musl/release/strata-next
binary=target/x86_64-unknown-linux-musl/release/strata-next
if readelf -l "$binary" | grep -q INTERP; then
echo 'ELF has a dynamic interpreter' >&2
exit 1
@@ -248,69 +248,69 @@ jobs:
cd dist
sha256sum strata-next-linux-x86_64-musl BUILD-PROVENANCE.txt ELF-AUDIT.txt > SHA256SUMS
- name: Static CLI model smoke
run: python3 scripts/smoke-static-cli.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-static-cli.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Engine loader probe before model acquisition
run: python3 scripts/smoke-engine-probe.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-engine-probe.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Explicit GPU profile driver policy without GPU
run: python3 scripts/smoke-gpu-requirement.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-gpu-requirement.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Declared GPU memory admission and child UUID pin without GPU
run: python3 scripts/smoke-cuda-memory.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-cuda-memory.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Atomic pinned assets before native serving
run: python3 scripts/smoke-asset-bootstrap.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-asset-bootstrap.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Native GGUF pack preparation against upstream oracle
run: python3 scripts/smoke-native-pack.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-native-pack.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Native fetch prepare serve and verified offline reuse
run: python3 scripts/smoke-native-bootstrap.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-native-bootstrap.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Pinned MTP structural preflight and native bootstrap
run: python3 scripts/smoke-mtp-pack.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-mtp-pack.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Native runtime profile metadata admission
run: python3 scripts/smoke-runtime-profile.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-runtime-profile.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Native systemd unit syntax and path safety
run: python3 scripts/smoke-service-unit.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-service-unit.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Native installer with actual isolated systemd user service
run: |
uid=$(id -u)
sudo systemctl start "user@$uid.service"
export XDG_RUNTIME_DIR="/run/user/$uid"
export DBUS_SESSION_BUS_ADDRESS="unix:path=$XDG_RUNTIME_DIR/bus"
python3 scripts/smoke-service-unit.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next --lifecycle
python3 scripts/smoke-native-switch.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
python3 scripts/smoke-service-unit.py target/x86_64-unknown-linux-musl/release/strata-next --lifecycle
python3 scripts/smoke-native-switch.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Native deployment configuration without worker launch
run: python3 scripts/smoke-config-check.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-config-check.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Native deployment readiness deadline without GPU
run: python3 scripts/smoke-wait-ready.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-wait-ready.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Native API authentication without GPU
run: python3 scripts/smoke-native-auth.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-native-auth.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Native custom text and regex tools without GPU
run: python3 scripts/smoke-custom-tools.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-custom-tools.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Native auto/none/required/forced tool policy without GPU
run: python3 scripts/smoke-tool-policy.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-tool-policy.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Live Responses replay and corrupt SSE evidence without GPU
run: PYTHONDONTWRITEBYTECODE=1 python3 scripts/test-live-responses-replay.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: PYTHONDONTWRITEBYTECODE=1 python3 scripts/test-live-responses-replay.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Input token count exact GEN wire parity without inference
run: python3 scripts/smoke-input-tokens.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-input-tokens.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Chat Completions live protocol and wire parity
run: python3 scripts/smoke-chat-completions.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-chat-completions.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Messages named SSE and tool protocol without GPU
run: python3 scripts/smoke-messages.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-messages.py target/x86_64-unknown-linux-musl/release/strata-next
- name: SSE idle keep-alive, terminal parity and disconnect without GPU
run: PYTHONDONTWRITEBYTECODE=1 python3 scripts/smoke-sse-keepalive.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: PYTHONDONTWRITEBYTECODE=1 python3 scripts/smoke-sse-keepalive.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Stored Responses retrieval and deletion without GPU
run: python3 scripts/smoke-response-history.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-response-history.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Durable Responses restart and disk failure gate
run: python3 scripts/smoke-response-history.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next --durable
run: python3 scripts/smoke-response-history.py target/x86_64-unknown-linux-musl/release/strata-next --durable
- name: Native drain and resume without GPU
run: python3 scripts/smoke-native-drain.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-native-drain.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Native signal shutdown grace without GPU
run: python3 scripts/smoke-signal-drain.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-signal-drain.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Native generation deadline and recovery without GPU
run: python3 scripts/smoke-generation-deadline.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-generation-deadline.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Native queue deadline without expiring active work
run: python3 scripts/smoke-queue-deadline.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-queue-deadline.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Static CLI HTTP cancellation failure isolation
run: python3 scripts/smoke-worker-cancel.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
run: python3 scripts/smoke-worker-cancel.py target/x86_64-unknown-linux-musl/release/strata-next
- name: Static CLI HTTP crash recovery without request replay
run: python3 scripts/smoke-worker-cancel.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next --restart
run: python3 scripts/smoke-worker-cancel.py target/x86_64-unknown-linux-musl/release/strata-next --restart
- name: Embedded CPU worker packaging without GPU
run: |
musl-gcc -O2 -static scripts/fixtures/embedded-worker.c -o "$RUNNER_TEMP/embedded-worker"
@@ -346,6 +346,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install the Docker CLI
run: command -v docker >/dev/null 2>&1 || { apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq docker.io >/dev/null; }
- name: Build actual CLI-only scratch image
run: docker build --file deploy/Dockerfile.static-cli --tag strata-cli-check .
- name: Check isolated CLI container startup and shutdown