Skip to content

Add autoyes to cancel command#461

Merged
jwhite242 merged 4 commits into
developfrom
feature/cancel_auto_yes
Dec 15, 2025
Merged

Add autoyes to cancel command#461
jwhite242 merged 4 commits into
developfrom
feature/cancel_auto_yes

Conversation

@jwhite242

Copy link
Copy Markdown
Collaborator

Add autoyes flag to cancel command for easier automated usage

@doutriaux1 doutriaux1 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jwhite242 this looks good, just a quick question about six.

Comment thread maestrowf/maestro.py
if args.autoyes:
ok_cancel = "y"
else:
ok_cancel = six.moves.input("Are you sure? [y|[n]]: ")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need six here?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, but i'm not gonna rip it out/refactor the cli's inputs on this pr; yanking it is on the todo list, but on the backlog since it's not really a critical issue given it's still working.

@jwhite242
jwhite242 merged commit b8d3f24 into develop Dec 15, 2025
14 checks passed
@jwhite242
jwhite242 deleted the feature/cancel_auto_yes branch December 15, 2025 21:31
jwhite242 added a commit that referenced this pull request Mar 26, 2026
* Extra Flux Options  (#459)
* Add autoyes to cancel command  (#461)
* Add compact, sortable 'hashing' strategy for step ids/workspaces (#465)
* Update flux exclusive behavior modify task info passed to allocation/launcher (#467)
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.

2 participants