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

Support builds from (supposed) forked repository or monorepo setup #299

Merged

Conversation

ghengeveld
Copy link
Member

@ghengeveld ghengeveld commented May 7, 2024

When the owner name of the local Git repository doesn't match that of the repository linked to the Chromatic project, local builds will have branch names prefixed with the local owner name (to indicate that the build originates from a fork).

When selecting a build in the VTA, this owner name prefix isn't taken into account, causing the VTA to hang while it looks for a build matching the local Git branch. This PR addresses this mismatch by disregarding the potential owner name prefix. This is safe to do because the BuildQuery already filters by owner name, so we needn't check it again.

Fixes #290

@ghengeveld ghengeveld added release Auto: Create a `latest` release when merged patch Auto: Increment the patch version when merged labels May 7, 2024
Copy link
Contributor

@andrewortwein andrewortwein left a comment

Choose a reason for hiding this comment

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

🍴👍🏻

@ghengeveld ghengeveld added skip-release Auto: Preserve the current version when merged and removed release Auto: Create a `latest` release when merged labels May 10, 2024
@ghengeveld ghengeveld merged commit 70aac87 into main May 10, 2024
11 of 12 checks passed
@ghengeveld ghengeveld deleted the ghengeveld/290-hit-error-waiting-for-build-on-master branch May 10, 2024 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Auto: Increment the patch version when merged skip-release Auto: Preserve the current version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hit error: "Waiting for build on master"
2 participants