Skip to content

docs(flaky-tests): document test_case.investigation_completed webhook event#558

Draft
samgutentag wants to merge 1 commit intomainfrom
sam-gutentag/investigation-completed-webhook-event
Draft

docs(flaky-tests): document test_case.investigation_completed webhook event#558
samgutentag wants to merge 1 commit intomainfrom
sam-gutentag/investigation-completed-webhook-event

Conversation

@samgutentag
Copy link
Copy Markdown
Member

Summary

  • Adds a new reference page for the test_case.investigation_completed webhook event, documenting the full payload schema including markdown_summary, facts[], repository, and test_case fields
  • Updates the webhooks README to link to the new page
  • Adds the page to summary.md (table of contents)

Context

Shipped in v156 (trunk-io/trunk2#3592): the markdown_summary field and facts[].content in the investigation_completed webhook payload now contain rendered citation links (actual URLs) instead of raw CITE:TAG placeholders. This makes the event payload directly usable for Slack messages, ticket creation, etc.

Previously there was no docs page for this event at all.

Test plan

  • Verify new page renders correctly in GitBook preview
  • Check all internal links resolve (investigation-completed-event.md, README.md, summary.md)
  • Confirm example JSON payload fields match the Zod schema in trunk2

https://claude.ai/code/session_01B2TQ276xj88AoXyrgaahah

… event

The investigation_completed webhook event now delivers rendered citation
links in markdown_summary and facts[].content (shipped in v156). There was
no existing docs page for this event.

Shipped in v156 via trunk-io/trunk2#3592.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

https://claude.ai/code/session_01B2TQ276xj88AoXyrgaahah
@trunk-staging-io
Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

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.

2 participants