Skip to content

Conversation

@miguelangaranocurrents
Copy link
Collaborator

@miguelangaranocurrents miguelangaranocurrents commented Jan 30, 2026

Add the flaky query parameter to the currents-get-test-results MCP tool to achieve full parity with the OpenAPI specification.


Open in Cursor Open in Web


Summary by cubic

Added the flaky query parameter to the currents-get-test-results MCP tool to match the OpenAPI spec and enable filtering by flaky test results. This completes OpenAPI/MCP parity for the test results endpoint without breaking changes.

Written for commit 0ee4697. Summary will update on new commits.

- Added flaky boolean parameter to get-test-results.ts
- Matches OpenAPI spec for GET /test-results/{signature}
- All tests pass, TypeScript compilation successful

OpenAPI Parity Analysis:
- Analyzed all 27 REST API endpoints
- Verified full coverage: Actions (7), Projects (4), Runs (6), Instances (1), Spec Files (1), Tests (2), Test Results (1), Webhooks (5)
- Fixed only missing parameter: flaky filter for test results
- Confirmed all parameter types, enums, and naming match OpenAPI spec
- Preserved MCP-specific enhancements (fetchAll, optional date defaults)

Co-authored-by: miguel <miguel@currents.dev>
@cursor
Copy link

cursor bot commented Jan 30, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants