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 ENOENT when uploading stats file with --upload-metadata #843

Merged
merged 4 commits into from
Oct 26, 2023

Conversation

ghengeveld
Copy link
Member

@ghengeveld ghengeveld commented Oct 24, 2023

Sometimes preview-stats.json couldn't be loaded because statsPath wouldn't be set correctly if tracing changed files failed or was aborted. This fixes the problem and adds a test for the uploading of metadata files.

📦 Published PR as canary version: 7.5.2--canary.843.6652619166.0

✨ Test out this PR locally via:

npm install chromatic@7.5.2--canary.843.6652619166.0
# or 
yarn add chromatic@7.5.2--canary.843.6652619166.0

@ghengeveld ghengeveld changed the title Fix ENOENT when uploading stats file (metadata) Fix ENOENT when uploading stats file with --upload-metadata Oct 24, 2023
@ghengeveld ghengeveld added release Auto: Create a `latest` release when merged patch Auto: Increment the patch version when merged labels Oct 26, 2023
@ghengeveld ghengeveld added this pull request to the merge queue Oct 26, 2023
@ghengeveld ghengeveld removed this pull request from the merge queue due to a manual request Oct 26, 2023
@ghengeveld ghengeveld added this pull request to the merge queue Oct 26, 2023
Merged via the queue into main with commit d2bfec1 Oct 26, 2023
22 checks passed
@ghengeveld ghengeveld deleted the fix-preview-stats-metadata-upload branch October 26, 2023 11:54
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 release Auto: Create a `latest` release when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants