Skip to content

test: strengthen persistence regression coverage#119

Merged
olalie merged 1 commit into
mainfrom
test/persistence-and-state-regressions
May 20, 2026
Merged

test: strengthen persistence regression coverage#119
olalie merged 1 commit into
mainfrom
test/persistence-and-state-regressions

Conversation

@olalie

@olalie olalie commented May 20, 2026

Copy link
Copy Markdown
Owner

Summary

Add regression tests for insights persistence and fallback behavior.

Tests

  • corrupted insights JSON falls back safely
  • invalid insights structure falls back safely
  • unknown insight keys are discarded
  • save/load roundtrip preserves data
  • failed save does not corrupt in-memory state
  • stale and active lock handling remains correct

Notes

Tests verify the historical insights persistence contract introduced with the Insights panel.

@olalie olalie merged commit 723cf78 into main May 20, 2026
6 checks passed
@olalie olalie deleted the test/persistence-and-state-regressions branch May 20, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant