Repository navigation
docs(flaky-tests): rename the v2 test-cases reference to tests - #389
Merged
Merged
Conversation
Resyncs openapi-v2.json for trunk-io/trunk2#6695, which renames the Flaky Tests v2 surface: /v2/test-cases → /v2/tests, testCaseId → testId, TestCase → Test, repoId → repositoryId, testCaseCount → testCount. - docs.json: the "API reference (v2)" group lists the /v2/tests paths. - api-reference.mdx: the cards link to the regenerated tests/... pages, and the comparison table uses the new endpoint names. The resync also brings in spec changes already on trunk2 main since the last sync. Every v2 page and deep link still resolves against it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
POST /v2/tests/{testId}/ticket was already in the v2 nav, but the Flaky
Tests API page had no card for it and its comparison table said the
collection API had no way to link a ticket.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
|
Docs PR opened: #393 Added an October 5 changelog post covering the Flaky Tests v2 API rename from "test cases" to "tests". |
This was referenced Oct 5, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The docs side of trunk-io/trunk2#6695, which renames the Flaky Tests v2 API from "test cases" to "tests":
/v2/test-cases→/v2/tests,testCaseId→testId,TestCase→Test,repoId→repositoryId,testCaseCount→testCount.Changes
openapi-v2.json: resynced from trunk2. The diff is large because docs2's copy was already behind trunk2main(it had none of the newer CI schemas, for example). Only pages listed indocs.jsonrender, so that adds no new pages.docs.json: the Flaky Tests "API reference (v2)" group now lists the five/v2/tests…operations instead of/v2/test-cases….flaky-tests/reference/api-reference.mdx:…/v2/testcases/get-a-test-caseis now…/v2/tests/get-a-test, and so on. The comparison table and the intro text use the new names.POST /v2/tests/{testId}/ticket, even though it was already in the nav, and its table said the collection API had "no equivalent yet". It now has the card, and the table names the endpoint.Not changed
flaky-tests/reference/mcp-reference/fix-flaky-test.mdxdocuments the MCP tool's owntestCaseIdparameter, which the rename didn't touch.changelog/2025-04-25-linear-integration.mdxmentionstest-casesonly in a dashboard link anchor.Checks
docs.json, merge queue included, exist in the new spec..mdxfiles matches a page the new spec generates.docs.jsonis valid JSON.🤖 Generated with Claude Code