Automatically clear object storage from test streams
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 88
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
**Problem**
We have test streams with recordings enabled (right now manual, but later there will be automatic test streams always running with recording enabled).
Those recorded streams is of no use and should be cleared for storage.
**Solution**
Create API endpoint that will be called by cron job. It will search for all the streams with recording enabled created by specified API tokens (tokens we use for testing) and will remove all the stored segments for those streams.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by tracing how recording-enabled streams, API tokens, and stored segments are represented and removed; define the endpoint around finding test-token streams and clearing their segments. Done means the endpoint safely handles all matching streams and can be invoked by a cron job.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend, cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100