fix(gateway): quiet corrupt kanban dispatcher boards (#26490)#28439
Merged
Conversation
Salvages substantive part of #26490 by @aqilaziz. Detects corrupt board DBs ("file is not a database" / "database disk image is malformed") and disables them by fingerprint until they're repaired, instead of flooding the gateway log with repeated logger.exception tracebacks every tick. Cherry-picked the substantive commit (ea5b4ec); the tip commit was an unrelated _is_dir OSError fix for service-path lookup. Dropped a small test reformat that was bundled in the same commit.
Contributor
🔎 Lint report:
|
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.
Salvages #26490 by @aqilaziz.
Gateway dispatcher now detects corrupt board SQLite DBs ("file is not a database" / "database disk image is malformed") and disables them by fingerprint until they're repaired or replaced, instead of flooding gateway.log with repeated logger.exception tracebacks every tick.
Cherry-picked the substantive commit (
ea5b4ec2a); the tip commit was an unrelated_is_dirOSError fix for service-path lookup that doesn't belong in this change. Dropped a small test reformat bundled in the same commit (tests/run_agent/test_provider_parity.pyformatting). Authorship preserved via rebase merge.