mirror of
https://github.com/bitbaum/substrata.git
synced 2026-12-04 05:47:59 +01:00
- Align SCHEDULED.budgetMs to 200s (200_000ms) to ensure scheduled quality runs finish well within the 300s box wrapper - Forward request.signal from POST /api/cron/quality to runQuality - Pass signal and remaining time bounds to probeUrl, quotesAt, pageText, secVerdicts, figiVerdicts, and mcsVerdicts - Stop starting new lanes and work in pool when signal is aborted or deadline is reached - Add automated test in test/quality.test.ts verifying budget bounds and signal forwarding