Skip to content

#209 - Delete the uploaded input files once the process has been executed - #210

Merged
njoubert-cleverage merged 4 commits into
mainfrom
209
Oct 23, 2026
Merged

njoubert-cleverage merged 4 commits into
mainfrom
209

Conversation

@njoubert-cleverage

Copy link
Copy Markdown
Member

Description

Fixes #209.

  • New internal UploadedFileManager (cleverage_ui_process.manager.uploaded_file): deletes the input of a process when it is a file located directly in cleverage_ui_process.upload_directory (never a file given by its path elsewhere).
  • ProcessExecuteHandler (Messenger) and ProcessExecuteController (HTTP API with queue: false) delete the uploaded input once the process has been executed, whether it succeeded or failed.
  • New cleverage_ui_process.delete_uploaded_files container parameter (default true) to keep the files.
  • Documentation: container parameters, launch form, HTTP API, form_file_upload cookbook.
  • Tests: UploadedFileManagerTest, ProcessExecuteHandlerTest.

Requirements

  • Documentation updates
    • Reference
    • Changelog
  • Unit tests

Breaking changes

Behaviour change: the uploaded files are no longer kept after the execution. A process that stores the path of its input for later use must copy the file, or the application can set cleverage_ui_process.delete_uploaded_files to false.

🤖 Generated with Claude Code

njoubert-cleverage and others added 4 commits October 22, 2026 17:26
… API) once the process has been executed, unless the new cleverage_ui_process.delete_uploaded_files parameter is false. Update documentation, add tests.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@njoubert-cleverage
njoubert-cleverage merged commit bdbe561 into main Oct 23, 2026
26 checks passed
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.

Uploaded input files are never deleted

1 participant