Skip to content

Bump express from 4.19.2 to 4.20.0 in /lib/enketo-transformer-service #987

Bump express from 4.19.2 to 4.20.0 in /lib/enketo-transformer-service

Bump express from 4.19.2 to 4.20.0 in /lib/enketo-transformer-service #987

Status Failure
Total duration 6m 42s
Artifacts

tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 13 warnings
Tests: spec/system/responses/file_upload_spec.rb#L20
response form file upload uploading files
Tests: spec/system/form_hint_spec.rb#L31
form hints modal form Failure/Error: @_setting = 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/system/form_hint_spec.rb#L23
form hints form form Failure/Error: @_setting = 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/system/form_hint_spec.rb#L15
form hints question form Failure/Error: @_setting = 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/forms/responses_count_spec.rb#L13
Form#responses_count with some responses and one deleted with eager load behaves like correct counts counts should all be correct and use a given number of queries Failure/Error: @_setting = 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. Shared Example Group: "correct counts" called from ./spec/models/forms/responses_count_spec.rb:52
Tests: spec/models/forms/responses_count_spec.rb#L13
Form#responses_count with some responses and one deleted without eager load behaves like correct counts counts should all be correct and use a given number of queries Failure/Error: @_setting = 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. Shared Example Group: "correct counts" called from ./spec/models/forms/responses_count_spec.rb:47
Tests: spec/models/forms/responses_count_spec.rb#L13
Form#responses_count with no responses with eager load behaves like correct counts counts should all be correct and use a given number of queries Failure/Error: @_setting = 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. Shared Example Group: "correct counts" called from ./spec/models/forms/responses_count_spec.rb:31
Tests: spec/models/forms/responses_count_spec.rb#L13
Form#responses_count with no responses without eager load behaves like correct counts counts should all be correct and use a given number of queries Failure/Error: @_setting = 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. Shared Example Group: "correct counts" called from ./spec/models/forms/responses_count_spec.rb:26
Tests: spec/routing/admin_routes_spec.rb#L6
router routes admin root Failure/Error: @_setting = 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/routing/admin_routes_spec.rb#L22
router rejects missions index in mission mode Failure/Error: @_setting = 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
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
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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/