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

Track verification dates #1717

Merged
merged 5 commits into from
Sep 28, 2023
Merged

Conversation

thomasleese
Copy link
Contributor

@thomasleese thomasleese commented Sep 26, 2023

This adds new fields to the requestable models for tracking when they're requested and expired. This is because with the new verification flow we need this information to know when a requestable has been requested (as in the new flow, requestables can be created before they're requested).

Trello Card

@thomasleese thomasleese requested a review from a team as a code owner September 26, 2023 11:59
@thomasleese thomasleese force-pushed the requestable-requested-at-expired-at branch 3 times, most recently from a42556a to bf6038b Compare September 26, 2023 13:54
@thomasleese thomasleese force-pushed the requestable-requested-at-expired-at branch 3 times, most recently from a652603 to 155dc6d Compare September 27, 2023 18:17
Copy link
Contributor

@syed87 syed87 left a comment

Choose a reason for hiding this comment

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

looks good to me

This adds a new column to the requestables for tracking when a
requestable was requested. We need this as in the future with the new
verification flow where the request happens in a separate step to the
creation of the requestable.
This updates the code to ensure the requested_at field is set in various
places where it's needed.
This renames it to expires_at to better represent that it returns when
the object _will_ expire, rather than when it actually expired.
This adds a new column to the requestables for tracking when a
requestable was expired. This is because there can sometimes be a
slight delay between when the requested is due to expire and when it
actually has expired.
This updates the code to ensure the expired_at field is set in various
places where it's needed.
@thomasleese thomasleese force-pushed the requestable-requested-at-expired-at branch from 155dc6d to 9741d16 Compare September 28, 2023 14:29
@thomasleese thomasleese merged commit 24ac887 into main Sep 28, 2023
9 checks passed
@thomasleese thomasleese deleted the requestable-requested-at-expired-at branch September 28, 2023 14:47
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