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

Delete job output folder and downloaded job files on job deletion (auto-delete) #528

Open
aaaditij opened this issue Jun 20, 2024 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@aaaditij
Copy link

Description

Job folder and downloaded job files are not getting deleted from the output folder (/jobs/ by default) on job deletion.

Reproduce

  1. Right-click on a notebook in the file browser and choose “Create Notebook Job” from the context menu.
  2. Go to 'Notebook Jobs' from Launcher.
  3. Once the job completes, click on 'Delete job'.

The job is removed from the Jobs list but the /jobs folder still contains the job folder and downloaded job files.

Expected behavior

Job folder and downloaded job files should be deleted from /jobs/ folder upon job deletion.

@aaaditij aaaditij added the bug Something isn't working label Jun 20, 2024
@andrii-i
Copy link
Collaborator

Hi @aaaditij. Thank you for creating this issue. Described behavior is an expected behavior and not a bug. We did not want to delete files in user’s output folder in case users would continue working in output files or otherwise need them after job deletion. We are open to consider “output auto-delete” feature in the future (probably as a setting) but this is not a priority / we are not working on it now.

@andrii-i andrii-i added enhancement New feature or request and removed bug Something isn't working labels Jun 20, 2024
@andrii-i andrii-i changed the title Job Deletion does not delete job folder and downloaded job files Delete job folder and downloaded job files on Job Deletion Jun 20, 2024
@andrii-i andrii-i changed the title Delete job folder and downloaded job files on Job Deletion Delete job folder and downloaded job files on job deletion Jun 20, 2024
@andrii-i andrii-i changed the title Delete job folder and downloaded job files on job deletion Delete job output folder and downloaded job files on job deletion Jun 20, 2024
@andrii-i andrii-i added this to the Future milestone Jul 8, 2024
@andrii-i andrii-i changed the title Delete job output folder and downloaded job files on job deletion Delete job output folder and downloaded job files on job deletion (auto-delete) Jul 8, 2024
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

No branches or pull requests

2 participants