diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2026-03-14 15:41:17 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2026-03-14 15:41:17 -0700 |
| commit | b40b4ccdea356807f82e5a33371ca59832ecac8a (patch) | |
| tree | 59d7141660f808a88ccb74c08ca65540b9048ff7 /hotline/test | |
| parent | 2cf9f33ef42188dd35eaf4905cd2f05557aecca1 (diff) | |
Fix error handling and write-ordering anti-patterns
Return errors to clients on write failures instead of silently succeeding.
Add rollback logic to BanFile and ThreadedNewsYAML mutations so in-memory
state is restored when persistence fails. Extract error message constants
and add comprehensive tests for error paths and rollback behavior.
Diffstat (limited to 'hotline/test')
0 files changed, 0 insertions, 0 deletions