MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / recentRuns

Method recentRuns

src/schedule/store.ts:258–262  ·  view source on GitHub ↗
(scheduleId: string, limit = 10)

Source from the content-addressed store, hash-verified

256 }
257
258 recentRuns(scheduleId: string, limit = 10): ScheduleRun[] {
259 return this.db.prepare(
260 `SELECT * FROM schedule_runs WHERE schedule_id = ? ORDER BY started_at DESC LIMIT ?`,
261 ).all(scheduleId, limit) as ScheduleRun[];
262 }
263}
264
265let _store: ScheduleStore | null = null;

Callers 7

schedule.test.tsFile · 0.80
index.tsFile · 0.80
gatherMaintainRunsFunction · 0.80
gatherAuditableRunsFunction · 0.80
executeMethod · 0.80
gatherDashboardDataFunction · 0.80
dispatchActionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected