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

Use BE endpoint for calculating base in cloud-compute action #454

Merged
merged 12 commits into from
Jun 12, 2024

Conversation

alexivanov
Copy link
Contributor

@alexivanov alexivanov commented Jun 5, 2024

This PR updates the base commit calculation to use a BE endpoint instead of doing it within the action. This aligns us

The logic within the "old" action is kept as is as to maintain ability to use without installing the GH app.

This also drops the 'head sha' parameter from the old action. It's not currently used and it's usage is incorrect.

Copy link

vercel bot commented Jun 5, 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 Jun 11, 2024 3:45pm

Copy link

alwaysmeticulous bot commented Jun 5, 2024

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

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

This fixes a bug where the head SHA provided as input was ignored in the
cloud compute action.

Additionally, this extends the action to deal with cases where the head of
the PR commit is being tested, rather than the temporary merge commit.
Previously we used the temp merge commit as a head commit sha regardless
of what was being checked out.
Copy link

github-actions bot commented Jun 5, 2024

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

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

Copy link

github-actions bot commented Jun 5, 2024

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

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

@alexivanov alexivanov changed the title Fix cloud compute action head SHA Use BE endpoint for calculating base in cloud-compute action Jun 11, 2024
@alexivanov alexivanov merged commit a807496 into main Jun 12, 2024
10 checks passed
@alexivanov alexivanov deleted the fix-head-commit-sha-cloud-compute branch June 12, 2024 10:09
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