Document quarantining without uploading via --dry-run - #310
Merged
Conversation
Adds a "Quarantining without uploading" section to the quarantining page and a --dry-run row to the CLI reference options table. The flag was previously undocumented: it skips the upload (writing the bundle to ./bundle_upload locally) while the quarantine check still runs and still overrides the exit code. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
max-trunk
approved these changes
Aug 10, 2026
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.
Summary
The Analytics CLI's
--dry-runflag (env:TRUNK_DRY_RUN) was completely undocumented publicly — the only mention anywhere was an internal dev README in the analytics-cli repo. It's the supported way to have quarantining gate a CI job without uploading test results to Trunk: the quarantine check still runs and still overrides the exit code, but the bundle is written to a local./bundle_uploaddirectory instead of being uploaded.Changes
flaky-tests/quarantining/index.mdx: new "Quarantining without uploading" section with an example command and caveats (token/network still required for the quarantine query; the run won't appear in the dashboard or feed detection).flaky-tests/reference/cli-reference.mdx: added a--dry-runrow to theupload/testoptions table, linking to the new section.The behavior is covered by a new CLI test: trunk-io/analytics-cli#1155.
🤖 Generated with Claude Code