Skip to content

Automatically upload metadata files on TurboSnap bails#1400

Draft
codykaup wants to merge 2 commits into
cody/enable-chromatic-logfrom
cody/cap-4647-automatically-upload-metadata-to-s3-on-bailed-turbosnap
Draft

Automatically upload metadata files on TurboSnap bails#1400
codykaup wants to merge 2 commits into
cody/enable-chromatic-logfrom
cody/cap-4647-automatically-upload-metadata-to-s3-on-bailed-turbosnap

Conversation

@codykaup

@codykaup codykaup commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

This is an extension from #1399.

We want to help with debugging TurboSnap bails without going back and forth with the customer too much because it's slow and a little annoying as a customer. This change automatically uploads the metadata files (mostly log files) to Chromatic for quicker debugging and a better support experience.

Note: You can opt out of this behavior by setting --upload-metadata=false or --no-upload-metadata.

📦 Published PR as canary version: 17.6.0--canary.1400.27791204852.0

✨ Test out this PR locally via:

npm install chromatic@17.6.0--canary.1400.27791204852.0
# or 
yarn add chromatic@17.6.0--canary.1400.27791204852.0

@codykaup codykaup self-assigned this Jun 18, 2026
@codykaup codykaup added minor Auto: Increment the minor version when merged release Auto: Create a `latest` release when merged labels Jun 18, 2026
@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

📦 Package Size: 7128 KB

@codecov

codecov Bot commented Jun 18, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 90.24390% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.25%. Comparing base (c5d0a2f) to head (5df57d6).

Files with missing lines Patch % Lines
node-src/lib/uploadMetadataFiles.ts 85.18% 4 Missing ⚠️
Additional details and impacted files
@@                      Coverage Diff                      @@
##           cody/enable-chromatic-log    #1400      +/-   ##
=============================================================
- Coverage                      82.26%   82.25%   -0.01%     
=============================================================
  Files                            231      231              
  Lines                           4397     4407      +10     
  Branches                        1262     1265       +3     
=============================================================
+ Hits                            3617     3625       +8     
- Misses                           670      672       +2     
  Partials                         110      110              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codykaup codykaup force-pushed the cody/enable-chromatic-log branch from a73a175 to c5d0a2f Compare June 18, 2026 21:42
@codykaup codykaup force-pushed the cody/cap-4647-automatically-upload-metadata-to-s3-on-bailed-turbosnap branch from cf0ebf7 to 5df57d6 Compare June 18, 2026 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor Auto: Increment the minor version when merged release Auto: Create a `latest` release when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant