feat(cli): Add --keep-minutes flag to the cli - #174
Open
fnwoke-lightning wants to merge 5 commits into
Open
fnwoke-lightning wants to merge 5 commits into
fnwoke-lightning wants to merge 5 commits into
Conversation
fnwoke-lightning
added this pull request to stack #175
September 21, 2026 16:50
fnwoke-lightning
requested review from
ethanwharris,
justusschock,
k223kim,
rusenask and
tejapulagam
as code owners
September 21, 2026 16:50
Member
|
is there any way to have a shorter argument? That's quite long to type |
Co-authored-by: Cursor <cursoragent@cursor.com>
fnwoke-lightning
force-pushed
the
fnwoke/machine-reuse-2
branch
from
September 23, 2026 20:26
67d862a to
4fe9592
Compare
justusschock
approved these changes
Sep 25, 2026
dmitsf
approved these changes
Sep 25, 2026
tejapulagam
approved these changes
Sep 25, 2026
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.
Summary
--keep-minutesonlightning job runandlightning mmt run, forwarding it to the SDK job-create APIs.0to release the machine when the job stops; a value greater than 0 keeps it reserved for that many minutes.Test plan
lightning job run --helpshows--keep-minuteslightning job run ... --keep-minutes 30passes30through toJob.runlightning mmt run ... --keep-minutes 15passes15through toMMT.runIntRange(min=0))