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

Support for re-run of REQs #151

Closed
The-Mule opened this issue Dec 20, 2024 · 3 comments
Closed

Support for re-run of REQs #151

The-Mule opened this issue Dec 20, 2024 · 3 comments
Assignees

Comments

@The-Mule
Copy link
Collaborator

Right now there is an option to rerun REQs based on their result (e.g. all that failed). It would be very practical to be able to specify exactly which REQs to run, e.g.:

newa execute --restart-reqs  REQ-1.2.3, REQ-4.5.6
@kkaarreell kkaarreell self-assigned this Jan 2, 2025
@kkaarreell
Copy link
Collaborator

This is being worked on in #154.
ATM, one cannot use the short for --restart-req REQ-1.2.1,REQ-2.2.2, however you could use regexp.
Providing multiple values with just one switch is not yet currently supported. We could use that also for other newa options but better to do it in a separate request (or commit).

@kkaarreell
Copy link
Collaborator

@The-Mule could you please test it?

@The-Mule
Copy link
Collaborator Author

The-Mule commented Jan 3, 2025

Tested both long and short variants using it both once and twice (to restart two reqs at the same time), it works. The very last version dropped support of regular expression but I think it is not really needed since you can use -R multiple times and the structure of REQ ids does not really make much difference from that and RE. Thank you for this functionality.

It is super useful, especially when paired with recipe having a single dimension matrix for each ("leaf") plan (resulting of one REQ per plan and architecture).

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

No branches or pull requests

2 participants