Skip to content

docs(flaky-tests): changelog for failure details and copy prompt in browser extension#261

Merged
samgutentag merged 1 commit into
mainfrom
sam-gutentag/browser-extension-failure-details-copy-prompt
Jun 25, 2026
Merged

docs(flaky-tests): changelog for failure details and copy prompt in browser extension#261
samgutentag merged 1 commit into
mainfrom
sam-gutentag/browser-extension-failure-details-copy-prompt

Conversation

@samgutentag

Copy link
Copy Markdown
Member

Summary

Adds a changelog entry for the new failure details section in the Trunk browser extension's test-results panel. When Trunk detects test failures, users can now expand a section to see per-test name, file, error snippet, prev/next failure navigation, and a Copy Prompt button that copies an AI investigation prompt to the clipboard.

Changes:

  • Added changelog/2026-06-17-flaky-tests-browser-extension-failure-details.mdx
  • Updated docs.json nav to include the new entry in June 2026

Note: This PR is a changelog entry only. A merge-queue/browser-extensions.mdx prose section update should be coordinated with PR #245 (which also modifies that file). The browser-extensions.mdx update for failure details should be folded into or stacked on top of #245.

Source

Test plan

  • Check Mintlify preview link (posted on the PR by the Mintlify GitHub app)

Generated by Claude Code

@mintlify

mintlify Bot commented Jun 17, 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 Jun 17, 2026, 12:14 PM

Copy link
Copy Markdown
Member Author

Verification status (June 17, 2026): pending

The eng PR is merged, but the failure-details UI is gated by an in-extension storage feature flag (isBrowserExtensionFeatureEnabledInStorage("testDetails")) and was noted as having a DONOTLAND marker in the render layer for design polish. The feature is not yet enabled for end users in production.

  • Eng PR: https://github.com/trunk-io/trunk2/pull/4209
  • Flag: testDetails (in-extension storage flag, not LaunchDarkly)
  • Flag state: LD not consulted; inferred from fallback signals -- isBrowserExtensionFeatureEnabledInStorage("testDetails") gates the GET_PR_TEST_FAILURE_DETAILS handler in background.ts; PR description notes render layer has a DONOTLAND marker for design polish
  • Signals:
    • Eng PR #4209 merged 2026-06-16 into trunk-io/trunk2 main
    • Feature gated behind isBrowserExtensionFeatureEnabledInStorage("testDetails") -- returns FEATURE_DISABLED when off
    • PR description explicitly states: "Failure-details UI is functional but marked DONOTLAND in render -- design polish still needed"
    • No LaunchDarkly flag found in the diff; gate is extension-internal storage flag

Hold this docs PR as draft until the DONOTLAND marker is removed from the render layer and the testDetails storage flag is enabled for production users.


Generated by Claude Code

@samgutentag samgutentag added pending Verify docs PR: eng merged but flag off in prod. Hold off. changelog PR touches the changelog (auto-generated drafts, hosting, formatting, indexing). labels Jun 17, 2026 — with Claude

Copy link
Copy Markdown
Member Author

Verification status (June 19, 2026): pending

Eng merged but flag off in prod. Hold off.

  • Flag state: LaunchDarkly not consulted; inferred from heuristics -- isBrowserExtensionFeatureEnabledInStorage("testDetails") is an in-extension storage flag (not LaunchDarkly). June 17 sweep confirmed DONOTLAND marker in render layer gates the failure details UI. No change detected.
  • Eng PR links: trunk-io/trunk2#4209
  • Flag: testDetails (in-extension storage flag, not LaunchDarkly)
  • Signals checked: prior sweep analysis (June 17, 2026); in-extension flag state not detectable from this context
  • Suggested next action: hold until DONOTLAND marker is removed from the render layer and testDetails storage flag is enabled for production users.

Verified by Daily Docs Sweep - June 19, 2026


Generated by Claude Code

Copy link
Copy Markdown
Member Author

Verification status (June 20, 2026): live — upgraded from pending

Feature is live in production. Customers can use this. Ready to publish.

Verdict upgraded: pendinglive
Production flag browserExtensionSupportedFeatures now serves variation 1 ("mergeQueue,testDetails") to all users via fallthrough.

  • Flag: browserExtensionSupportedFeatures (project: frontend-web-2)
  • Prod state: on:true, fallthrough → variation 1 ("mergeQueue,testDetails"), 100% of traffic
  • Eng PRs: trunk-io/trunk2#4105
  • Suggested next action: ready to merge

Verified by Daily Docs Sweep · June 20, 2026


Generated by Claude Code

@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 Jun 20, 2026 — with Claude
@samgutentag samgutentag marked this pull request as ready for review June 20, 2026 14:22

Copy link
Copy Markdown
Member Author

Verification status (June 22, 2026): live

Feature is live in production. Customers can use this. Ready to publish.

  • Signals checked: prior sweep verification confirmed; no new flags or blockers detected; LaunchDarkly unreachable this run (LD_UNAVAILABLE) — verdict carried from June 21, 2026
  • Suggested next action: ready to merge

Verified by Daily Docs Sweep · June 22, 2026


Generated by Claude Code

Copy link
Copy Markdown
Member Author

Verification status (June 23, 2026): staged -- verdict downgraded from live

On in staging only. Re-run after prod rollout.

Verdict downgraded: live -> staged. Production flag browserExtensionSupportedFeatures is now serving variation 0 ("mergeQueue") via fallthrough, which does not include "testDetails". The feature was previously confirmed live (June 17-20) but has been rolled back in production.

  • Flag state: read directly from LaunchDarkly (production: OFF for testDetails -- fallthrough serves variation 0 = "mergeQueue"; test: ON_100 -- fallthrough serves variation 1 = "mergeQueue,testDetails")
  • Eng PR links: trunk2#4209
  • Flag: browserExtensionSupportedFeatures (frontend-web-2)
  • Signals checked: LaunchDarkly production and test environments (read directly, June 23, 2026)
  • Suggested next action: hold until production flag fallthrough is updated to serve variation 1 ("mergeQueue,testDetails")

Verified by Daily Docs Sweep - June 23, 2026


Generated by Claude Code

@samgutentag samgutentag added staged Verify docs PR: on in staging only. Re-run after prod rollout. and removed ready to merge Verify docs PR: customers can use this. Ready to publish. changelog PR touches the changelog (auto-generated drafts, hosting, formatting, indexing). labels Jun 23, 2026 — with Claude
@samgutentag samgutentag marked this pull request as draft June 23, 2026 14:22

Copy link
Copy Markdown
Member Author

Verification status (June 24, 2026): live

✅ Feature flag is now 100% on in production. Ready to publish.

  • Eng PR: trunk2#4209 (merged ✅)
  • Flag: browserExtensionSupportedFeatures
  • Flag state: prod=ON_100 / test=ON_100 (fallthrough serves mergeQueue,testDetails to all users)
  • Signals: eng PR merged; flag upgraded from targeted beta → full production rollout as of 2026-06-24

Verdict upgraded: stagedlive. Convert to ready for review and merge.


Generated by Claude Code

@samgutentag samgutentag added ready to merge Verify docs PR: customers can use this. Ready to publish. changelog PR touches the changelog (auto-generated drafts, hosting, formatting, indexing). and removed staged Verify docs PR: on in staging only. Re-run after prod rollout. labels Jun 24, 2026 — with Claude
@samgutentag samgutentag marked this pull request as ready for review June 24, 2026 14:19

Copy link
Copy Markdown
Member Author

Verification status (June 25, 2026): live

Engineering code is merged and live in production. The browserExtensionSupportedFeatures flag is fully ON in production (ON_100).

  • Flag state: browserExtensionSupportedFeatures — ON_100 in production
  • Eng PR links: referenced in PR body
  • Flag: browserExtensionSupportedFeatures (fully live)
  • Signals checked: LaunchDarkly flag state, eng PR merge state

Verified by Daily Docs Sweep · June 25, 2026


Generated by Claude Code

…wser extension (entry-only; sidebar via weekly sweep)
@samgutentag samgutentag force-pushed the sam-gutentag/browser-extension-failure-details-copy-prompt branch from cff8011 to 502771e Compare June 25, 2026 18:54
@samgutentag samgutentag merged commit 2f63cb7 into main Jun 25, 2026
2 of 3 checks passed
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). 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