Skip to content

pass user info to Ceapi #862

pass user info to Ceapi

pass user info to Ceapi #862

Triggered via pull request October 7, 2024 21:54
Status Failure
Total duration 3m 57s
Billable time 4m
Artifacts 1

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 6 warnings
rake
Process completed with exit code 2.
rake: spec/features/react_download_spec.rb#L65
React Downloads Creating a download Failure/Error: return invalid_file_number unless bgs_service.valid_file_number?(file_number) #<Fakes::BGSService:0x000055d205a26868 @client=#<OpenStruct css_id=true, station_id=true>> received :valid_file_number? with unexpected arguments expected: ("43214321") got: ("12341234") Please stub a default value first if message might be received with other args as well.
rake: spec/jobs/v2/save_files_in_s3_job_spec.rb#L14
V2::SaveFilesInS3Job#perform when VBMS/VVA requests are successful saves files in S3 Failure/Error: def perform(manifest_source, user_id) Raven.extra_context(manifest_source: manifest_source.id, user_id: user_id) # Set user for permission check if the user is blank if FeatureToggle.enabled?(:use_ce_api) && RequestStore[:current_user].blank? user = User.find(user_id) RequestStore.store[:current_user] = user end manifest_source.records.each(&:fetch!) ArgumentError: wrong number of arguments (given 1, expected 2)
rake: spec/jobs/v2/save_files_in_s3_job_spec.rb#L22
V2::SaveFilesInS3Job#perform when VBMS/VVA requests are not successful does not save files in S3 Failure/Error: def perform(manifest_source, user_id) Raven.extra_context(manifest_source: manifest_source.id, user_id: user_id) # Set user for permission check if the user is blank if FeatureToggle.enabled?(:use_ce_api) && RequestStore[:current_user].blank? user = User.find(user_id) RequestStore.store[:current_user] = user end manifest_source.records.each(&:fetch!) ArgumentError: wrong number of arguments (given 1, expected 2)
rake
Process completed with exit code 2.
rake
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
rake
No files were found with the provided path: ./tmp/capybara. No artifacts will be uploaded.
rake: spec/initializers/deprecation_warning_subscriber_spec.rb#L56
DeprecationWarningSubscriber when a 'deprecation.rails' event is instrumented emits a warning to Slack channel Skipped: Temporarily skipped with xit
rake: spec/initializers/deprecation_warning_subscriber_spec.rb#L69
DeprecationWarningSubscriber when a 'deprecation.rails' event is instrumented when an exception occurs logs error to Sentry Skipped: Temporarily skipped with xcontext
rake: spec/initializers/deprecation_warning_subscriber_spec.rb#L75
DeprecationWarningSubscriber when a 'deprecation.rails' event is instrumented when an exception occurs does not raise error Skipped: Temporarily skipped with xcontext
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "artifact". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
artifact
2.47 MB