Spaces:
Runtime error
Runtime error
Ashira Pitchayapakayakul commited on
Commit Β·
8c00e62
1
Parent(s): e2c9041
feat(regress-cron): daily 11:00 UTC regression-test on both Space + anchor
Browse files- HF Space: --quick mode (skip slow bridge smoke), every day 11:00 UTC
- Anchor: full suite incl bridge smoke (anchor has compute headroom)
Catches push breakage within 24h max. Logs to:
HF Space: $LOG_DIR/regression.log
Anchor: /data/logs/regression.log
Combined with monitor daemon (5min tick on Mac) + Discord notify on
state changes = fast feedback loop on any deployment regression.
- bin/anchor/cron-loop.sh +5 -0
- start.sh +3 -0
bin/anchor/cron-loop.sh
CHANGED
|
@@ -133,6 +133,11 @@ while true; do
|
|
| 133 |
done
|
| 134 |
}
|
| 135 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
# ββ Round 8 (worker keep-alive β anchor is durable, but defensive) β
|
| 137 |
[[ $((M % 30)) -eq 25 ]] && {
|
| 138 |
# If any worker died, respawn (idempotent β checks pgrep first)
|
|
|
|
| 133 |
done
|
| 134 |
}
|
| 135 |
|
| 136 |
+
# Daily 11:00 UTC: regression test suite β catches push breakage early.
|
| 137 |
+
# Anchor runs the FULL suite (incl bridge smoke) since it has compute.
|
| 138 |
+
[[ $((M % 1440)) -eq 660 ]] && bash "${REPO}/bin/v2/regression-test.sh" \
|
| 139 |
+
>> /data/logs/regression.log 2>&1 &
|
| 140 |
+
|
| 141 |
# ββ Round 8 (worker keep-alive β anchor is durable, but defensive) β
|
| 142 |
[[ $((M % 30)) -eq 25 ]] && {
|
| 143 |
# If any worker died, respawn (idempotent β checks pgrep first)
|
start.sh
CHANGED
|
@@ -479,6 +479,9 @@ while true; do
|
|
| 479 |
--n 1000 --keep-target 200 \
|
| 480 |
>> "$LOG_DIR/teachable.log" 2>&1 &
|
| 481 |
}
|
|
|
|
|
|
|
|
|
|
| 482 |
# Weekly Sun 10:00 UTC: abstract-cot compress reasoning data
|
| 483 |
[[ $((M % 10080)) -eq 600 ]] && {
|
| 484 |
for f in "$DATA"/v2/verify-traces.jsonl "$DATA"/v2/self-improve/winners-*.jsonl; do
|
|
|
|
| 479 |
--n 1000 --keep-target 200 \
|
| 480 |
>> "$LOG_DIR/teachable.log" 2>&1 &
|
| 481 |
}
|
| 482 |
+
# Daily 11:00 UTC: regression test suite (catches breakage post-push)
|
| 483 |
+
[[ $((M % 1440)) -eq 660 ]] && bash ~/.surrogate/bin/v2/regression-test.sh --quick \
|
| 484 |
+
>> "$LOG_DIR/regression.log" 2>&1 &
|
| 485 |
# Weekly Sun 10:00 UTC: abstract-cot compress reasoning data
|
| 486 |
[[ $((M % 10080)) -eq 600 ]] && {
|
| 487 |
for f in "$DATA"/v2/verify-traces.jsonl "$DATA"/v2/self-improve/winners-*.jsonl; do
|