Skip to content

feat: support scheduled job availability - #16

Closed
nooby6 wants to merge 10 commits into
mainfrom
feat/scheduled-job-availability
Closed

nooby6 wants to merge 10 commits into
mainfrom
feat/scheduled-job-availability

Conversation

@nooby6

@nooby6 nooby6 commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Accept an optional RFC 3339 available_at timestamp when creating a job.
  • Persist the requested availability time, defaulting to the current database time when omitted.
  • Keep scheduling enforcement in the existing PostgreSQL claim query, so workers cannot claim jobs before they become available.
  • Document the API and add service, repository, and PostgreSQL queue integration coverage.

Validation

  • Added tests for request validation and timestamp persistence.
  • Added a PostgreSQL integration test proving a scheduled job is not claimable before available_at and becomes claimable afterward.
  • GitHub Actions will run the full PostgreSQL-backed test suite.

@nooby6 nooby6 closed this Nov 1, 2026
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