-
Notifications
You must be signed in to change notification settings - Fork 0
v0.11 item 1: a reader that names a bad row and blinds nothing else #199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
11c3cc5
A malformed row names itself and blinds nothing else
arpanghoshal f569f2f
Acceptance tests T510-T517, and SPEC-v0.7 §12.5's pin flipped
arpanghoshal 1ac3fe2
T518 and T519, which two surviving mutations asked for
arpanghoshal fadd68d
T515 covers the control filter, which a mutation showed it did not
arpanghoshal 9410152
SPEC-v0.11 §9's frozen-name list, and item 1's CHANGELOG lines
arpanghoshal c12dd00
ruff format
arpanghoshal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🩺 Stability & Availability | 🟠 Major | ⚡ Quick win
Same
json.loads()gap asSQLiteStateStore.receipts().json.loads(str(row[1]))is evaluated as an argument to_read_receiptbefore that function is entered, so ajson.JSONDecodeErrorfrom a syntactically invalid storedjsoncolumn is not caught by_read_receipt'stry/except. It propagates uncaught out ofreceipts()here as well, past everyexcept CTRLRunErrorcaller, reproducing the "one bad row blinds every reader" failure for the Postgres backend.See the paired comment on
src/ctrlrun/state.pyat theSQLiteStateStore.receipts()return statement for the detailed mechanism and a proposed fix; both backends share the same root cause and the same fix shape.🤖 Prompt for AI Agents