Repository navigation
Retention 0.1.0 (community) - #14
Draft
connorjfarrell wants to merge 1 commit into
Draft
connorjfarrell wants to merge 1 commit into
connorjfarrell wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Retention 0.1.0: it deletes the oldest calls from the recordings folder once they are older than a set age, the folder is bigger than a set size, or it is more than a set share of its disk. It replaces the built-in retention I proposed in TrunkRecorder/trunk-recorder-pro#26, as a plugin instead of core code.
.wav,.m4a,.json,.frames.jsonl,.sdr) under the recordings folder the recorder gives it, all of a call's files together, oldest first. A call changed in the last ten minutes is never deleted. It refuses a root or missing folder and doesn't follow links. It sends no data anywhere.call.concludedonly to run a pass early on a busy recorder../check plugins/retention.jsonpasses; the release workflow built all four platforms with attestations. 16 tests,clippy -D warningsandfmtare clean. I have run it on a live recorder with a real recordings folder, including a dry run over about 208,000 calls.Draft until I've had a chance to run an automated review. (Supersedes #13, which I closed after rewriting the release's commit history.)
🤖 Generated with Claude Code