Skip to content

docs(flaky-tests): document the MCP server's test collection support - #396

Merged
dfrankland merged 1 commit into
mainfrom
dylan/mcp-test-collections
Oct 6, 2026
Merged

dfrankland merged 1 commit into
mainfrom
dylan/mcp-test-collections

Conversation

@dfrankland

Copy link
Copy Markdown
Member

Overview

Documents the MCP server's test collection support from trunk-io/trunk2#6820.

Merge after trunk-io/trunk2#6820 has deployed to production. These pages describe behaviour that isn't live until then.

Changes

  • search-test: it now searches the repository's tests in its test collections as well. It has a new optional testCollectionShortId that searches one collection. A new table shows what gets searched for each migration status. New error messages are listed.
  • list-test-collections (new page): lists the collections a repository uploads to. Added to the MCP reference table and to the sidebar in docs.json.
  • investigate-ci-failure: it reads collection uploads, and an upload recorded for both the repository and a collection is read once. Three new messages are listed.
  • fix-flaky-test: a note that it doesn't support test collections yet, and the message a fully migrated organization gets.
  • Migrate to test collections: a new "AI agents and the MCP server" section covering what the MCP server reads while migrating and after.

Testing

  • mint broken-links reports no new broken links. Its output is identical with and without this change, and none of it is in the files touched here.
  • docs.json parses.

References

  • trunk-io/trunk2#6820
  • TRUNK-19979

🤖 Generated with Claude Code

- search-test searches test collections too, with a new
  testCollectionShortId to search one, and follows the org's migration
  status
- new list-test-collections tool, in the reference and the navigation
- investigate-ci-failure reads collection uploads, with its new messages
- fix-flaky-test does not support test collections yet, and says so for a
  fully migrated org
- the migration guide says what the MCP server reads while migrating and
  after

trunk-io/trunk2#6820

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@mintlify

mintlify Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Status Preview Updated
trunk 🟢 Ready View Preview Oct 6, 2026, 5:41 PM

@dfrankland
dfrankland marked this pull request as ready for review October 6, 2026 21:36
@dfrankland
dfrankland merged commit cc21432 into main Oct 6, 2026
3 checks passed
@dfrankland
dfrankland deleted the dylan/mcp-test-collections branch October 6, 2026 21:37

This branch was successfully deployed

1 active deployment
staging — 850b947a Deployed Oct 6, 2026 by mintlify[bot]
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