Skip to content

Add Insight bounded diagnostic retention - #82

Merged
josiahking merged 1 commit into
2.xfrom
feature/phase-8-4-bounded-retention-pruning
Sep 16, 2026
Merged

josiahking merged 1 commit into
2.xfrom
feature/phase-8-4-bounded-retention-pruning

Conversation

@josiahking

Copy link
Copy Markdown
Owner

Summary

  • add explicit count-bounded retention to Insight diagnostic stores
  • prune oldest stored diagnostic batches deterministically before unique inserts
  • preserve duplicate safety and validate SQLite snapshots before pruning
  • handle existing over-capacity SQLite stores on the next successful unique save
  • document retention behavior and keep time-based retention out of scope

Validation

  • focused in-memory and SQLite retention tests passed
  • full Insight suite passed with SQLite enabled
  • root PHPUnit, PHPStan, dependency architecture and style checks passed
  • release package, supply-chain, deterministic split, prerelease consumer and application skeleton validation passed

@josiahking josiahking self-assigned this Sep 16, 2026
@josiahking
josiahking merged commit b7f8e2d into 2.x Sep 16, 2026
5 checks passed
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