Why do you want to contribute?
I'd like to fix #3209: imperative schedules created via schedules.create() are invisible in the Schedules UI when there's no current successful deployment, even though they exist in the DB, fire runs, and count against the schedule limit.
Root cause: ScheduleListPresenter bails out early when findCurrentWorkerFromEnvironment returns null. This early return made sense when possibleTasks was built from backgroundWorkerTask.findMany({ workerId: latestWorker.id }), but PR #3368 changed that query to getTaskIdentifiers(environmentId) which doesn't need a worker at all. The early return was never removed.
Fix is two files:
- Remove the early return in
ScheduleListPresenter.server.ts
- Fix the blank-state condition in the schedules route so
possibleTasks.length === 0 alone doesn't trigger "Create your first scheduled task" when imperative schedules exist
Prior contributions or relevant experience
I'm a CS student (graduating 2027) with hands-on TypeScript and React experience. I currently don't have merged OSS contributions to showcase. I've read the contributing guidelines, traced the bug to its root cause (the early return in ScheduleListPresenter that became stale after PR #3368 changed the possibleTasks query), and have the fix ready.
Portfolio: https://itsaryan.tech
GitHub: https://github.com/itsaryanchauhan
Why do you want to contribute?
I'd like to fix #3209: imperative schedules created via
schedules.create()are invisible in the Schedules UI when there's no current successful deployment, even though they exist in the DB, fire runs, and count against the schedule limit.Root cause:
ScheduleListPresenterbails out early whenfindCurrentWorkerFromEnvironmentreturns null. This early return made sense whenpossibleTaskswas built frombackgroundWorkerTask.findMany({ workerId: latestWorker.id }), but PR #3368 changed that query togetTaskIdentifiers(environmentId)which doesn't need a worker at all. The early return was never removed.Fix is two files:
ScheduleListPresenter.server.tspossibleTasks.length === 0alone doesn't trigger "Create your first scheduled task" when imperative schedules existPrior contributions or relevant experience
I'm a CS student (graduating 2027) with hands-on TypeScript and React experience. I currently don't have merged OSS contributions to showcase. I've read the contributing guidelines, traced the bug to its root cause (the early return in ScheduleListPresenter that became stale after PR #3368 changed the possibleTasks query), and have the fix ready.
Portfolio: https://itsaryan.tech
GitHub: https://github.com/itsaryanchauhan