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

fix: Make PR preview link consistent #490

Merged
merged 1 commit into from
Dec 11, 2024
Merged

Conversation

ShrimpCryptid
Copy link
Contributor

@ShrimpCryptid ShrimpCryptid commented Dec 4, 2024

Problem

Currently there's a GitHub action that builds two previews for the app, one in its public version and one for an internal version w/ experimental features. Before, both jobs were run at the same time, resulting in a race condition where the PR comment would either have the preview or the internal version randomly.

This change orders the steps so the standard, public build preview is always built last, and overrides the internal link. You can still access the internal version by adding -internal to a PR preview link:

Estimated review size: tiny, 1 minute

@ShrimpCryptid ShrimpCryptid added the internals Tech debt, refactoring, dependencies, etc. label Dec 4, 2024
@ShrimpCryptid ShrimpCryptid self-assigned this Dec 4, 2024
Copy link

github-actions bot commented Dec 4, 2024

PR Preview Action v1.4.8
Preview removed because the pull request was closed.
2024-12-11 17:47 UTC

Copy link

github-actions bot commented Dec 4, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 75.07% 5247 / 6989
🔵 Statements 75.07% 5247 / 6989
🔵 Functions 57.87% 136 / 235
🔵 Branches 80.81% 438 / 542
File CoverageNo changed files found.
Generated in workflow #1261

@ShrimpCryptid ShrimpCryptid marked this pull request as ready for review December 4, 2024 17:47
@ShrimpCryptid ShrimpCryptid requested a review from a team as a code owner December 4, 2024 17:47
@ShrimpCryptid ShrimpCryptid requested review from toloudis and frasercl and removed request for a team December 4, 2024 17:47
@ShrimpCryptid ShrimpCryptid merged commit d586206 into main Dec 11, 2024
3 checks passed
@ShrimpCryptid ShrimpCryptid deleted the fix/pr-preview-ordering branch December 11, 2024 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internals Tech debt, refactoring, dependencies, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants