Skip to content

Add ability to ask external caches to invalidate. #2545

Add ability to ask external caches to invalidate.

Add ability to ask external caches to invalidate. #2545

Triggered via pull request September 8, 2023 11:10
Status Success
Total duration 1m 9s
Artifacts

rubocop.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
build: app/jobs/notify_cache_job.rb#L25
[rubocop] reported by reviewdog 🐶 [Correctable] Layout/LineLength: Line is too long. [90/80] (https://rubystyle.guide#max-line-length) Raw Output: app/jobs/notify_cache_job.rb:25:81: C: [Correctable] Layout/LineLength: Line is too long. [90/80] (https://rubystyle.guide#max-line-length) locales = [''] + AlaveteliLocalization.available_locales.map { |locale| '/' + locale } ^^^^^^^^^^
build: app/jobs/notify_cache_job.rb#L27
[rubocop] reported by reviewdog 🐶 [Correctable] Lint/UnusedBlockArgument: Unused block argument - locale. You can omit the argument if you don't care about it. (https://rubystyle.guide#underscore-unused-vars) Raw Output: app/jobs/notify_cache_job.rb:27:22: W: [Correctable] Lint/UnusedBlockArgument: Unused block argument - locale. You can omit the argument if you don't care about it. (https://rubystyle.guide#underscore-unused-vars) locales.each do |locale| ^^^^^^
build: app/jobs/notify_cache_job.rb#L39
[rubocop] reported by reviewdog 🐶 Layout/LineLength: Line is too long. [82/80] (https://rubystyle.guide#max-line-length) Raw Output: app/jobs/notify_cache_job.rb:39:81: C: Layout/LineLength: Line is too long. [82/80] (https://rubystyle.guide#max-line-length) Rails.logger.debug("PURGE: Purged URL #{url} at #{host}: #{result}") ^^
build: app/models/info_request.rb#L1925
[rubocop] reported by reviewdog 🐶 [Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator =. (https://rubystyle.guide#spaces-operators) Raw Output: app/models/info_request.rb:1925:13: C: [Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator =. (https://rubystyle.guide#spaces-operators) feed='feed'), ^
build: app/models/info_request.rb#L1927
[rubocop] reported by reviewdog 🐶 Layout/LineLength: Line is too long. [88/80] (https://rubystyle.guide#max-line-length) Raw Output: app/models/info_request.rb:1927:81: C: Layout/LineLength: Line is too long. [88/80] (https://rubystyle.guide#max-line-length) do_track_path({ track_type => 'public_body_updates', public_body => public_body }, ^^^^^^^^
build: app/models/info_request.rb#L1928
[rubocop] reported by reviewdog 🐶 [Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator =. (https://rubystyle.guide#spaces-operators) Raw Output: app/models/info_request.rb:1928:13: C: [Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator =. (https://rubystyle.guide#spaces-operators) feed='feed'), ^
build: app/models/info_request.rb#L1930
[rubocop] reported by reviewdog 🐶 [Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator =. (https://rubystyle.guide#spaces-operators) Raw Output: app/models/info_request.rb:1930:13: C: [Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator =. (https://rubystyle.guide#spaces-operators) feed='feed'), ^
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/