Document flaky-tests API conventions and pagination#57
Open
samgutentag wants to merge 1 commit into
Open
Conversation
…ation, Bundle Upload ID Expand the Flaky Tests API reference index page with an "API conventions" section covering behavior that applies across endpoints. Sourced from recurring customer questions: page_token misuse returning 500s, "missing" tests that were actually on later pages, rate-limit expectations for polling automation, and webhook-to-API immediacy. Also documents three things that weren't surfaced anywhere in narrative form: Bundle Upload IDs are support-only, auto-analysis has a default monthly cap during Beta, and the UI's GraphQL endpoint is private. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
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.
Summary
flaky-tests/reference/api-reference.mdxcovering behavior that applies across endpointspage_tokenpagination with a working curl example and the "first call → omit, subsequent → passnext_page_token" ruleWhy
Sourced from customer feedback mining (cluster
api-rate-limits-and-pagination, verdictpartial, 7 pairs across 6 customers). The API reference is a card index; conventions likepage_tokenpagination and rate limits are documented in OpenAPI specs but never in narrative form, so customers hit recurring issues (500 on misusedpage_token, "missing" tests that are actually on page 2, no surfaced answer to "what's the rate-limit ceiling?").Items flagged for review
trunk-analytics-cli uploadspecifically as the source or keep it generic.get-test-detailstimeout issue in March and said a fix was rolling out — confirm shipped (otherwise this PR should not be merged without addressing) or leave omitted if the fix is in production and there's nothing actionable for readers.Customer signal
api-rate-limits-and-pagination(verdict: partial, 7 pairs / 6 customers)findings/clusters/api-rate-limits-and-pagination.json):