Skip to content

Jmax/lg 12239 Pii re-encryption edge case#9995

Merged
jmax-gsa merged 3 commits intomainfrom
jmax/LG-12239-pii-re-encryption-edge-case
Jan 30, 2024
Merged

Jmax/lg 12239 Pii re-encryption edge case#9995
jmax-gsa merged 3 commits intomainfrom
jmax/LG-12239-pii-re-encryption-edge-case

Conversation

@jmax-gsa
Copy link
Contributor

@jmax-gsa jmax-gsa commented Jan 29, 2024

🎫 Ticket

Link to the relevant ticket:
LG-12239

🛠 Summary of changes

Via CloudWatch monitoring, we determined that we had an edge case in our PII re-encryption code which caused us to occasionally fail when re-encrypting PII for a pending profile. We modified the code to re-encrypt pending profile's PII if present, and deactivate the profile if there is no associated PII.

📜 Testing Plan

Provide a checklist of steps to confirm the changes.

  • Verify that the new spec at spec/services/user_profiles_encryptor_spec.rb:66 passes without error
  • Verify that all existing specs pass without error

changelog: Bug Fixes,PII re-encryption,fix edge-case bug.
@jmax-gsa jmax-gsa marked this pull request as ready for review January 29, 2024 22:36
@jmax-gsa jmax-gsa requested a review from jmhooper January 29, 2024 22:36
@jmax-gsa jmax-gsa merged commit 05bf73e into main Jan 30, 2024
@jmax-gsa jmax-gsa deleted the jmax/LG-12239-pii-re-encryption-edge-case branch January 30, 2024 18:25
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.

2 participants