Files
tazlin 5564c077bd feat(kudos): S3 archive client with a byte budget and verified restore
- horde/kudos_archive.py writes zstd-compressed archive objects with manifests to an S3-compatible bucket under a normalized deployment prefix, keeps statistic dumps within a byte budget by evicting only that tier, and verifies a read-back against the manifest
- KudosArchive.from_environment returns None unless the KUDOS_ARCHIVE_* endpoint, bucket and both token variables are set
- zstandard is a runtime dependency; kudos_archive and kudos_retention are under strict mypy
- The managed Garage test store and the CI test stack create a kudos-archive bucket and export the KUDOS_ARCHIVE_* variables
- tests/unit/test_kudos_archive.py covers the codec, manifests, budget eviction and restore verification
2026-11-03 12:29:16 -05:00
..