k1LoW / runn

runn is a package/tool for running operations following a scenario.
https://runn.run
MIT License
421 stars 31 forks source link

If there are runbook run failures in `runn run`, list the failure results at the end (always). #1018

Closed k1LoW closed 1 month ago

k1LoW commented 1 month ago

SSIA.

ref: https://zenn.dev/link/comments/7054a8d20effdf

github-actions[bot] commented 1 month ago

BenchmarkManyRunbooks-4

main (-) #1018 (e5f9d9c) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 3,806,425,534 ns/op 3,844,032,909 ns/op 37,607,375 ns/op
Bytes allocated per iteration 1,786,002,888 B/op 1,786,092,640 B/op 89,752 B/op
Allocs per iteration 21,135,337 allocs/op 21,135,510 allocs/op 173 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#1018](https://github.com/k1LoW/runn/pull/1018) ([e5f9d9c](https://github.com/k1LoW/runn/commit/e5f9d9c76533d7d9a5237ca131541237bca716da)) | |------------|----------------------------------------------------:|--------------------------------------------------------------------------------------------------------------------------------------------:| | **goos** | linux | linux | | **goarch** | amd64 | amd64 | | **pkg** | github.com/k1LoW/runn | github.com/k1LoW/runn | | **cpu** | AMD EPYC 7763 64-Core Processor | AMD EPYC 7763 64-Core Processor |

BenchmarkOpenAPI3-4

main (-) #1018 (e5f9d9c) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 4,722,282,732 ns/op 4,917,198,876 ns/op 194,916,144 ns/op
Bytes allocated per iteration 2,213,046,056 B/op 2,212,795,360 B/op -250,696 B/op
Allocs per iteration 30,771,411 allocs/op 30,771,076 allocs/op -335 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#1018](https://github.com/k1LoW/runn/pull/1018) ([e5f9d9c](https://github.com/k1LoW/runn/commit/e5f9d9c76533d7d9a5237ca131541237bca716da)) | |------------|----------------------------------------------------:|--------------------------------------------------------------------------------------------------------------------------------------------:| | **goos** | linux | linux | | **goarch** | amd64 | amd64 | | **pkg** | github.com/k1LoW/runn | github.com/k1LoW/runn | | **cpu** | AMD EPYC 7763 64-Core Processor | AMD EPYC 7763 64-Core Processor |

BenchmarkSingleRunbook-4

main (-) #1018 (e5f9d9c) +/-
Number of iterations 16 18 2
Nanoseconds per iteration 65,606,880 ns/op 65,485,093 ns/op -121,787 ns/op
Bytes allocated per iteration 60,131,244 B/op 60,121,805 B/op -9,439 B/op
Allocs per iteration 205,410 allocs/op 205,404 allocs/op -6 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#1018](https://github.com/k1LoW/runn/pull/1018) ([e5f9d9c](https://github.com/k1LoW/runn/commit/e5f9d9c76533d7d9a5237ca131541237bca716da)) | |------------|----------------------------------------------------:|--------------------------------------------------------------------------------------------------------------------------------------------:| | **goos** | linux | linux | | **goarch** | amd64 | amd64 | | **pkg** | github.com/k1LoW/runn | github.com/k1LoW/runn | | **cpu** | AMD EPYC 7763 64-Core Processor | AMD EPYC 7763 64-Core Processor |

Reported by octocov

github-actions[bot] commented 1 month ago

Code Metrics Report

main (4a4595b) #1018 (e5f9d9c) +/-
Coverage 64.4% 64.4% 0.0%
Code to Test Ratio 1:0.7 1:0.7 -0.1
Test Execution Time 5m39s 5m41s +2s
Details ``` diff | | main (4a4595b) | #1018 (e5f9d9c) | +/- | |---------------------|----------------|-----------------|------| | Coverage | 64.4% | 64.4% | 0.0% | | Files | 78 | 78 | 0 | | Lines | 8666 | 8666 | 0 | | Covered | 5589 | 5589 | 0 | - | Code to Test Ratio | 1:0.7 | 1:0.7 | -0.1 | | Code | 15939 | 15939 | 0 | - | Test | 11609 | 11608 | -1 | - | Test Execution Time | 5m39s | 5m41s | +2s | ```

Code coverage of files in pull request scope (44.0% → 44.0%)

Files Coverage +/-
cmd/run.go 0.0% 0.0%
result.go 69.5% 0.0%

Reported by octocov