Merged
Conversation
TERM is delivered asynchronously via Go's signal channel. The signal
handler calls ErrorHandler.Fatal which panics, but there is a race window
between send_signal("TERM") returning in the Ruby callback and the
signal actually interrupting the data iterator goroutine. A second 200-row
batch can complete before the panic propagates, causing the target row
count to be 400 instead of the asserted 200.
The real correctness invariant is already checked by the subsequent
assertions: last_successful_id from the target matches the pagination key
in the dumped state. The exact count check adds no additional safety and
only makes the tests fragile. Relax both the integer-keyed and UUID-keyed
variants to assert_operator :>= 200.
fix: relax exact-batch-count assertions in interrupt/resume tests
Update GitHub actions steps
Contributor
Author
|
the pull requests were already accepted, just got merged into wrong branch due to slow restacking updates :/ |
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.
No description provided.