Skip to content

Temp files cleanup#69

Merged
JoePJisc merged 2 commits into
mainfrom
temp-files-cleanup
May 12, 2026
Merged

Temp files cleanup#69
JoePJisc merged 2 commits into
mainfrom
temp-files-cleanup

Conversation

@JoePJisc
Copy link
Copy Markdown
Collaborator

Description

Add a job to clean up orphaned temporary files to prevent /tmp from growing exponentially.

docker-compose.yml and misp_maintenance_jobs.ini must be updated in existing deployments to activate this job.

Related Issue(s)

  • /tmp growing too large with temporary files not being cleaned up after RPZ generation

Type of change

Please tick options that are relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also
list any relevant details for your test configuration

  • GitHub Actions Development Images passing.
  • Manual deployment and testing of MISP successful.
  • Manually created temp files and ensure they are deleted.

Test Configuration:

  • Docker Host OS: Ubuntu 24.04.4 LTS
  • Docker Engine Version: 29.4.1
  • MISP Version: 2.5.37

Checklist:

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

@JoePJisc JoePJisc self-assigned this May 12, 2026
@JoePJisc JoePJisc added the enhancement New feature or request label May 12, 2026
@github-actions
Copy link
Copy Markdown

Test images for this PR are now being built, see Actions tab for details.

@github-actions
Copy link
Copy Markdown

New test images for this PR have been published: jisccti/misp-modules-dev:pull_request_1bed427b2b2643ef1e9ba0b952e407e50e28cbbd jisccti/misp-web-dev:pull_request_1bed427b2b2643ef1e9ba0b952e407e50e28cbbd jisccti/misp-workers-dev:pull_request_1bed427b2b2643ef1e9ba0b952e407e50e28cbbd jisccti/misp-shibb-sp-dev:pull_request_1bed427b2b2643ef1e9ba0b952e407e50e28cbbd

@JoePJisc JoePJisc requested a review from JameseJisc May 12, 2026 15:03
@JoePJisc JoePJisc merged commit 2b3d4f1 into main May 12, 2026
6 checks passed
@JoePJisc JoePJisc deleted the temp-files-cleanup branch May 12, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants