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

Added lambda for deleting expired files #776

Merged
merged 18 commits into from
Jul 22, 2024
Merged

Conversation

252afh
Copy link
Contributor

@252afh 252afh commented Jul 12, 2024

Context

Adds a new lambda for deleting expired files.

Changes proposed in this pull request

Adds a new lambda that checks for expired files, deletes them (and related chunks) from Elastic, removes them from s3 and then updates the django record.

core infra changes: https://github.com/i-dot-ai/i-ai-core-infrastructure/pull/320

Guidance to review

Relevant links

https://technologyprogramme.atlassian.net/browse/REDBOX-460

Things to check

  • I have added any new ENV vars in all deployed environments
  • I have tested any code added or changed
  • I have run integration tests

@rachaelcodes rachaelcodes changed the title Added lambda code Added lambda for deleting expired files Jul 19, 2024
@rachaelcodes rachaelcodes marked this pull request as ready for review July 22, 2024 06:24
Copy link
Collaborator

@gecBurton gecBurton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code looks good. maybe some tech debt to consider int eh future here https://technologyprogramme.atlassian.net/browse/REDBOX-547

@rachaelcodes rachaelcodes merged commit 142a54c into main Jul 22, 2024
7 checks passed
@rachaelcodes rachaelcodes deleted the feature/deletion-lambda branch July 22, 2024 09:54
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

3 participants