Repository navigation
#209 - Delete the uploaded input files once the process has been executed - #210
Merged
Merged
Conversation
… 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #209.
UploadedFileManager(cleverage_ui_process.manager.uploaded_file): deletes the input of a process when it is a file located directly incleverage_ui_process.upload_directory(never a file given by its path elsewhere).ProcessExecuteHandler(Messenger) andProcessExecuteController(HTTP API withqueue: false) delete the uploaded input once the process has been executed, whether it succeeded or failed.cleverage_ui_process.delete_uploaded_filescontainer parameter (defaulttrue) to keep the files.form_file_uploadcookbook.UploadedFileManagerTest,ProcessExecuteHandlerTest.Requirements
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_filestofalse.🤖 Generated with Claude Code