Files
git.stella-ops.org/scripts/signals/reachability-smoke.sh
StellaOps Bot bc0762e97d up
2025-12-09 00:20:52 +02:00

14 lines
667 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
# Lightweight smoke for SIGNALS-24-004/005: run reachability scoring + cache/event tests.
# Uses existing unit tests as fixtures; intended for CI and local preflight.
ROOT="${1:-src/Signals/__Tests/StellaOps.Signals.Tests/StellaOps.Signals.Tests.csproj}"
FILTER="${FILTER:-ReachabilityScoringServiceTests|RuntimeFactsIngestionServiceTests.IngestAsync_AggregatesHits_AndRecomputesReachability|InMemoryEventsPublisherTests}"
echo "[info] Running reachability smoke against ${ROOT}"
dotnet test "${ROOT}" -c Release --no-build --filter "${FILTER}" --logger "console;verbosity=normal"
echo "[info] Reachability smoke succeeded."