Skip to content

Deploy RC 263#8014

Merged
zachmargolis merged 21 commits intostages/prodfrom
stages/rc-2023-03-17
Mar 17, 2023
Merged

Deploy RC 263#8014
zachmargolis merged 21 commits intostages/prodfrom
stages/rc-2023-03-17

Conversation

@zachmargolis
Copy link
Contributor

@zachmargolis zachmargolis commented Mar 17, 2023

User-Facing Improvements

  • Authentication: Remove phone helper text (#7917)
  • In-Person Proofing: Update language to be simpler and branded (#8009)
  • Registration: Add additional feedback to password error handling (#7989)
  • Updating Hybrid Handoff: Finishing removal of feature-flagged combined hybrid handoff (LG-8903) (#7929)
  • ssn page: Update text (#8004)

Internal

  • Analytics: Log irs_session_id with analytics (#8007)
  • Analytics: Add Policy Redirect (#7974)
  • Automated Testing: Improve compatibility of accessibility description matcher (#8010)
  • Database: Disable primary database prepared statements if using database socket connection (#7990)
  • Database: Reduce device/event transactions by wrapping multiple writes in one transaction (#7999)
  • Database: Disable primary database advisory locks if using database socket connection (#8003)
  • Feature Flags: Remove code associated with live features (#8006)
  • Reporting: Fix scheduled SSN and Daily Dropoff report jobs (#8015)
  • Security: Update brakeman gem (#7998)
  • utilities: Reuqest more information from users when calling investigative rake tasks (#8001)

Upcoming Features

  • Double address verification: Allow (#7961)

zachmargolis and others added 20 commits March 15, 2023 12:19
* Add profile_active column
* Add count_active_ssn_fingerprint column
* Handle nil activated_at values

changelog: Internal, Reporting, Add report for duplicate SSNs
* Allow state ID address fields in user PII

changelog: Upcoming features, Double address verification, Allow
state ID address fields in user PII

* Add more Pii attribute comments

* Use existing state_id_jurisdiction field

* Allow state_id_jurisdiction in feature tests

* Allow PII for other events
changelog: Internal, Security, Update brakeman gem
The `ResolutionProofingJob` is the class that does much of the legwork during the verify step. Specifically, it does the following:

1. Communicates with ThreatMetrix if necessary
2. Communicates with InstantVerify
3. Communicates with AAMVA
4. Combines results through the `ResolutionResultAdjudicator`

The tests for this class have been sophisticated and have combined a number of different ways of mocking out responses from vendors (e.g. webmocks or stubs of the vendor classes).

This change attempts to simplify some of this by creating a helper for stubbing responses from vendors. Those helpers are used to re-implement simpler examples for the logic the tests test. Ideally this will allow us to more quickly make changes to the `ResolutionProofingJob`.

[skip changelog]
…ransaction (#7999)

changelog: Internal, Database, Reduce device/event transactions by wrapping multiple writes in one transaction
…7997)

* Don't make a request to AAMVA if verification is guaranteed to fail

We implemented a feature that allowed us to use the response we get from AAMVA to cover attributes that fail the LexisNexis check during resolution. Specifically, the following attributes can be covered by AAMVA:

- Address
- Dob
- State ID Number

As part of this change we started sending requests to AAMVA even if the LexisNexis response failed. Previously this occurred even if the failed LexisNexis attributes could not be covered by the AAMVA response.

This commit attempts to shed some load on AAMVA's service by not making requests to them if the attributes in a failed LexisNexis response cannot be covered by AAMVA.

[skip changelog]
… connection (#7990)

changelog: Internal, Database, Disable primary database prepared statements if using database socket connection
…able (#8002)

Before we use the get-to-yes feature we need to make sure that the base lexis nexis error refers to the scoring model verification. This is what implies that the checks failed and we can fallback to AAMVA.

LexisNexis uses the code priority.scoring.model.verification.fail for some of its workflows. This commit changes the regex we use to match against the code to match that code.

[skip changelog]
Related PRs #7990 and #7967

This disables advisory locks when a DB socket is used as `pgbouncer` does
not support advisory lock use in transaction mode.

changelog: Internal, Database, Disable primary database advisory locks if using database socket connection
* Remove `skip_legacy_state` method

The `skip_legacy_state` method had 2 major problems:

1. The name implies that the new state is somehow a legacy state
2. It is hidden in the `check_ssn` code which makes it difficult to understand how a user moves from the verify info controller to the phone controller

This method attempts to clean this up by removing `skip_legacy_state` method and moving its logic into more reasonable places in the verify info concern or into the `Idv::Session`.

[skip changelog]

* Update app/services/idv/session.rb

Co-authored-by: Sonia Connolly <sonia.connolly@gsa.gov>

* delint

---------

Co-authored-by: Sonia Connolly <sonia.connolly@gsa.gov>
changelog: Internal, utilities, Reuqest more information from users when calling investigative rake tasks

Co-authored-by: Paul Hirsch <paul.hirsch@gsa.gov>
* add strings

* update ssn views with changed content

* changelog: User-Facing Improvements, ssn page, update text
…ibility (#8010)

changelog: Internal, Automated Testing, Improve compatibility of accessibility description matcher
* attempt to squash everything

* Adding clear_and_fill_in helper

-- What
This new helper method will first clear an input before inserting text
into it during capybara tests.

* Removing unused analytics event methods

Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>

* Changelog

changelog: User-Facing Improvements, Updating Hybrid Handoff,
finishing removal of feature-flagged combined hybrid handoff

* changelog: User-Facing Improvements, Updating Hybrid Handoff, finishing removal of feature-flagged combined hybrid handoff (LG-8903)

* Restore `pgcrypto` extension

* Remove redundant assignment

* Decrease find wait time in feature spec

---------

Co-authored-by: Jonathan Hooper <jonathan.hooper@gsa.gov>
Co-authored-by: eric-gade <eric.gade@gsa.gov>
Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>
* Add additional feedback to password error handling

changelog: User-Facing Improvements, Registration, Add additional feedback to password error handling
* Remove phone example number text

changelog: User-Facing Improvements, Authentication, Remove phone helper text
changelog: Internal, Analytics, Log irs_session_id with analytics
* LG-9089 Add IRS text to localdev.yml for testing

changelog: Internal, Analytics, Add Policy Redirect
* Remove arcgis_search_enabled feature flag

Why: This feature is now enabled in production and would not be expected to be reverted to pilot facilities, and its continued existence in the code creates confusion for other developers.

* changelog: Internal, Feature Flags, Remove code associated with live features

* Remove unused locale strings
…8009)

* changelog: Improvements, In-Person Proofing, Update language to be simpler and branded

* Add param
@zachmargolis zachmargolis marked this pull request as ready for review March 17, 2023 16:04
**Why**: They interfere with the jobs being instantiated by the scheduler

changelog: Internal, Reporting, Fix scheduled SSN and Daily Dropoff report jobs
@zachmargolis zachmargolis merged commit 3741fd7 into stages/prod Mar 17, 2023
@zachmargolis zachmargolis deleted the stages/rc-2023-03-17 branch March 17, 2023 17:37
zachmargolis added a commit that referenced this pull request Mar 17, 2023
This reverts commit 3741fd7, reversing
changes made to f472381.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.