You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR adds documentation pages for the /v0/run API endpoint to the Bencher Console. It follows the existing pattern used by other API doc sections (organizations, projects, users, server).
Verdict: Looks Good
The changes are straightforward and consistent with the existing codebase patterns. All four new page files ([slug].astro, index.astro for both docs/ and [lang]/docs/) are near-identical copies of the organizations equivalent, just swapping Collection.api_organizations → Collection.api_run. The collection enum, content config, and menu updates are all minimal and correct.
Minor Issues
Inconsistent indentation in ApiList.astro (lines 27-31): The new api_run entry uses 2-space indentation while the existing entries below it use tab indentation. This will likely be caught by Biome but worth fixing for consistency.
Commit message is terse: run_api doesn't follow a conventional format (e.g., "Add Run API documentation pages"). Minor nit given this is a docs-only change.
No Issues Found
Pattern compliance: All new files match the existing API doc page structure exactly.
Collection wiring: collection.ts enum, ApiCollections array, collectionPath switch, and content.config.ts are all updated consistently.
Menu integration: Both ApiList.astro and DocsMenu.astro correctly add the run collection at the top of the API section with the 1 + apiRunCollection?.length counting pattern.
Content definition (run.mdx): Frontmatter matches the schema used by other API content files with path, method, headers, and cli fields.
No security concerns: Static page generation only, no dynamic user input handling.
No performance concerns: One additional getCollection() call at build time, negligible impact.
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
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.
This changeset adds
/v0/runAPI docs, iebencher run.