#!/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."