Repository navigation
Conversation
Harness-Claim: true Agent: switchboard-dev Host: ANCHOR Base-Ref: origin/main Base-SHA: e0f144b Claimed-At: 2026-11-03T21:19:00.6638185Z Nonce: 63ab9b47b04f28d8
…ss (#792) Slice A1 of the Schedules tab: list every runner schedule file with its cron description, next run (local-minute walk, DST and half-hour zones), problems the runner would refuse on (shared scheduleLaunchRefusal), and recent runs with replied/running, behind a list-schedules IPC. No UI yet.
Unsandboxed launches have nothing to refuse, and the harnesses that extract the launch code do not define the helper. Anchor the off-Linux test on the helper call, since the platform check now lives in the helper.
…efuse it A malformed cron no longer fails the whole listing, a schedule whose command the runner cannot build is reported instead of promised a run, and known projects are computed once per listing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Slice A1 of #792 (Schedules tab), per the verified spec rev 4.3 (.work-files/spec-792.md, two verifier rounds, amendments applied). Backend only, no UI change, so no changelog entry (docs/changelog.md:81-82).
src/main/schedules/schedule-list.js: Electron-freebuildScheduleList(deps)(getCachedByFolder, isScheduleRunLive, scheduleProjects, catchUpActive injected), registered aslist-schedulesin main.js and exposed aslistSchedulesin preload;result: nulluntil slice D.listScheduleFiles,isRunnerScheduleFileName,nextCronMatch(minute walk; skips the rest of an hour only to the next local minute 0, so half-hour zones and DST fall-back are exact),describeCron.scheduleLaunchRefusalis the one rule shared byrunScheduleCommandand the listing's problems (sandbox off Linux, refused add-dirs);scheduleBindRefusals(no longer appears in main.js.replied(assistant check, notisCountedMessage) andrunning.Tests: schedule-list (13), schedule-next-run (5, incl. Europe/Paris DST and Asia/Kolkata), schedule-file-name; each spec mutation shown red first (Codex report). Green under Node 22 with both TMP spellings and under Node 20; module-layout, schedule-live-resume and run-schedule-now-result green. Lint clean.