Replace silent error swallowing with debug logging#1031
Open
jwiegley wants to merge 1 commit intojohnw/review-refactor-apifrom
Open
Replace silent error swallowing with debug logging#1031jwiegley wants to merge 1 commit intojohnw/review-refactor-apifrom
jwiegley wants to merge 1 commit intojohnw/review-refactor-apifrom
Conversation
This was referenced Apr 9, 2026
Collaborator
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
de93054 to
2c481e0
Compare
93b3136 to
a4a730d
Compare
461e97a to
ea06f26
Compare
1338d42 to
a09eb0b
Compare
ea06f26 to
22ea859
Compare
22ea859 to
3ba0e3d
Compare
a09eb0b to
90c6d77
Compare
3ba0e3d to
ade6c88
Compare
90c6d77 to
7c12fb9
Compare
e6fc162 to
e70d3b2
Compare
7c12fb9 to
b3492b6
Compare
Convert `let _ =` patterns to `if let Err(e)` with debug_log throughout hook handlers, preventing silent failures that made production issues difficult to diagnose. Also hardens error handling in virtual attribution (unwrap_or_default -> match with continue), repository rewrite log reads, and metrics timestamp conversion. Adds is_dummy guard to internal_db to warn when the dummy database is used in non-test contexts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
b3492b6 to
1d44bd3
Compare
e70d3b2 to
0d06c80
Compare
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.

Convert
let _ =patterns toif let Err(e)with debug_logthroughout hook handlers, preventing silent failures that made
production issues difficult to diagnose. Also hardens error
handling in virtual attribution (unwrap_or_default -> match with
continue), repository rewrite log reads, and metrics timestamp
conversion. Adds is_dummy guard to internal_db to warn when the
dummy database is used in non-test contexts.
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com