Document recovery and run its regressions in infra gate
This commit is contained in:
parent
432991cbc5
commit
dccc52ae1c
2 changed files with 10 additions and 1 deletions
|
|
@ -8,7 +8,9 @@ the project."
|
||||||
|
|
||||||
1. The release watchdog (`infra/bin/fly-watchdog` check 10) flags a suspected loop: few distinct
|
1. The release watchdog (`infra/bin/fly-watchdog` check 10) flags a suspected loop: few distinct
|
||||||
macros, a short sequence repeating, no growth in places explored. It exports
|
macros, a short sequence repeating, no growth in places explored. It exports
|
||||||
`fly_loop_suspected` and writes `/run/fly/wd/loop.json`. It never acts.
|
`fly_loop_suspected` and writes `/run/fly/wd/loop.json`. It never acts. The separate
|
||||||
|
`fly-loop-recover.timer` can restart only flysim after two fresh suspected probes;
|
||||||
|
see `infra/docs/loop-recovery.md`. This does not replace checkpoint-based review.
|
||||||
2. The coordinator session (Fable) checks that marker on a schedule. On a flag it pulls the
|
2. The coordinator session (Fable) checks that marker on a schedule. On a flag it pulls the
|
||||||
live checkpoint read-only (`pct pull`, into `.local/checkpoints/`, never committed), and
|
live checkpoint read-only (`pct pull`, into `.local/checkpoints/`, never committed), and
|
||||||
spawns a review agent with the trap brief: reproduce from the checkpoint with the real
|
spawns a review agent with the trap brief: reproduce from the checkpoint with the real
|
||||||
|
|
|
||||||
|
|
@ -1483,6 +1483,13 @@ else
|
||||||
echo " mention is genuinely legitimate, add it to infra/tests/de-pii-allow.txt with a reason." >&2
|
echo " mention is genuinely legitimate, add it to infra/tests/de-pii-allow.txt with a reason." >&2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "--- loop recovery tests ---"
|
||||||
|
if python3 -m unittest discover -s "$REPO_ROOT/infra/tests" -p 'test_loop_recover.py' >/dev/null 2>&1; then
|
||||||
|
pass "loop recovery: fresh probes, cooldown, and router refusal"
|
||||||
|
else
|
||||||
|
fail "loop recovery tests failed; run python3 -m unittest discover -s infra/tests -p test_loop_recover.py -v"
|
||||||
|
fi
|
||||||
|
|
||||||
echo "==="
|
echo "==="
|
||||||
if [ "$FAILED" -eq 0 ]; then
|
if [ "$FAILED" -eq 0 ]; then
|
||||||
echo "lint.sh: ALL CHECKS PASSED"
|
echo "lint.sh: ALL CHECKS PASSED"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue