Files
zlareb1andClaude Sonnet 4.6 8694d70550 keeper stress: improve exception logging across gates, faults, and sampler
Replace silent `except Exception: pass` and unexplained early-return paths with
descriptive messages so test failures surface real causes instead of silently
skipping important checks.

- `gates/base.py`: `backlog_drains`, `config_converged`, `ephemerals_gone_within`,
  `ready_expect` — log first failure with `_warned` flag to avoid log spam;
  `_aggregate_totals` and `_conf_members_count` print node name and error on each
  exception; `coord_timeouts_match` early-return prints explain which precondition
  was not met (no ctx, no cluster, missing config dir, no XML files, unreadable file)
- `faults/base.py`: `_step_background_schedule`, `_step_parallel`, `apply_step` —
  print when sub-steps list is empty or `kind` field is missing or unrecognised;
  `_step_ensure_paths` prints when paths list is empty and logs `mntr` read failures
- `sampler.py`: `_loop` prints flush errors instead of swallowing them

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-03-21 16:08:02 +00:00
..