Remove temporary directory after a run finished

Open
#1,470 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
58/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
cli

Research direction

Start in bin/cml/runner/launch.js around line 109 and trace how cml runner launch handles its working directory and run completion. Add the requested cleanup option and verify that the working directory is removed only after the run finishes when the option is enabled.

Written by the indexing model from the issue text.

Description

It would be a nice addition, if a cml runner launch would have an option to automatically cleanup the working directory after a run finished.

https://github.com/iterative/cml/blob/5e9fcd26e9683db26a429eb5f34b989134694d4b/bin/cml/runner/launch.js#L109

cml runner launch --cleanup-workdir
Dominant language
JavaScript
Stars
4.2k
Forks
345
PR merge metrics
No merged PRs in 30d

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from iterative/cml

All issues in iterative/cml

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.