/cmd: Improved devx of benching many pallets simultaneously (#6007)
### Improved devx of running many pallets simultaneously
Changes to /cmd:
- Replace (flip) `--continue-on-fail` with `--fail-fast`, but only for
`bench`. This makes all pallets/runtimes run non-stop by default, as it
was primary use-case during tests
- The list of successful/failed pallets was hard to find within tons of
logs, so decided to write only needed logs in a file, and output as a
summary in the workflow and in the comment
- Side fix: updated `tasks_example` to `pallet_example_tasks` to make
compliant with standard naming
<img width="1006" alt="image"
src="https://github.com/user-attachments/assets/14896041-7018-4a0d-92b7-4508e81913c2">
+ added command results to workflow summary:
<img width="1275" alt="image"
src="https://github.com/user-attachments/assets/b4a8afdb-dc9f-4ff9-9720-28a88956035f">
---------
Co-authored-by:
GitHub Action <action@github.com>
parent
b45f89c5
Branches
Pipeline
#501049
waiting for manual action
with stages
in
28 minutes and 41 seconds
Stage:
Stage:
Stage:
Stage:
Stage:
Showing
- .github/scripts/cmd/cmd.py 31 additions, 16 deletions.github/scripts/cmd/cmd.py
- .github/scripts/cmd/test_cmd.py 10 additions, 10 deletions.github/scripts/cmd/test_cmd.py
- .github/workflows/cmd.yml 35 additions, 3 deletions.github/workflows/cmd.yml
- README.md 0 additions, 1 deletionREADME.md
- docs/contributor/commands-readme.md 0 additions, 5 deletionsdocs/contributor/commands-readme.md
- docs/contributor/weight-generation.md 18 additions, 16 deletionsdocs/contributor/weight-generation.md
- substrate/bin/node/runtime/src/lib.rs 1 addition, 1 deletionsubstrate/bin/node/runtime/src/lib.rs
- substrate/frame/examples/tasks/src/mock.rs 3 additions, 3 deletionssubstrate/frame/examples/tasks/src/mock.rs
Please register or sign in to comment