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

MLPAB-2018 Add scheduled events to remind certificate provider #1683

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

hawx
Copy link
Contributor

@hawx hawx commented Dec 13, 2024

Because when the scheduled event should occur can change I'm going for the approach of setting multiple scheduled events, then checking if it is valid to run or should be ignored. This is safe as expiry can only go up (from 6 months to 24), so in that case we'd be ignoring the event at +3 months.

@hawx hawx self-assigned this Dec 13, 2024
@hawx hawx requested a review from a team as a code owner December 13, 2024 09:08
@hawx hawx force-pushed the MLPAB-2018-reminder-certificate-provider branch from bd173fd to bd9a2b1 Compare December 13, 2024 09:33
@hawx hawx force-pushed the MLPAB-2018-reminder-certificate-provider branch from bd9a2b1 to 4057f5e Compare December 13, 2024 10:10
@hawx hawx force-pushed the MLPAB-2018-reminder-certificate-provider branch from 4057f5e to 41356b7 Compare December 13, 2024 15:00
Copy link

codecov bot commented Dec 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.97%. Comparing base (860e2f4) to head (407814a).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1683      +/-   ##
==========================================
+ Coverage   94.88%   94.97%   +0.08%     
==========================================
  Files         281      284       +3     
  Lines       15653    15910     +257     
==========================================
+ Hits        14853    15110     +257     
  Misses        630      630              
  Partials      170      170              
Flag Coverage Δ
unittests 94.97% <100.00%> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hawx hawx force-pushed the MLPAB-2018-reminder-certificate-provider branch from 41356b7 to dda3b49 Compare December 16, 2024 11:32
@hawx hawx force-pushed the MLPAB-2018-reminder-certificate-provider branch from dda3b49 to 76e9c4e Compare December 16, 2024 12:05
@hawx hawx force-pushed the MLPAB-2018-reminder-certificate-provider branch from 76e9c4e to c893fe6 Compare December 16, 2024 13:22
@hawx hawx force-pushed the MLPAB-2018-reminder-certificate-provider branch 2 times, most recently from 122e78e to 449caff Compare December 16, 2024 14:23
@hawx hawx force-pushed the MLPAB-2018-reminder-certificate-provider branch from 449caff to 4304f0d Compare December 16, 2024 14:58
@hawx hawx force-pushed the MLPAB-2018-reminder-certificate-provider branch from 4304f0d to 8d22577 Compare December 16, 2024 15:20
@hawx hawx force-pushed the MLPAB-2018-reminder-certificate-provider branch from 8d22577 to 5538fe9 Compare December 17, 2024 08:43
@hawx hawx force-pushed the MLPAB-2018-reminder-certificate-provider branch from 5538fe9 to 108aa0c Compare December 17, 2024 09:43
@hawx hawx force-pushed the MLPAB-2018-reminder-certificate-provider branch from 108aa0c to fd19741 Compare December 17, 2024 10:27
@hawx hawx force-pushed the MLPAB-2018-reminder-certificate-provider branch from fd19741 to 2285214 Compare December 17, 2024 11:14
return fmt.Errorf("error sending sharecode to attorneys: %w", err)
}

if !certificateProvider.Tasks.ConfirmYourDetails.IsCompleted() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be:

Suggested change
if !certificateProvider.Tasks.ConfirmYourDetails.IsCompleted() {
if !certificateProvider.Tasks.ConfirmYourIdentity.IsCompleted() {

@hawx hawx force-pushed the MLPAB-2018-reminder-certificate-provider branch from 2285214 to 407814a Compare December 17, 2024 14:23
Copy link
Contributor

@acsauk acsauk left a comment

Choose a reason for hiding this comment

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

:shipit:

@hawx hawx merged commit e081c33 into main Dec 17, 2024
32 checks passed
@hawx hawx deleted the MLPAB-2018-reminder-certificate-provider branch December 17, 2024 15:31
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