Skip to content

ci: upload with analytics-uploader@main and a v2 API key - #86

Merged
trunk-io[bot] merged 1 commit into
mainfrom
tylerbeebe/uploader-main-v2-upload-token
Nov 19, 2026
Merged

trunk-io[bot] merged 1 commit into
mainfrom
tylerbeebe/uploader-main-v2-upload-token

Conversation

@acatxnamedvirtue

Copy link
Copy Markdown
Contributor

Moves both test-result uploads (pr.yaml, main.yaml) from the @v2 pin back to trunk-io/analytics-uploader@main, which is v3 since trunk-io/analytics-uploader#158.

  • Credentials: token: ${{ secrets.TRUNK_PROD_V2_TEST_UPLOAD_TOKEN }}, a trunk v2 API key with Upload test results. This repo is public, so the org-level secret doesn't reach it: it needs a repo-level secret with this name. v3 refuses the organization token in TRUNK_PROD_ORG_API_TOKEN.
  • Test collection: test-collection-id: HilUwBm9. v3 requires one.
  • CLI version: unset, so v3 runs the latest analytics-cli 1.x from channel-1.json (1.0.0 today). This repo uploads to production, so it needs no TRUNK_API_URL.

Merge after the repo secret is added. Until then the upload fails with "Missing token". The steps have continue-on-error, so the jobs still pass, but nothing uploads.

🤖 Generated with Claude Code

…ection

analytics-uploader's main is v3, which takes only a v2 API key and
requires a test collection.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@trunk-io

trunk-io Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

😎 Merged successfully - details.

@trunk-io
trunk-io Bot merged commit 442c343 into main Nov 19, 2026
4 checks passed
@trunk-io
trunk-io Bot deleted the tylerbeebe/uploader-main-v2-upload-token branch November 19, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant