-
Notifications
You must be signed in to change notification settings - Fork 66
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
[dbx-num] add state machine to 526 #15240
Conversation
2370131
to
7832703
Compare
7fa6b61
to
e54b000
Compare
99924dd
to
297a807
Compare
297a807
to
d6ea601
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Marking this Ready for review with an outstanding linting error on my test, as I would consider it extraneous. The linting concern is about the stubbing of a method provided by an included module within the object I'm testing. The reason I can't (at least I haven't figured out how to) fix this, is that I took a crack at updating our RSpec config to manually include these methods and even that was fruitless. Given that this is existing functionality that has nothing to do with my changes, and stubbing it allows for the testing of one of my use cases by simply not blocking the test from running, I feel like this is probably a fair exception to the rule |
spec/sidekiq/evss/disability_compensation_form/submit_form526_spec.rb
Outdated
Show resolved
Hide resolved
6115a82
to
59eb701
Compare
71ed302
to
aa2505b
Compare
Summary
NOTE: this is PR 3 of 3 to add this logic
The Problem
We are about to do an audit in cooperation with VBMS to determine the success of our past year of remediation efforts. Though VBMS is the source of truth, we need a way to easily mark submissions as conceptually 'done' or 'off our plate'.
To date, we have been using the presence of
submitted_claim_id
andbackup_submitted_claim_id
to represent success via the primary or backup submission path, respectively.This did not account for our 'failsafe' remediations
Additionally, with a simple state machine in place we have a way to record the results of Lighthouse's status updates. Even after we send a submission to lighthouse, it isn't "off our plate" until LH has marked it as successful (status of
vbms
).The solution
Other stuff
Omissions
This work does not add any transition validation to the state machine. That would be out of scope for MVP, and dangerous to roll out as it could cause errors in the submission flow. MVP is to simply add the datapoint, unblocking our audit of VBMS.
Related issue(s)
Testing done
Screenshots
Note: Optional
What areas of the site does it impact?
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?