Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Periodically cleanup historical job runs #687

Closed
evenicoulddoit opened this issue Jul 3, 2024 · 0 comments · Fixed by #693
Closed

feat: Periodically cleanup historical job runs #687

evenicoulddoit opened this issue Jul 3, 2024 · 0 comments · Fixed by #693

Comments

@evenicoulddoit
Copy link

Apologies if this has already been addressed, but I can't see any mention of it from the documentation or previous issues.

I'm wondering whether any thought has been made into automatically deleting old jobs after a given time duration. Someone may wish to do this either for compliance reasons (e.g. data stored in the steps contains PII which must be deleted after X days for GDPR), or simple to avoid endlessly growing the database.

Looking at the Job and Step run models, they don't appear to apply any indexes on the created at markers, so this doesn't appear to be something which could be done performantly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant