k1LoW / runn

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

Print deprecation warnings #923

Closed k1LoW closed 3 months ago

k1LoW commented 3 months ago

ref: https://github.com/k1LoW/runn/pull/917#issuecomment-2106413003

github-actions[bot] commented 3 months ago

BenchmarkManyRunbooks-4

main (-) #923 (98140b5) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 3,938,478,807 ns/op 3,772,125,976 ns/op -166,352,831 ns/op
Bytes allocated per iteration 1,792,746,776 B/op 1,792,675,952 B/op -70,824 B/op
Allocs per iteration 21,406,561 allocs/op 21,406,068 allocs/op -493 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#923](https://github.com/k1LoW/runn/pull/923) ([98140b5](https://github.com/k1LoW/runn/commit/98140b5f4ac48a0a5b793616744536e6ab1de146)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #923 (98140b5) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 5,032,021,041 ns/op 5,207,110,657 ns/op 175,089,616 ns/op
Bytes allocated per iteration 2,952,251,368 B/op 2,952,756,776 B/op 505,408 B/op
Allocs per iteration 29,381,467 allocs/op 29,397,261 allocs/op 15,794 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#923](https://github.com/k1LoW/runn/pull/923) ([98140b5](https://github.com/k1LoW/runn/commit/98140b5f4ac48a0a5b793616744536e6ab1de146)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #923 (98140b5) +/-
Number of iterations 19 18 -1
Nanoseconds per iteration 65,539,179 ns/op 64,176,509 ns/op -1,362,670 ns/op
Bytes allocated per iteration 60,302,446 B/op 60,298,512 B/op -3,934 B/op
Allocs per iteration 205,774 allocs/op 205,787 allocs/op 13 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#923](https://github.com/k1LoW/runn/pull/923) ([98140b5](https://github.com/k1LoW/runn/commit/98140b5f4ac48a0a5b793616744536e6ab1de146)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 3 months ago

Code Metrics Report

main (d01a5e8) #923 (98140b5) +/-
Coverage 65.7% 65.6% -0.0%
Code to Test Ratio 1:0.5 1:0.5 -0.0
Test Execution Time 5m25s 5m44s +19s
Details ``` diff | | main (d01a5e8) | #923 (98140b5) | +/- | |---------------------|----------------|----------------|-------| - | Coverage | 65.7% | 65.6% | -0.0% | | Files | 71 | 72 | +1 | | Lines | 7707 | 7732 | +25 | + | Covered | 5061 | 5076 | +15 | - | Code to Test Ratio | 1:0.5 | 1:0.5 | -0.0 | | Code | 22403 | 22445 | +42 | | Test | 10622 | 10622 | 0 | - | Test Execution Time | 5m25s | 5m44s | +19s | ```

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

Files Coverage +/-
operator.go 79.6% +0.0%
runner_option.go 36.9% +0.2%
warning.go 57.1% +57.1%

Reported by octocov