save checkpoint

This commit is contained in:
master
2026-02-14 09:11:48 +02:00
parent 9ca2de05df
commit e9aeadc040
1512 changed files with 30863 additions and 4728 deletions

View File

@@ -0,0 +1,33 @@
# Trace Retention and Pruning Manager
## Module
Scanner
## Status
VERIFIED
## Description
Manages runtime trace lifecycle with configurable retention periods (default 30 days), automatic pruning of old traces while preserving those referenced by active slices, trace aggregation, and storage quota enforcement.
## Implementation Details
- **Trace Retention Manager**:
- `src/Scanner/__Libraries/StellaOps.Scanner.Runtime/Retention/TraceRetentionManager.cs` - `TraceRetentionManager` managing runtime trace lifecycle with configurable retention periods (default 30 days), automatic pruning of expired traces while preserving those referenced by active reachability slices, trace aggregation, and storage quota enforcement
## E2E Test Plan
- [ ] Configure a 30-day retention period and verify traces older than 30 days are automatically pruned
- [ ] Verify traces referenced by active reachability slices are preserved even if they exceed the retention period
- [ ] Verify trace aggregation combines repeated observations into summary records before pruning individual traces
- [ ] Configure a storage quota and verify the retention manager prunes oldest traces when quota is exceeded
- [ ] Verify pruning is idempotent (running multiple times produces the same result)
- [ ] Verify retention configuration can be updated without data loss
---
## Verification
| Check | Result |
|-------|--------|
| Tier 0 - Source files exist | PASS |
| Tier 1 - Build + code review | PASS |
| Tier 2 - Integration tests | PASS |
| Verified | 2026-02-13T18:10:00Z |