Repository navigation
docs(flaky-tests): download trunk-analytics-cli from trunk.io - #385
Merged
Merged
Conversation
Every snippet now resolves the latest version from https://trunk.io/releases/analytics-cli/prod/channel.json and downloads <version>/<asset> from the same host. The CLI reference notes that the GitHub releases still exist but are rate-limited, so they are not a reliable source for CI. Buildkite and Drone interpolate ${VAR} when the pipeline is parsed, so their snippets escape the runtime VERSION as $${VERSION}. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
dfrankland
marked this pull request as ready for review
October 2, 2026 21:00
dfrankland
requested review from
EliSchleifer,
TylerJang27,
acatxnamedvirtue,
mmatheson and
pat-trunk-io
October 2, 2026 21:00
acatxnamedvirtue
approved these changes
Oct 2, 2026
TylerJang27
approved these changes
Oct 3, 2026
TylerJang27
left a comment
Contributor
There was a problem hiding this comment.
Will be so nice when we have the trunk2 CLI "launcher"
This was referenced Oct 5, 2026
This branch was successfully deployed
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.
Points every Flaky Tests download instruction at Trunk's release host instead of GitHub releases.
Do not merge until trunk.io serves the CLI. The backfill and promotion from trunk-io/analytics-cli#1216 must have run first. Today
https://trunk.io/releases/analytics-cli/prod/channel.jsonreturns 403, so every snippet here would fail.What changed
SKUcode groups.&&on one line.sh '''…''', so the single quotes incut -d'"'survive Groovy.$${VERSION}. Both interpolate${VAR}when the pipeline is parsed, and would otherwise blank it.channel.json, and pinning a version (setVERSION). It adds one<Note>: releases are also on GitHub, but GitHub rate-limits downloads, so it is not a reliable source for CI.Checks
cut -d'"' -f4extracts the version from both{"latest":"x"}and{"latest": "x"}.mint devwas not run locally.🤖 Generated with Claude Code