docs(changelog): master/develop as default stable branches, rendered webhook citations#157
Conversation
…webhook citations Bundled Flaky Tests entry covering two increments: - master and develop recognized as stable branches by default (trunk-io/trunk2#3555, #3556) - AI investigation webhook payloads render citation links in markdown_summary and facts[].content (trunk-io/trunk2#3592) TRUNK-18212. Date basis: latest source PR mergedAt (#3592, 2026-04-17). Wired: entry .mdx, docs.json, changelog/index.mdx, flaky-tests/changelog.mdx. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
Verification status (2026-05-29): Verified: customers can use this. Ready to publish.
Both halves of the bundled entry are live in production. Ready to publish. (Prior verdict was |
|
Code verification (2026-05-28): 5 confirmed / 0 contradicted / 0 ambiguous / 0 unverifiable
All five factual claims in the entry are confirmed against source. No corrections needed. (The Source #1 — master and develop are default stable branches (confirmed)File: static DEFAULT_STABLE_BRANCHES: LazyLock<Vec<String>> = LazyLock::new(|| {
vec![
String::from("main"),
String::from("master"),
String::from("develop"),Reasoning: The default list literally contains all three branch names. PR trunk2#3555 changed this from Source #2 — webhook event name (confirmed) type: "test_case.investigation_completed",
markdown_summary:
...
facts: [
{
fact_type: "GIT_BLAME",
content:Reasoning: The event definition uses the exact string Source #3 and #4 — markdown_summary and facts[].content render citations (confirmed)File: content: await renderFactWithCitations(fact, repoContext, params.readDb),
...
markdown_summary: markdownSummary,Reasoning: Source #5 — placeholder format simplified to (CITE:TAG) (confirmed)File: trunk2#3592 diff - "The test fails with a timeout in [Run #42](CITE:CI_LOGS:RUN_42). See [src/test.ts](CITE:CI_LOGS:TEST_FILE)."
+ "The test fails with a timeout in [Run #42](CITE:RUN_42). See [src/test.ts](CITE:TEST_FILE)."Reasoning: The PR's own test fixtures change the placeholder from |
|
Verification status (May 31, 2026): Verified: customers can use this. Ready to publish.
Ready to publish. Generated by Claude Code |
What shipped
Bundled Flaky Tests changelog entry covering two increments from this release window:
masteranddevelopare now recognized as stable branches by default (alongsidemain); uploads from them are classified as stable-branch uploads and the stable-branch setup banner is removed for those repos.test_case.investigation_completedAI investigation webhook now delivers fully rendered citation links inmarkdown_summaryandfacts[].content, replacing rawCITE:TAGplaceholders.Source
Wired into all four sites
changelog/2026-04-17-flaky-tests-stable-branches-webhook-citations.mdx(entry)docs.json(Changelog tab 2026 group)changelog/index.mdx(April 2026 section)flaky-tests/changelog.mdx(new April 2026 section)Docs link: https://docs.trunk.io/flaky-tests/get-started
🤖 Generated with Claude Code