fix(reliability): journal fail-safe serialization, per-line parse, review hardening

This commit is contained in:
2026-08-22 12:51:22 -06:00
parent 496f7c58e3
commit 1d17704f72
2 changed files with 31 additions and 10 deletions
+2
View File
@@ -11,6 +11,8 @@ class EventsTest(unittest.TestCase):
def tearDown(self):
mk8_events.MK8_DIR = self.old
mk8_events.EVENTS_PATH = os.path.join(self.old, 'events.log')
mk8_events.MAX_BYTES = 5 * 1024 * 1024
def test_log_and_read_newest_first(self):
mk8_events.log_event('boot', msg='first')