Skip to content

docs(changelog): Flaky Tests fork PR uploads without sharing org token#153

Merged
samgutentag merged 1 commit into
mainfrom
sam-gutentag/changelog-flaky-tests-fork-pr-uploads
Jun 13, 2026
Merged

docs(changelog): Flaky Tests fork PR uploads without sharing org token#153
samgutentag merged 1 commit into
mainfrom
sam-gutentag/changelog-flaky-tests-fork-pr-uploads

Conversation

@samgutentag

Copy link
Copy Markdown
Member

What shipped

A per-repo Fork PR Uploads toggle for Flaky Tests (Settings > Repositories > [repo] > Flaky Tests). Enabling it mints a non-secret 8-character public repo identifier that fork PR workflows send on the X-Trunk-Public-Repo-Id header instead of the org API token. Uploads are gated by two independent checks: per-repo opt-in plus GitHub run verification.

Source

  • Eng PR: trunk-io/trunk2#3908 (merged 2026-05-18)
  • Linear: TRUNK-18349 (no absorbed duplicates)

Date basis

Entry date 2026-05-18 = mergedAt of the source eng PR.

Wired files (4 sites)

  • changelog/2026-05-18-flaky-tests-fork-pr-uploads.mdx (entry)
  • docs.json (Changelog 2026 nav group)
  • changelog/index.mdx (May 2026 Update block)
  • flaky-tests/changelog.mdx (product index Update block)

Verification notes

Header name X-Trunk-Public-Repo-Id and the 8-character alphanumeric identifier are both confirmed against trunk2#3908 (TRD + short-id.ts, same alphabet/length as test-collection short IDs). Note: trunk2#3908 ships only the frontend toggle + DB config; the header acceptance on the upload/quarantine endpoints lives in the legacy api.trunk.io monolith and analytics-cli, listed as out-of-scope cross-repo TODOs. Kept as a draft pending confirmation those land in production.

🤖 Generated with Claude Code

@mintlify

mintlify Bot commented May 29, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
trunk 🟢 Ready View Preview May 29, 2026, 5:41 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@samgutentag samgutentag added changelog PR touches the changelog (auto-generated drafts, hosting, formatting, indexing). pending Verify docs PR: eng merged but flag off in prod. Hold off. code-verified verify-docs-against-code: all factual claims confirmed in source. labels May 29, 2026
@samgutentag samgutentag added ready to merge Verify docs PR: customers can use this. Ready to publish. and removed pending Verify docs PR: eng merged but flag off in prod. Hold off. labels May 30, 2026 — with Claude
@samgutentag samgutentag force-pushed the sam-gutentag/changelog-flaky-tests-fork-pr-uploads branch from 7b29c4d to 51dab81 Compare June 1, 2026 20:32
@samgutentag samgutentag marked this pull request as ready for review June 7, 2026 14:11
@samgutentag samgutentag added live and removed live labels Jun 9, 2026 — with Claude
@samgutentag samgutentag force-pushed the sam-gutentag/changelog-flaky-tests-fork-pr-uploads branch from 51dab81 to 7395703 Compare June 11, 2026 23:11
@samgutentag samgutentag force-pushed the sam-gutentag/changelog-flaky-tests-fork-pr-uploads branch from 7395703 to 9909ca6 Compare June 11, 2026 23:15
@samgutentag samgutentag force-pushed the sam-gutentag/changelog-flaky-tests-fork-pr-uploads branch from 9909ca6 to 65ce7f6 Compare June 12, 2026 17:18
@samgutentag samgutentag force-pushed the sam-gutentag/changelog-flaky-tests-fork-pr-uploads branch from 65ce7f6 to 8299643 Compare June 12, 2026 17:24
@samgutentag samgutentag force-pushed the sam-gutentag/changelog-flaky-tests-fork-pr-uploads branch from 8299643 to bd8977c Compare June 12, 2026 17:27
@samgutentag samgutentag force-pushed the sam-gutentag/changelog-flaky-tests-fork-pr-uploads branch from bd8977c to b7d9663 Compare June 12, 2026 17:56
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@samgutentag samgutentag force-pushed the sam-gutentag/changelog-flaky-tests-fork-pr-uploads branch from b7d9663 to e6418e8 Compare June 13, 2026 04:19
@samgutentag samgutentag merged commit 9d713d0 into main Jun 13, 2026
3 checks passed
@samgutentag samgutentag deleted the sam-gutentag/changelog-flaky-tests-fork-pr-uploads branch June 13, 2026 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog PR touches the changelog (auto-generated drafts, hosting, formatting, indexing). code-verified verify-docs-against-code: all factual claims confirmed in source. ready to merge Verify docs PR: customers can use this. Ready to publish.

Development

Successfully merging this pull request may close these issues.

1 participant