Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expect Job#scheduled_at to always be present; remove nil checks #1585

Merged
merged 1 commit into from
Jan 26, 2025

Conversation

bensheldon
Copy link
Owner

@bensheldon bensheldon commented Jan 26, 2025

As of GoodJob v4, scheduled_at should always be set. This removes the final places that are guarded against it being nil.

Details in explanation of Discrete Jobs in #928

Validation that this is true in #1332; discussion in #1574.

@bensheldon bensheldon added the refactor Code changes that do not introduce new features label Jan 26, 2025
@bensheldon bensheldon merged commit 8ec59c5 into main Jan 26, 2025
31 checks passed
@bensheldon bensheldon deleted the always-scheduled-at branch January 26, 2025 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Code changes that do not introduce new features
Projects
Development

Successfully merging this pull request may close these issues.

1 participant