livepeer / livepeer/studio

Automatically clear object storage from test streams

Open
#278 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.