POC for turboskipping a build#1375
Draft
skitterm wants to merge 2 commits into
Draft
Conversation
Contributor
|
📦 Package Size: 7112 KB |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1375 +/- ##
==========================================
+ Coverage 80.85% 81.15% +0.29%
==========================================
Files 226 228 +2
Lines 4226 4292 +66
Branches 1210 1230 +20
==========================================
+ Hits 3417 3483 +66
- Misses 695 696 +1
+ Partials 114 113 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
skitterm
commented
Jun 10, 2026
Comment on lines
+30
to
+35
| export const publishSkipped = (ctx: Context) => ({ | ||
| status: 'error', | ||
| title: `Verifying your ${buildType(ctx)}`, | ||
| output: 'Build skipped, not publishing', | ||
| }); | ||
|
|
Member
Author
There was a problem hiding this comment.
This is unused for now.
skitterm
commented
Jun 10, 2026
Comment on lines
+125
to
+128
| if (onlyStoryFiles.length === 0) { | ||
| transitionTo(success, true)(ctx, task); | ||
| return; | ||
| } |
Member
Author
There was a problem hiding this comment.
Probably not correct, but was trying to get the console output to early-exit.
skitterm
commented
Jun 10, 2026
Comment on lines
+60
to
+63
|
|
||
| if (publishedBuild.status === 'SKIPPED') { | ||
| ctx.skip = true; | ||
| } |
Member
Author
There was a problem hiding this comment.
Trying to skip future steps now that we know the build should be turboskipped.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Super-basic CLI changes needed to get turboskipping POC to work on the backend. Mainly this just skips further CLI steps after publishing the build.
📦 Published PR as canary version:
17.2.1--canary.1375.26916509418.0✨ Test out this PR locally via:
npm install chromatic@17.2.1--canary.1375.26916509418.0 # or yarn add chromatic@17.2.1--canary.1375.26916509418.0