Skip to content

Ensure no temp leaks - #19

Merged
pgodden-jisc merged 6 commits into
mainfrom
ensure_no_temp_leaks
Oct 16, 2026
Merged

pgodden-jisc merged 6 commits into
mainfrom
ensure_no_temp_leaks

Conversation

@scottbw

@scottbw scottbw commented Oct 12, 2026

Copy link
Copy Markdown
Member

A number of small fixes to help ensure that temporary files are always deleted when processing data, particularly when extraction processes fail, as its possible these can accumulate e.g. on Airflow, and cause temp space problems.

@pgodden-jisc pgodden-jisc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved. I mentioned that the exceptions might be too broad but I talked myself out of that. The changes will clean up the tmp dir as we go which should keep the directory at a reasonable size. The MWAA workers can then cleanup the rest.

@pgodden-jisc
pgodden-jisc merged commit a5fca8a into main Oct 16, 2026
3 checks passed
@pgodden-jisc
pgodden-jisc deleted the ensure_no_temp_leaks branch October 16, 2026 07:25
@pgodden-jisc
pgodden-jisc restored the ensure_no_temp_leaks branch October 16, 2026 07:43
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.

2 participants