Refactor global schedules with mobile-responsive UI and backend optimizations (#167)

* ralph: ralph-global-schedules-dashboard completed after 2 iterations

* Refactor global schedules with mobile-responsive UI and backend optimizations
This commit is contained in:
Chris Scott authored and GitHub committed 2026-03-22 18:23:36 -04:00
1 parent ba15fb31e4
commit f18bcbbf3e
10 files changed
+721 -1

No files matched your search

+6
View File
@@ -8,6 +8,7 @@ import {
type UpdateScheduleJobRequest,
} from '@opencode-manager/shared/types'
import { getRepoById } from '../db/queries'
import type { ScheduleJobWithRepo } from '../db/schedules'
import {
createScheduleJob,
createScheduleRun,
@@ -15,6 +16,7 @@ import {
getScheduleJobById,
getRunningScheduleRunByJob,
getScheduleRunById,
listAllScheduleJobsWithRepos,
listEnabledScheduleJobs,
listScheduleJobsByRepo,
listRunningScheduleRuns,
@@ -359,6 +361,10 @@ export class ScheduleService {
return listEnabledScheduleJobs(this.db)
}
listAllJobsWithRepos(): ScheduleJobWithRepo[] {
return listAllScheduleJobsWithRepos(this.db)
}
async recoverRunningRuns(): Promise<void> {
const runningRuns = listRunningScheduleRuns(this.db)