Repository navigation
Conversation
alexbouchardd
approved these changes
Oct 21, 2026
This branch has not been deployed
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.
A batched retry lookup fails as a whole when one returned row can't be decoded (event metadata that isn't a JSON object of strings, or response data that isn't JSON). Every retry in that query gets the error and is received again in a new batch, so one bad row counts a receive against every retry it shares a batch with and can push them into the retry DLQ. Without batching, only the retry whose own row is bad fails.
Outpost writes these columns itself, so a bad row needs an outside write or a bug. This change is defensive: a bad row now fails only its own retry. Query errors (timeout, store down) still fail the whole query, so they don't turn into extra per-key queries.
driver.KeyErrors:ListLatestAttemptsreturns the other keys' results along with the per-key decode errors.ListAttempton both still fails on such a row. Postgres readsevent_metadataas raw JSON and decodes it after the scan, so a bad value no longer failsScanitself.🤖 Generated with Claude Code