Add ability to ask external caches to invalidate. #2548
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#L1779
[rubocop] reported by reviewdog 🐶
[Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator =. (https://rubystyle.guide#spaces-operators)
Raw Output:
app/models/info_request.rb:1779:13: C: [Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator =. (https://rubystyle.guide#spaces-operators)
feed='feed'),
^
|
build:
app/models/info_request.rb#L1781
[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:1781: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#L1782
[rubocop] reported by reviewdog 🐶
[Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator =. (https://rubystyle.guide#spaces-operators)
Raw Output:
app/models/info_request.rb:1782:13: C: [Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator =. (https://rubystyle.guide#spaces-operators)
feed='feed'),
^
|
build:
app/models/info_request.rb#L1784
[rubocop] reported by reviewdog 🐶
[Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator =. (https://rubystyle.guide#spaces-operators)
Raw Output:
app/models/info_request.rb:1784: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/
|