Skip to content

Update ThreatMetrixJsVerificationJob#7126

Merged
zachmargolis merged 4 commits intomainfrom
margolis-js-logging
Oct 18, 2022
Merged

Update ThreatMetrixJsVerificationJob#7126
zachmargolis merged 4 commits intomainfrom
margolis-js-logging

Conversation

@zachmargolis
Copy link
Contributor

🎫 Ticket

N/A

🛠 Summary of changes

Currently the job will early return and log nothing in a bunch of cases where it could be misconfigured. This updates the job to always logs something after each run, so that we can get better info on why it bails early, if it does.

Related: https://github.com/18F/identity-devops/pull/5320

I updated it to remove the valid key unless we had an explicit result, so that hopefully misconfigured runs would not trip the alert above.

📜 Testing Plan

  • Run specs, deploy to a sandbox

- It always logs something after each run, so that we can get
  better info on why it bails early, if it does

[skip changelog]
@zachmargolis zachmargolis requested review from a team and matthinz October 11, 2022 23:37
Copy link
Contributor

@aduth aduth left a comment

Choose a reason for hiding this comment

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

LGTM

zachmargolis and others added 3 commits October 12, 2022 08:20
Co-authored-by: Andrew Duthie <aduth@users.noreply.github.com>
Copy link
Contributor

@matthinz matthinz left a comment

Choose a reason for hiding this comment

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

LGTM

@zachmargolis zachmargolis merged commit 3e7791f into main Oct 18, 2022
@zachmargolis zachmargolis deleted the margolis-js-logging branch October 18, 2022 20: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.

3 participants