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

Handle deployment locking correctly #507

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

edoardopirovano
Copy link
Contributor

After this we should be able to lock cloud-compute test runs which unblocks doing main branch session selection for most projects.

@edoardopirovano edoardopirovano requested a review from a team September 12, 2024 14:32
Copy link

vercel bot commented Sep 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
report-diffs-action ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 12, 2024 3:53pm

Copy link

alwaysmeticulous bot commented Sep 12, 2024

✅ Meticulous spotted zero visual differences across 8 screens tested: view results.

Expected differences? Click here. Test suite: public-tests. Last updated for commit 40ecf4c. This comment will update as new commits are pushed.

Copy link

github-actions bot commented Sep 12, 2024

✅ Meticulous spotted zero visual differences across 8 screens tested: view results.

Test suite: test Meticulous with deployment url. Last updated for commit 40ecf4c. This comment will update as new commits are pushed.

Copy link

github-actions bot commented Sep 12, 2024

✅ Meticulous spotted zero visual differences across 8 screens tested: view results.

Test suite: test Meticulous with app url. Last updated for commit 40ecf4c. This comment will update as new commits are pushed.

"The test run has completed but additional tasks on the Meticulous platform are using this deployment, please keep this job running..."
);
};

const onTestRunCreated = (testRun: TestRun) => {
logger.info(`Test run created: ${testRun.url}`);
};
Copy link
Contributor

Choose a reason for hiding this comment

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

So executeRemoteTestRun will hold off from returning until the lock is released?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's right, and periodically call onTunnelStillLocked above so that we log something.

@edoardopirovano edoardopirovano merged commit 1c6e3bc into main Sep 13, 2024
10 checks passed
@edoardopirovano edoardopirovano deleted the edoardo/deployment-locking branch September 13, 2024 10:03
Copy link

sentry-io bot commented Sep 18, 2024

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ Error: aborted i.from(cloud-compute.entrypoint) View Issue

Did you find this useful? React with a 👍 or 👎

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