fix(kanban): re-probe DB health on initialized paths - #69037
Open
jamesraddock wants to merge 1 commit into
Open
Conversation
jamesraddock
force-pushed
the
fix/kanban-db-health-check-ttl-focused
branch
from
July 23, 2026 15:45
a93fd31 to
b69ba22
Compare
Contributor
|
Thanks for the focused follow-up. The premise remains present on current main: PR Automated hermes-sweeper review. |
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.
Summary
Context
#41795 was superseded by #68654 for backup retention and index-only repair, but its TTL re-probe did not land. Without this follow-up, a long-lived gateway dispatcher can keep trusting its first-open health verdict for the lifetime of the process.
This PR ports only that remaining TTL behavior onto the current fast path. It does not revive the superseded guard stack or change
wal_autocheckpoint.Testing
main(781968be) containing fix(state): refuse WAL on SQLite builds with the WAL-reset bug #70055.journal_mode=DELETE, the initialized fast path never reaches the health guard.tests/test_sqlite_wal_reset_gate.py: 23 passed.mainand are fix(state): refuse WAL on SQLite builds with the WAL-reset bug #70055 test-assumption regressions, not this diff:test_wal_checkpoint_truncates_wal_fileassumes a WAL sidecar exists, while the new vulnerable-runtime gate deliberately selects DELETE.test_connect_falls_back_to_delete_on_locking_protocolexpects a warning already consumed by fix(state): refuse WAL on SQLite builds with the WAL-reset bug #70055's process-global warn-once state when the full file runs.