Skip to content

Deploy RC 340#9757

Merged
jmhooper merged 7 commits intostages/prodfrom
stages/rc-2023-12-14
Dec 14, 2023
Merged

Deploy RC 340#9757
jmhooper merged 7 commits intostages/prodfrom
stages/rc-2023-12-14

Conversation

@jmhooper
Copy link
Contributor

User-Facing Improvements

  • Authentication: Send email to user when they delete an account (#9724)

Internal

  • Analytics: Add tracking for disposable email domains (#9747)
  • DocAuth: Tweak true id request body (#9751)
  • OpenID Connect: Add support for client-side OIDC redirect (#9755)
  • Reporting: Update monthly reporting on apps & agencies to exclude internal apps (#9744)

Upcoming Features

  • Face or Touch Unlock: Add new renaming interface for face or touch unlock (#9742)

eileen-nava and others added 7 commits December 13, 2023 09:31
* change use of compact in true id request

* changelog: Internal, DocAuth, tweak true id request body
* LG-11454 (1): Add controllers for WebAuthn management

changelog: Upcoming Features, Face or Touch Unlock, Add new renaming interface for face or touch unlock

* Add previous_event_name tag for delete event

* Use explicit routes in place of resource

See: #9742 (comment)
… domain (#9747)

Add tracking for disposable email domains

changelog: Internal, Analytics, Add tracking for disposable email domains
…ect (#9755)

* add JS redirect page

* add JS redirect behavior and tests

changelog: Internal, OpenID Connect, Add support for client-side OIDC redirect

* Update app/controllers/openid_connect/authorization_controller.rb

Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>

* use case statement

* fix js

Co-authored-by: Andrew Duthie <1779930+aduth@users.noreply.github.com>

---------

Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>
Co-authored-by: Andrew Duthie <1779930+aduth@users.noreply.github.com>
The rubocop linter specs were requiring the `rubocop/rspec/support`. This file is [defined in the Rubocop gem](https://github.com/rubocop/rubocop/blob/master/lib/rubocop/rspec/support.rb) and adds utilities for testing rubocop linters.

The rubocop support configuration _appears_ to make the assumption that the context in which it is included is a test suite for only testing Cops or at least for primarily testing Cops. The main clue for this is this part of the implementation:

```ruby
RSpec.configure do |config|
  config.include CopHelper
  # ...
end
```

The [`CopHelper` module](https://github.com/rubocop/rubocop/blob/master/lib/rubocop/rspec/cop_helper.rb) defines a number of methods for testing a linter. The support file includes that module for _every single example_. As a result all of our tests have those methods.

I found this problematic when I observed an issue testing a MFA selection presenter. It referenced a `configuration` variable that it expected to be an MFA configuration. This variable was in fact a rubocop configuration thanks to the `configuration` method in the `CopHelper` module (ref: [the failed build where I observed this](https://gitlab.login.gov/lg/identity-idp/-/jobs/915207))

This commit removes the `require` call that included `rubocop/rspec/support`. It replaces that with a simplified set of `require` calls that only bring in the tools we need to test our linters.

[skip changelog]
* Update apps/agencies report to exclude internal apps
* Update report to only include SPs that have had users link to them
* Update active agencies to use "partner_account_status"

changelog: Internal, Reporting, Update monthly reporting on apps & agencies to exclude internal apps
#9724)

* changelog: User-Facing Improvements, Authentication, Send email to user when they delete an account

* duplicate account email
@jmhooper jmhooper merged commit 46bb751 into stages/prod Dec 14, 2023
@jmhooper jmhooper deleted the stages/rc-2023-12-14 branch December 14, 2023 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants