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

ci: reduce allowed migration time to 15 minutes and stop uploading #10232

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mackrorysd
Copy link
Member

ci: reduce allow migration time to 15 minutes and stop uploading

Description

We're just using CircleCI instead of the database now. Reducing the time to have lower tolerance for slow migrations, and just logging the time it takes for master to come up instead of uploading results.

Test Plan

test-perf should be green after this.

@mackrorysd mackrorysd requested a review from a team as a code owner December 3, 2024 17:47
@cla-bot cla-bot bot added the cla-signed label Dec 3, 2024
Copy link

netlify bot commented Dec 3, 2024

Deploy Preview for determined-ui canceled.

Name Link
🔨 Latest commit 7be28f4
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/674f443f1c466b000803a81c

@mackrorysd mackrorysd changed the title ci: reduce allow migration time to 15 minutes and stop uploading ci: reduce allowed migration time to 15 minutes and stop uploading Dec 3, 2024
# If a migration takes longer than that we have hit an issue a customer will likely hit too.
time_start = time.time()
time_last_report = time_start
while time_start - time.time() < 2 * 60 * 60:
while time_start - time.time() < 15 * 60:
Copy link
Contributor

Choose a reason for hiding this comment

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

This line may also be relevant:

time: "120" # Wait two hours at most. Adjust this over time.

Copy link
Contributor

@jgongd jgongd left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants