Repository navigation
Follow up on Active Job Continuations PR feedback - #55151
Merged
Merged
Conversation
The common case is that the class will implement `succ`, so catch NoMethodError's instead to avoid the repeated calls to `respond_to?`. Also add test coverage for advancing cursors.
Member
|
Thank you! |
djmb
added a commit
to djmb/rails
that referenced
this pull request
Jun 10, 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
jeremy
pushed a commit
that referenced
this pull request
Jun 10, 2025
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
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addressing feedback from @byroot on #55127
ActiveJob::Instrumentation#instrumentpublic with :nodoc: to avoid sendNoMethodErrorto avoidresponds_to?calls inStep#advance!