Files
ai-engineering/scripts/stop-fixture-servers.sh
T
bquarkz 9a555cb3c6
build / jvm (push) Waiting to run
build / native (macos-15, macos-arm64) (push) Waiting to run
build / native (ubuntu-24.04, linux-x86_64) (push) Waiting to run
build / native (windows-2025, windows-x86_64) (push) Waiting to run
Test / Tests and coverage
Intrepid/AI Engineering/pipeline/head This commit looks good
feat: add per-project native server and SSE command streaming
Keep Spring in a persistent project server with lightweight clients, managed start/stop, bounded SSE subscriptions, cursor recovery and durable mutation outcomes. Preserve SQLite authority and transaction limits, and document reproducible native measurements.

Validation: 269 tests, 11 pipeline scenarios, full native/SSE smoke, native package verification and 17 installer tests passed. Implements WRK-000E / DEC-0001 / DEC-0002.
2026-11-22 23:08:47 +00:00

10 lines
495 B
Bash

#!/usr/bin/env bash
# Source from a smoke script; stop only servers below that script's disposable root.
stop_fixture_servers() {
local fixture_root=$1 fixture_binary=$2 endpoint project
while IFS= read -r -d '' endpoint; do
project=${endpoint%/.ai-engineering/.local/server/endpoint.json}
"$fixture_binary" --project "$project" stop --timeout-seconds 10 >/dev/null || return 1
done < <(find "$fixture_root" -type f -path '*/.ai-engineering/.local/server/endpoint.json' -print0)
}