Skip to content

fixup: wip

fixup: wip #934

Triggered via push June 4, 2024 18:46
Status Failure
Total duration 4m 26s
Artifacts

tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 13 warnings
Tests: spec/models/ability/media_object_ability_spec.rb#L17
Media::Object anyone can create Failure/Error: create(:setting, mission: nil) ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_settings_on_mission_id_IS_NULL" DETAIL: Key ((mission_id IS NULL))=(t) already exists.
Tests: spec/models/ability/media_object_ability_spec.rb#L37
Media::Object destroy with associated answer when cannot edit associated response Failure/Error: create(:setting, mission: nil) ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_settings_on_mission_id_IS_NULL" DETAIL: Key ((mission_id IS NULL))=(t) already exists.
Tests: spec/models/ability/media_object_ability_spec.rb#L32
Media::Object destroy with associated answer when can edit associated response Failure/Error: create(:setting, mission: nil) ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_settings_on_mission_id_IS_NULL" DETAIL: Key ((mission_id IS NULL))=(t) already exists.
Tests: spec/models/ability/media_object_ability_spec.rb#L23
Media::Object destroy with no associated answer Failure/Error: create(:setting, mission: nil) ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_settings_on_mission_id_IS_NULL" DETAIL: Key ((mission_id IS NULL))=(t) already exists.
Tests: spec/models/odata/cache_listener_spec.rb#L69
OData::CacheListener update questioning marks multiple dirty Failure/Error: create(:setting, mission: nil) ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_settings_on_mission_id_IS_NULL" DETAIL: Key ((mission_id IS NULL))=(t) already exists.
Tests: spec/models/odata/cache_listener_spec.rb#L24
OData::CacheListener update response marks dirty Failure/Error: create(:setting, mission: nil) ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_settings_on_mission_id_IS_NULL" DETAIL: Key ((mission_id IS NULL))=(t) already exists.
Tests: spec/models/odata/cache_listener_spec.rb#L29
OData::CacheListener update response ignores irrelevant changes Failure/Error: create(:setting, mission: nil) ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_settings_on_mission_id_IS_NULL" DETAIL: Key ((mission_id IS NULL))=(t) already exists.
Tests: spec/models/odata/cache_listener_spec.rb#L48
OData::CacheListener update form marks multiple dirty Failure/Error: create(:setting, mission: nil) ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_settings_on_mission_id_IS_NULL" DETAIL: Key ((mission_id IS NULL))=(t) already exists.
Tests: spec/models/odata/cache_listener_spec.rb#L81
OData::CacheListener update qing_group marks dirty (repeatable) Failure/Error: create(:setting, mission: nil) ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_settings_on_mission_id_IS_NULL" DETAIL: Key ((mission_id IS NULL))=(t) already exists.
Tests: spec/models/odata/cache_listener_spec.rb#L76
OData::CacheListener update qing_group marks dirty (rank) Failure/Error: create(:setting, mission: nil) ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_settings_on_mission_id_IS_NULL" DETAIL: Key ((mission_id IS NULL))=(t) already exists.
Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests: app/javascript/components/Filters/model.js#L133
Unexpected console statement
Tests: app/javascript/packs/enketo.js#L43
Unexpected console statement
Tests: app/javascript/packs/enketo.js#L57
Unexpected alert
Tests: app/javascript/packs/enketo.js#L80
Unexpected console statement
Tests: app/javascript/packs/enketo.js#L91
Unexpected alert
Tests: app/javascript/packs/enketo.js#L94
Unexpected console statement
Tests: spec/models/broadcaster_spec.rb#L16
Sms::Broadcaster with adapter set in mission settings builds appropriate adapter and Sms::Broadcast instance Skipped: Temporarily skipped with xit
Tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/