Skip to content

Add ability to render sub facets as metadata #2612

Add ability to render sub facets as metadata

Add ability to render sub facets as metadata #2612

Triggered via pull request February 19, 2025 13:35
Status Failure
Total duration 5m 13s
Artifacts 1

ci.yml

on: pull_request
CodeQL SAST scan  /  Analyze
1m 42s
CodeQL SAST scan / Analyze
Dependency Review scan  /  dependency-review-pr
5s
Dependency Review scan / dependency-review-pr
Dependency Review scan  /  dependency-review-push
0s
Dependency Review scan / dependency-review-push
Security Analysis  /  Run Brakeman
22s
Security Analysis / Run Brakeman
Lint SCSS  /  Run Stylelint
12s
Lint SCSS / Run Stylelint
Lint JavaScript  /  Run Standardx
17s
Lint JavaScript / Run Standardx
Lint Ruby  /  Run RuboCop
10s
Lint Ruby / Run RuboCop
Test JavaScript  /  Run Jasmine
42s
Test JavaScript / Run Jasmine
Test Ruby  /  Run Minitest
4m 57s
Test Ruby / Run Minitest
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
Lint Ruby / Run RuboCop: app/presenters/specialist_document_presenter.rb#L157
Rails/Blank: Use `if facet["allowed_values"].blank?` instead of `unless facet["allowed_values"].present?`.
Lint Ruby / Run RuboCop: app/presenters/specialist_document_presenter.rb#L167
Rails/Blank: Use `if facet["allowed_values"].blank?` instead of `unless facet["allowed_values"].present?`.
Lint Ruby / Run RuboCop: test/presenters/specialist_document_presenter_test.rb#L336
Layout/FirstHashElementIndentation: Use 2 spaces for indentation in a hash, relative to the start of the line where the left curly brace is.
Lint Ruby / Run RuboCop: test/presenters/specialist_document_presenter_test.rb#L346
Style/TrailingCommaInHashLiteral: Put a comma after the last item of a multiline hash.
Lint Ruby / Run RuboCop: test/presenters/specialist_document_presenter_test.rb#L347
Style/TrailingCommaInArrayLiteral: Put a comma after the last item of a multiline array. (https://rubystyle.guide#no-trailing-array-commas)
Lint Ruby / Run RuboCop: test/presenters/specialist_document_presenter_test.rb#L348
Style/TrailingCommaInHashLiteral: Put a comma after the last item of a multiline hash.
Lint Ruby / Run RuboCop: test/presenters/specialist_document_presenter_test.rb#L351
Layout/FirstHashElementIndentation: Indent the right brace the same as the start of the line where the left brace is.
Lint Ruby / Run RuboCop
Process completed with exit code 1.
Test Ruby / Run Minitest
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists

Artifacts

Produced during runtime
Name Size
brakeman-json
1.01 KB