Speed up FindByPath.find 1000x on K8s/RDS environments #319
ci.yml
on: pull_request
Security Analysis
/
Run Brakeman
30s
Lint Ruby
/
Run RuboCop
34s
Test Ruby
/
Run RSpec
42s
Run Pact tests
/
Verify pact tests
55s
Annotations
5 errors
Lint Ruby / Run RuboCop:
app/lib/find_by_path.rb#L18
Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
|
Lint Ruby / Run RuboCop:
app/lib/find_by_path.rb#L20
Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
|
Lint Ruby / Run RuboCop:
app/lib/find_by_path.rb#L21
Style/NumericPredicate: Use `matches.count.positive?` instead of `matches.count > 0`. (https://rubystyle.guide#predicate-methods)
|
Lint Ruby / Run RuboCop:
app/lib/find_by_path.rb#L23
Style/EmptyElse: Redundant `else`-clause.
|
Lint Ruby / Run RuboCop
Process completed with exit code 1.
|