Skip to content

restacking in github is kinda slow 🤦 #435

Merged
driv3r merged 13 commits intomainfrom
get-rid-of-vendored-packages
Apr 15, 2026
Merged

restacking in github is kinda slow 🤦 #435
driv3r merged 13 commits intomainfrom
get-rid-of-vendored-packages

Conversation

@driv3r
Copy link
Copy Markdown
Contributor

@driv3r driv3r commented Apr 15, 2026

No description provided.

driv3r added 13 commits April 15, 2026 14:58
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
@driv3r
Copy link
Copy Markdown
Contributor Author

driv3r commented Apr 15, 2026

the pull requests were already accepted, just got merged into wrong branch due to slow restacking updates :/

@driv3r driv3r merged commit 3175474 into main Apr 15, 2026
12 of 13 checks passed
@driv3r driv3r deleted the get-rid-of-vendored-packages branch April 15, 2026 20:07
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.

1 participant