test: serialize continuation snapshots before durable restore #244

Merged
akira merged 1 commit from akira/hayate-agent-core:fix/nongit-test-persistence into main 2026-11-04 08:30:59 +00:00
Collaborator

Test adapter only: serialize snapshot writes, atomically rename, await pending writes before JSON restore. Fixes observed Unexpected end of JSON when background saveSoon overlaps writeFile. Production src unchanged, all assertions retained. Independent review f779: no P0/P1; 8/8 tests passed five consecutive reviewer runs. No skips or failure waivers. Core has no PR workflow/required status contexts; central image pipeline remains authoritative for image build. Does not republish v0.1.169 or activate any runtime.

Test adapter only: serialize snapshot writes, atomically rename, await pending writes before JSON restore. Fixes observed Unexpected end of JSON when background saveSoon overlaps writeFile. Production src unchanged, all assertions retained. Independent review f779: no P0/P1; 8/8 tests passed five consecutive reviewer runs. No skips or failure waivers. Core has no PR workflow/required status contexts; central image pipeline remains authoritative for image build. Does not republish v0.1.169 or activate any runtime.
akira merged commit ce8232c5db into main 2026-11-04 08:30:59 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
harness/core!244
No description provided.