Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Implement async build creation process #562

Merged

Conversation

ghengeveld
Copy link
Member

@ghengeveld ghengeveld commented Apr 22, 2022

This updates the CLI to use the new three-step build creation process: announceBuild ➡️ publishBuild ➡️ verifyBuild

Also this adds mergeCommit to the build info.

Relies on https://github.com/chromaui/chromatic/pull/6005
and https://github.com/chromaui/chromatic/pull/6162

@ghengeveld ghengeveld requested a review from tmeasday April 22, 2022 11:15
@linear
Copy link

linear bot commented Apr 22, 2022

CH-1759 Update CLI to use new build creation API

Introduce new "initialize build" step.

Deal with partial build data.

Drop "retryable" build mechanism.

@ghengeveld ghengeveld force-pushed the ghengeveld/ch-1759-update-cli-to-use-new-build-creation-api branch from 2886b53 to ac199d3 Compare April 22, 2022 11:25
@ghengeveld
Copy link
Member Author

ghengeveld commented Apr 22, 2022

Published as chromatic@canary for testing.

Copy link
Member

@tmeasday tmeasday left a comment

Choose a reason for hiding this comment

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

Seems great!

@ghengeveld
Copy link
Member Author

I'm calling this done but holding off the merge until we ship the backend changes.

@tmeasday
Copy link
Member

tmeasday commented May 4, 2022

@ghengeveld I tested this on a git repo with no origin setup and it errored with:

Field "slug" of required type "String!" was not provided.

@ghengeveld
Copy link
Member Author

ghengeveld commented May 20, 2022

@ghengeveld I tested this on a git repo with no origin setup and it errored with:

Field "slug" of required type "String!" was not provided.

Opened a PR to address this here: https://github.com/chromaui/chromatic/pull/6162

@ghengeveld ghengeveld merged commit 7751506 into next May 25, 2022
@ghengeveld ghengeveld deleted the ghengeveld/ch-1759-update-cli-to-use-new-build-creation-api branch May 25, 2022 05:14
@ghengeveld ghengeveld mentioned this pull request May 25, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants