Skip to content

feat(ActiveJob): honor scheduled_at as the default run_at - #121

Open
smudge wants to merge 1 commit into
smudge/stack/3from
smudge/stack/4
Open

feat(ActiveJob): honor scheduled_at as the default run_at#121
smudge wants to merge 1 commit into
smudge/stack/3from
smudge/stack/4

Conversation

@smudge

@smudge smudge commented Aug 4, 2026

Copy link
Copy Markdown
Member

Stacked PRs:


feat(ActiveJob): honor scheduled_at as the default run_at

When a JobWrapper is built from previously-serialized job data (e.g. via retry_on or retry_job), the wrapped job's scheduled_at was ignored and the job would run immediately.

The preparer now falls back to the payload's scheduled_at before defaulting to now.

(This only applies to ActiveJobs, and an explicit :run_at option still wins.)

When a JobWrapper is built from previously-serialized job data (e.g. via `retry_on` or `retry_job`), the wrapped job's scheduled_at was ignored and the job would run immediately.

The preparer now falls back to the payload's scheduled_at before defaulting to now.

(This only applies to ActiveJobs, and an explicit :run_at option still wins.)

stack-info: PR: #121, branch: smudge/stack/4
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.

2 participants