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

Deploy RC 440 to Production #11675

Merged
merged 21 commits into from
Dec 19, 2024
Merged

Deploy RC 440 to Production #11675

merged 21 commits into from
Dec 19, 2024

Conversation

matthinz
Copy link
Member

@matthinz matthinz commented Dec 19, 2024

User-Facing Improvements

  • Accessibility: skipnav container no longer blocks content at large zoom levels (#11676)

Bug Fixes

  • Doc Auth: Fix "Try again" button opening up Selfie SDK (#11661)
  • Partner agency: Prevent blank submission of preferred email form (#11568)

Internal

  • Code Quality: Simplify code using newly-available JavaScript features (#11666)
  • Dependencies: Drop dependencies in favor of Node.js native utilities (#11648)
  • Document Authentication: Repeat webhooks for docv (#11633)
  • Enable Chinese in staging: Delete production available_locales to use default which includes zh (#11668)
  • IdV Analytics: Make IdV event enhancement opt-out (#11588)
  • In-person proofing: Delete deprecated FSM state ID url (#11655)
  • In-person proofing: Move STEP_INDICATOR_STEP constants out of InPersonFlow (#11607)
  • Socure: Cleanup of error handling (#11595)
  • Static Analysis: Fix custom linter for configurable mail delivery (#11642)
  • Testing: Add rubocop-capybara (#11669)

Upcoming Features

matthinz and others added 18 commits December 17, 2024 09:23
…#11653)

* Add a test controller for IPP enrollments

Add a new route, /test/ipp (not enabled in prod!)

Features:

- Lists the 10 most recent enrollments + their statuses
- Puts a big "Approve" button on pending ones to simulate USPS approval

[skip changelog]

* Left-align heading cells
* Remove fast-glob direct dependency

changelog: Internal, Dependencies, Drop dependencies in favor of Node.js native utilities

* Update clipboard-polyfill

Now includes fixed TypeScript types. Previously wasn't possible to upgrade because project is ESM, but Node.js 22 adds experimental support for CommonJS require of ESM

* Upgrade TypeScript to latest version

Avoid issues with types on Array.fromAsync

* Sync yarn.lock

* Reduce test flakiness with path matcher

---------

Co-authored-by: Mitchell Henke <mitchell.henke@gsa.gov>
* make input required

* changelog: Bug Fixes, Partner agency, prevent blank submission of preferred email form

* add changes to spec feature

* rename variable

* include backend validation for the blank field

* change course on handling select email view, update specs accordingly, add spec that covers a validated email id presence

* un-flip-flop expected error details, update edit spec

* clean up unneeded spec item, add test to account connected app spec

* fix tests by compensating for hidden absolute positioned elements

* revise spec after merge

* undo mis-merged value

* preselect email radio button

* improve test coverage to include selecting the correct email id

* added assertion to expected value checked when SP has email assigned
* delete prod default available_locale

* changelog: Internal, Enable Chinese in staging, Delete production available_locales to use default which includes zh
Minor style / lint fixes.

changelog: Internal,Socure,Cleanup of error handling
* Use Promise.withResolvers to simplify promise handling

changelog: Internal, Code Quality, Simplify code using newly-available JavaScript features

* Pass dummy error object to rejected promise
* Add rubocop-capybara to require reliable path matching

changelog: Internal, Testing, Add rubocop-capybara

* correct path matching
* LG-10206 Move STEP_INDICATOR_STEP constants out of InPersonFlow

changelog: Internal, In-person proofing, Move STEP_INDICATOR_STEP constants out of InPersonFlow
- Change to idv_please_call to indicate it is used by idv generally
- Keep in_person_please_call as an alias on the theory that we need it for 1 deploy

[skip changelog]
…11642)

* Add example code demonstrating lint failure

* Dump stderr on Rubocop error result

* Add failing test case

changelog: Internal, Static Analysis, Fix custom linter for configurable mail delivery

* Verify send type before checking method name

Fail if can't check type

* Disable linter for intentional spec example
…th page. (#11661)

* set immediaelyBeginCapture to false in context

* add changelog

changelog: Bug Fixes, Doc Auth, Fix try again button opening up Selfie SDK

* remove immediatelyBeginCapture from selfie context

* Revert "remove immediatelyBeginCapture from selfie context"

This reverts commit 28a9b1b.
**Why**

* When Idv::AnalyticsEventEnhancer was first introduced it was opt-in, but this no longer makes sense for our current analytics tracking needs.

* While a better long-term strategy would be to eliminate the event enhancer, this should be addressed in future work given its complexity.

**How**

* Broke up the IGNORED_METHODS constant into 3 buckets: 1) frontend events and 2) events solely used in jobs. Anything that doesn't fall neatly in either category should just be put in the `IGNORED_METHODS` constant and those additions should be minimal.

* Added specs to ensure that the list of event methods referenced don't get out of sync with AnalyticsEvents and that there is no overlap between ignored and explicitly opted-in methods.

* Added TODO comments for missing events in the feature spec.

**Non-Goals**
* Adding new tests to validate event coverage in spec/features/idv/analytics_spec.rb
* Eliminating the event enhancer metaprogramming approach
* Eliminating unused events

changelog: Internal, IdV Analytics, Make IdV event enhancement opt-out
* Delete deprecated FSM StateID url

* changelog: Internal, In-person proofing, Delete deprecated FSM state ID url
* resolve merge conflicts

* repeat webhook before processing it

* test repeating webhooks

* clean up unused lines

* refactor specs to check NewRelic args

* add webhook repeater test for generic webhook

changelog: Internal, Document Authentication, Repeat webhooks for docv

* add feature specs for repeated webhooks

* check that webhooks is attempting to repeat

* fix typo in spec

* add expectation for sending all webhooks unit spec

* update spec loops

* remove stub of :find_by

* move repeat webhooks to a job

* repeat jobs later

* resolve merge conflict

* update spec to use jobs

* repeater timeout decrease to 15s

* minor refactors
We missed this when we got rid of the ProofingComponent model in #11564

[skip changelog]
matthinz and others added 2 commits December 19, 2024 12:18
* Rework mailer_helper and add spec

- Slightly improve error output
- Capture behavior in a dedicated spec

[skip changelog]

* Add expect_email_not_delivered helper

Assert that a certain email was not sent.

* Update alert_user_about_account_verified_spec

These specs weren't actually testing the thing we thought they were, since the text_part of the email did not contain HTML.
changelog: User-Facing Improvements, Accessibility, skipnav container no longer blocks content at large zoom levels
Copy link
Member

@n1zyy n1zyy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for shepherding this through!

@matthinz matthinz merged commit 56ea064 into stages/prod Dec 19, 2024
1 check passed
@matthinz matthinz deleted the stages/rc-2024-12-19 branch December 19, 2024 21:24
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.