Skip to content

Fix --raise-error flag parsing in preprocess scripts - #1761

Merged
sbiquard merged 1 commit into
masterfrom
sb/fix-raise-error
Oct 6, 2026
Merged

sbiquard merged 1 commit into
masterfrom
sb/fix-raise-error

Conversation

@sbiquard

@sbiquard sbiquard commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

The current type=bool parses any non-empty string as True, so --raise-error False enables it, and bare --raise-error fails asking for a value.

This is a breaking change: existing callers need to drop the value.

@earosenberg earosenberg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me

@mmccrackan

Copy link
Copy Markdown
Contributor

This change makes sense, but there are some preprocessing ISO slurm configs that make use of the current format that will be broken if we update it, so it is probably better to leave it as is for now.

@msilvafe

msilvafe commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

I think if you go in and change the iso-sat slurm scripts that'll break I'm ok accepting this.

@msilvafe

msilvafe commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Given companion pr in iso-sat happy to merge this.

@sbiquard
sbiquard merged commit 85630e6 into master Oct 6, 2026
5 checks passed
@sbiquard
sbiquard deleted the sb/fix-raise-error branch October 6, 2026 08:59
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.

4 participants