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

Show when a seen delayed migration can be run #69

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

ryanhiebert
Copy link
Owner

@ryanhiebert ryanhiebert commented Jul 26, 2024

The current implementation always shows the delay starting from "now" rather than from when the migration was first detected.

I avoided pulling in a dependency on something like freezegun by giving a delay with a buffer of 10 minutes.

Copy link

codecov bot commented Jul 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (79a4860) to head (3780319).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #69   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines          190       192    +2     
  Branches        42        43    +1     
=========================================
+ Hits           190       192    +2     

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

Copy link
Collaborator

@tim-schilling tim-schilling left a comment

Choose a reason for hiding this comment

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

Makes sense, thank you!

I avoided pulling in a dependency on something like freezegun by giving a delay
with a buffer of 10 minutes.
@ryanhiebert ryanhiebert merged commit f695074 into main Jul 26, 2024
16 checks passed
@ryanhiebert ryanhiebert deleted the seen-delayed-output branch July 26, 2024 12:24
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