Skip to content

Implement Retention Policy for Edited Recipes #41

@ascibisz

Description

@ascibisz

What needs to happen?

Edited recipes that are uploaded to Firebase via the cellpack-client are not able to be accessed after they are packed. Thus, there is no reason to retain them in our database. To minimize wasted resources, we should implement a retention policy to automatically delete these files.

We should implement a retention policy for the following collections:

  • recipes_edited
  • job_status

Ideas

  • Either the cellpack-client or the cellpack server could submit a request to delete the edited recipe after the packing job is complete (or after it failed)
  • Files in the edited-recipe Firebase collection could be cleared out every day (probably set up as a cron job, like Ruge did for results in the cellpack repo)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions