You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d174d6d
Browse filesBrowse the repository at this point in the historyBrowse files
chore(scheduled-tasks): drop the leftovers the removal stranded
An independent audit of the branch turned up dead code and stale docs that the
compiler cannot see — nothing behavioural, but all of it rots silently.
- README still sold the feature: the "Scheduled tasks" tile, the prose listing
it as a workspace surface, and the now-unreferenced screenshot. The landing
surface went in c61770a; this tile was missed.
- `resource-content.tsx`: `SCHEDULE_STATUS_LABEL`, `formatScheduleInstant` and
`ScheduledTaskField` were orphaned when the schedule render branch went.
- `computeNextRunAt`: zero callers, including tests — its only consumer was the
removed agent-job runner.
- `applyScheduleUpdate`'s `allowCompleted` option: no call site passes it, and
its comment described self-completion, which no longer exists. The guard stays
(legacy `sourceType='job'` rows still carry `status='completed'` until the DB
follow-up); it is simply unconditional now.
- Three TSDoc blocks still described a create-job route and "opening a
scheduled-task artifact".
Type-check re-run with --force, since a cached turbo replay is not a check.
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/mothership-view/components/resource-content/resource-content.tsx
0 commit comments