Files
worldmonitor/scripts/seed-bundle-resilience-validation.mjs
Elie Habib 83cd6d3b3d chore(resilience): Railway cron for weekly validation suite (T2.7) (#2988)
* chore(resilience): Railway cron for weekly benchmark + backtest + sensitivity (Phase 2 T2.7)

* fix(resilience): remove validation suite from seed-health monitoring (#2988 P2)

Validation scripts (benchmark, backtest, sensitivity) produce audit
artifacts, not product data. They don't write seed-meta heartbeats,
so seed-health permanently reported them as missing/stale. Removed
the three entries from api/seed-health.js and api/health.js. The
weekly cron bundle still runs all three scripts every invocation,
which is the correct behavior for a validation suite.

* fix(resilience): use WEEK constant in validation bundle (#2988 review)
2026-04-12 09:53:21 +04:00

24 lines
533 B
JavaScript

#!/usr/bin/env node
import { runBundle, WEEK } from './_bundle-runner.mjs';
await runBundle('resilience-validation', [
{
label: 'External-Benchmark',
script: 'benchmark-resilience-external.mjs',
intervalMs: WEEK,
timeoutMs: 300_000,
},
{
label: 'Outcome-Backtest',
script: 'backtest-resilience-outcomes.mjs',
intervalMs: WEEK,
timeoutMs: 300_000,
},
{
label: 'Sensitivity-Suite',
script: 'validate-resilience-sensitivity.mjs',
intervalMs: WEEK,
timeoutMs: 600_000,
},
]);