Skip to content

Active Job Continuations 3 - #55174

Merged
jeremy merged 1 commit into
rails:mainfrom
djmb:active-job-continuations-3
Jun 10, 2025
Merged

jeremy merged 1 commit into
rails:mainfrom
djmb:active-job-continuations-3

Conversation

@djmb

@djmb djmb commented Jun 9, 2025 •

Copy link
Copy Markdown
Contributor

Follow up to #55127 and #55151

  • Instrument steps in a block so that runtime is recorded (matching perform/perform_started)
  • Allow job resumption configuration - max_resumptions, resume_options, resume_errors_after_advancing
  • Add Active Record Railtie to prevent checkpoints in database transactions
  • Checkpoint before each step except the first, rather than after each step.
  • Error if order of completed steps changes when re-running

@djmb
djmb force-pushed the active-job-continuations-3 branch 2 times, most recently from 6b3ae76 to e190c96 Compare June 9, 2025 13:27
@djmb djmb changed the title Active job continuations 3 Active Job Continuations 3 Jun 9, 2025
@fatkodima

Copy link
Copy Markdown
Member

Please don't forget to squash commits when merging to make the git history clean.

@fatkodima

Copy link
Copy Markdown
Member

Also wondering why it was initially quickly merged without reviews (which will lead to less follow ups).

Follow up to rails#55127 and rails#55151

- Instrument steps in a block so that runtime is recorded
  (matching perform/perform_started)
- Allow job resumption configuration - max_resumptions, resume_options,
  resume_errors_after_advancing
- Add Active Record Railtie to prevent checkpoints in database
  transactions
- Checkpoint before each step except the first, rather than after
  each step.
- Error if order of completed steps changes when re-running
@djmb
djmb force-pushed the active-job-continuations-3 branch from bd891d0 to 2ae4ca2 Compare June 10, 2025 14:27
@jeremy jeremy added this to the 8.1.0 milestone Jun 10, 2025
@jeremy
jeremy merged commit e9626a3 into rails:main Jun 10, 2025
Ridhwana pushed a commit to Ridhwana/rails that referenced this pull request Jun 17, 2025
Follow up to rails#55127 and rails#55151

- Instrument steps in a block so that runtime is recorded
  (matching perform/perform_started)
- Allow job resumption configuration - max_resumptions, resume_options,
  resume_errors_after_advancing
- Add Active Record Railtie to prevent checkpoints in database
  transactions
- Checkpoint before each step except the first, rather than after
  each step.
- Error if order of completed steps changes when re-running
bensheldon pushed a commit to bensheldon/rails that referenced this pull request Jun 17, 2025
Follow up to rails#55127 and rails#55151

- Instrument steps in a block so that runtime is recorded
  (matching perform/perform_started)
- Allow job resumption configuration - max_resumptions, resume_options,
  resume_errors_after_advancing
- Add Active Record Railtie to prevent checkpoints in database
  transactions
- Checkpoint before each step except the first, rather than after
  each step.
- Error if order of completed steps changes when re-running
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants