Skip to content

Add ability to ask external caches to invalidate. #2550

Add ability to ask external caches to invalidate.

Add ability to ask external caches to invalidate. #2550

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

rubocop.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 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#L1790
[rubocop] reported by reviewdog 🐶 [Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator =. (https://rubystyle.guide#spaces-operators) Raw Output: app/models/info_request.rb:1790:39: C: [Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator =. (https://rubystyle.guide#spaces-operators) do_track_path(feed_request, feed='feed'), ^
build: app/models/info_request.rb#L1792
[rubocop] reported by reviewdog 🐶 [Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator =. (https://rubystyle.guide#spaces-operators) Raw Output: app/models/info_request.rb:1792:36: C: [Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator =. (https://rubystyle.guide#spaces-operators) do_track_path(feed_body, feed='feed'), ^
build: app/models/info_request.rb#L1793
[rubocop] reported by reviewdog 🐶 [Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator =. (https://rubystyle.guide#spaces-operators) Raw Output: app/models/info_request.rb:1793:36: C: [Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator =. (https://rubystyle.guide#spaces-operators) do_track_path(feed_user, 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/