(query = {})
| 24 | const STUCK_THRESHOLD_MS = parseInt(process.env.EVOLVER_RUN_STUCK_THRESHOLD_MS, 10) || (30 * 60 * 1000); |
| 25 | |
| 26 | function listRuns(query = {}) { |
| 27 | const runs = buildRuns().sort((a, b) => timestampOf(b.updatedAt) - timestampOf(a.updatedAt)); |
| 28 | return paginate(runs, query); |
| 29 | } |
| 30 | |
| 31 | function getRun(runId) { |
| 32 | const runs = buildRuns(); |
nothing calls this directly
no test coverage detected