Code Coverage Increase - Supplemental Claims Redesign#27786
Open
james-taggart-kind wants to merge 13 commits intomasterfrom
Open
Code Coverage Increase - Supplemental Claims Redesign#27786james-taggart-kind wants to merge 13 commits intomasterfrom
james-taggart-kind wants to merge 13 commits intomasterfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds automated test coverage for the Decision Reviews Supplemental Claims backend (normalization logic, helper utilities, and controller behaviors) to establish a baseline for regression prevention.
Changes:
- Added specs for Supplemental Claim request body normalization behaviors (VA/private evidence formatting, schema normalization, redesign payload gating).
- Added specs for
DecisionReviews::V1::Helpersutilities used by Supplemental Claims (encryption, header creation, data transforms). - Expanded
SupplementalClaimsControllercontroller specs to covershow,create, and several private helper methods.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| modules/decision_reviews/spec/services/v1/supplemental_claims/request_body_normalizer_spec.rb | Adds coverage for evidence formatting and redesign-related normalization paths. |
| modules/decision_reviews/spec/lib/v1/helpers_spec.rb | Adds coverage for helper methods used in SC submissions (encryption, transforms, header generation). |
| modules/decision_reviews/spec/controllers/supplemental_claims_controller_spec.rb | Adds controller coverage for show/create flows and private helper methods used during submission. |
asiisii
reviewed
Apr 22, 2026
asiisii
reviewed
Apr 22, 2026
dfitchett
approved these changes
Apr 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Keep your PR as a Draft until it's ready for Platform review. A PR is ready for Platform review when it has a teammate approval and tests, linting, and settings checks pass CI. See these tips on how to avoid common delays in getting your PR merged.
Summary
No
Added testing coverage for supplemental claims backend.
No bug just increasing test coverage.
This allows our team to get familiar with supplemental claims redesign and also make sure we have a healthy baseline to prevent regressions in the future accompanied with manual testing this first time. For this PR we made sure we had 100% coverage and also we had meaningful tests for all of the supplemental claims changes.
Benefits decision reviews.
No flipper
Related issue(s)
department-of-veterans-affairs/va.gov-team#139741
NA
NA
Testing done
Same behavior just increased coverage
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:
Screenshots
Note: Optional
What areas of the site does it impact?
(Describe what parts of the site are impacted andifcode touched other areas)
NA, just a test update. Tests are for supplemental claims.
Acceptance criteria
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?