Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove cassettes orphaned by the claims_api cassette consolidation #16240

Closed
wants to merge 6 commits into from

Conversation

nihil2501
Copy link
Contributor

Note: Delete the description statements, complete each step. None are optional, but can be justified as to why they cannot be completed as written. Provide known gaps to testing that may raise the risk of merging to production.

Summary

  • This work is behind a feature toggle (flipper): YES/NO
  • (Summarize the changes that have been made to the platform)
  • (If bug, how to reproduce)
  • (What is the solution, why is this the solution?)
  • (Which team do you work for, does your team own the maintenance of this component?)
  • (If introducing a flipper, what is the success criteria being targeted?)

Related issue(s)

  • Link to ticket created in va.gov-team repo OR screenshot of Jira ticket if your team uses Jira
  • Link to previous change of the code/bug (if applicable)
  • Link to epic if not included in ticket

Testing done

  • New code is covered by unit tests
  • Describe what the old behavior was prior to the change
  • Describe the steps required to verify your changes are working as expected. Exclusively stating 'Specs run' is NOT acceptable as appropriate testing
  • If this work is behind a flipper:
    • Tests need to be written for both the flipper on and flipper off scenarios. Docs.
    • What is the testing plan for rolling out the feature?

Screenshots

Note: Optional

What areas of the site does it impact?

(Describe what parts of the site are impacted andifcode touched other areas)

Acceptance criteria

  • I fixed|updated|added unit tests and integration tests for each feature (if applicable).
  • No error nor warning in the console.
  • Events are being sent to the appropriate logging solution
  • Documentation has been updated (link to documentation)
  • No sensitive information (i.e. PII/credentials/internal URLs/etc.) is captured in logging, hardcoded, or specs
  • Feature/bug has a monitor built into Datadog or Grafana (if applicable)
  • If app impacted requires authentication, did you login to a local build and verify all authenticated routes work as expected
  • I added a screenshot of the developed feature

Requested Feedback

(OPTIONAL)What should the reviewers know in addition to the above. Is there anything specific you wish the reviewer to assist with. Do you have any concerns with this PR, why?

Verified by running the claims_api test suite while having this check configured to raise if a cassette was used from outside claims_api:
```ruby
VCR.configure do |config|
  config.before_playback do |interaction, cassette|
    if cassette.name[/^claims_api\//].nil?
      raise "still needs migrating: #{cassette.name}"
    end
  end
end
```
Copy link

github-actions bot commented Apr 8, 2024

1 Error
🚫 This PR changes 759 LoC (not counting whitespace/newlines).

In order to ensure each PR receives the proper attention it deserves, those exceeding
500 will not be reviewed, nor will they be allowed to merge. Please break this PR up into
smaller ones.

If you have reason to believe that this PR should be granted an exception, please see the
Submitting pull requests for approval - FAQ.

File Summary

Files

  • config/settings/test.yml (+1/-4)

  • modules/claims_api/spec/lib/claims_api/bd_spec.rb (+1/-1)

  • modules/claims_api/spec/lib/claims_api/local_bgs_spec.rb (+6/-3)

  • modules/claims_api/spec/lib/claims_api/vnp_proc_form_service_spec.rb (+1/-1)

  • modules/claims_api/spec/lib/claims_api/vnp_proc_service_v2_spec.rb (+1/-1)

  • modules/claims_api/spec/lib/claims_api/vnp_ptcpnt_phone_service_spec.rb (+1/-1)

  • modules/claims_api/spec/lib/claims_api/vnp_ptcpnt_service_spec.rb (+1/-1)

  • modules/claims_api/spec/models/veteran/service/user_spec.rb (+4/-4)

  • modules/claims_api/spec/requests/v1/claims_request_spec.rb (+19/-19)

  • modules/claims_api/spec/requests/v1/disability_compensation_request_spec.rb (+192/-192)

  • modules/claims_api/spec/requests/v1/intent_to_file_request_spec.rb (+12/-12)

  • modules/claims_api/spec/requests/v1/power_of_attorney_request_spec.rb (+1/-1)

  • modules/claims_api/spec/requests/v1/rswag_claims_request_spec.rb (+5/-5)

  • modules/claims_api/spec/requests/v1/rswag_disability_compensation_request_spec.rb (+12/-12)

  • modules/claims_api/spec/requests/v1/rswag_intent_to_file_request_spec.rb (+11/-11)

  • modules/claims_api/spec/requests/v2/rswag_veteran_identifier_request_spec.rb (+3/-6)

  • modules/claims_api/spec/requests/v2/veterans/claims_request_spec.rb (+54/-54)

  • modules/claims_api/spec/requests/v2/veterans/evidence_waiver_request_spec.rb (+5/-5)

  • modules/claims_api/spec/requests/v2/veterans/power_of_attorney_ind_request_spec.rb (+8/-8)

  • modules/claims_api/spec/requests/v2/veterans/power_of_attorney_org_request_spec.rb (+1/-1)

  • modules/claims_api/spec/requests/v2/veterans/rswag_claims_request_spec.rb (+3/-3)

  • modules/claims_api/spec/requests/v2/veterans/rswag_intent_to_file_request_spec.rb (+1/-1)

  • modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb (+6/-12)

  • modules/claims_api/spec/sidekiq/ews_updater_spec.rb (+1/-1)

  • modules/claims_api/spec/sidekiq/v2/disability_compensation_benefits_documents_uploader_spec.rb (+1/-1)

  • modules/claims_api/spec/sidekiq/v2/poa_form_builder_job_spec.rb (+6/-6)

  • modules/claims_api/spec/sidekiq/vbms_upload_job_spec.rb (+7/-7)

  • modules/claims_api/spec/support/auth_helper.rb (+7/-4)

  • modules/claims_api/spec/support/bgs_client_helpers.rb (+1/-9)

  • spec/support/vcr.rb (+1/-0)

    Note: We exclude files matching the following when considering PR size:

    *.csv, *.json, *.tsv, *.txt, Gemfile.lock, app/swagger, modules/mobile/docs, spec/fixtures/, spec/support/vcr_cassettes/, modules/mobile/spec/support/vcr_cassettes/, db/seeds, modules/vaos/app/docs, modules/meb_api/app/docs, modules/appeals_api/app/swagger/, *.bru
    

Big PRs are difficult to review, often become stale, and cause delays.

Generated by 🚫 Danger

@nihil2501 nihil2501 force-pushed the dash/oren/claims-api-bgs-cassette-cleanup branch from 693865d to 7433e13 Compare April 8, 2024 16:18
@va-vfs-bot va-vfs-bot temporarily deployed to dash/oren/remove-oprhaned-cassettes/main/main April 8, 2024 16:27 Inactive
Base automatically changed from dash/oren/claims-api-bgs-cassette-cleanup to master April 10, 2024 15:10
@va-vfs-bot va-vfs-bot temporarily deployed to dash/oren/remove-oprhaned-cassettes/main/main April 10, 2024 15:27 Inactive
Copy link

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label May 10, 2024
Copy link

This PR has been closed because it has had no activity for 37 days

@github-actions github-actions bot closed this May 17, 2024
@github-actions github-actions bot deleted the dash/oren/remove-oprhaned-cassettes branch May 17, 2024 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants