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

Use project actions to cleanup empty transient projects #201

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

brollb
Copy link
Collaborator

@brollb brollb commented Nov 9, 2023

Currently, cleaned up transient projects only delete the metadata from the
database. Since they don't use the official delete_project method, they don't
do a few things including:

  • delete content from s3
  • clear the project cache

The same is true of projects deleted automatically by MongoDB using the
deleteAt field. This index should be removed and deletion should be handled by
the system to ensure the aforementioned issues don't emerge there, too.

@brollb brollb marked this pull request as ready for review November 10, 2023 22:21
@brollb brollb merged commit addb2d2 into main Nov 10, 2023
2 checks passed
@brollb brollb deleted the project-cleanup-s3 branch November 10, 2023 22:24
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 this pull request may close these issues.

None yet

1 participant