Skip to content

feat: add ScheduleType.Once and ScheduledAt for delayed one-off jobs#11

Merged
Theauxm merged 1 commit intomainfrom
feat/delayed-jobs
Mar 3, 2026
Merged

feat: add ScheduleType.Once and ScheduledAt for delayed one-off jobs#11
Theauxm merged 1 commit intomainfrom
feat/delayed-jobs

Conversation

@Theauxm
Copy link
Copy Markdown
Member

@Theauxm Theauxm commented Mar 3, 2026

Summary

  • Add Once = 6 to ScheduleType enum for one-off delayed jobs
  • Add ScheduledAt (DateTime?) to Manifest and WorkQueue models with corresponding DTO updates
  • Migration 023 adds the enum value, scheduled_at columns, and a partial index on work_queue

Test plan

  • dotnet build succeeds
  • Downstream repos (Trax.Scheduler) can consume the updated package via ./pack-local.sh
  • Migration 023 applies cleanly on PostgreSQL

Add Once (value 6) to ScheduleType enum for one-off delayed jobs that
fire once at a scheduled time, then auto-disable. Add ScheduledAt
(DateTime?) to both Manifest and WorkQueue models, with corresponding
DTO updates. Migration 023 adds the enum value, columns, and a partial
index on work_queue for efficient scheduled-at filtering.
@Theauxm Theauxm merged commit d817934 into main Mar 3, 2026
1 check passed
@traxsharp
Copy link
Copy Markdown

traxsharp Bot commented Mar 3, 2026

This PR is included in version 1.3.0

@Theauxm Theauxm deleted the feat/delayed-jobs branch March 6, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant