Skip to content

Parity: currents-mcp ↔ Currents API#58

Open
github-actions[bot] wants to merge 6 commits intomainfrom
cursor/currents-mcp-parity-7x4m9k
Open

Parity: currents-mcp ↔ Currents API#58
github-actions[bot] wants to merge 6 commits intomainfrom
cursor/currents-mcp-parity-7x4m9k

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Feb 13, 2026

Complete API parity verification. All 27 endpoints match OpenAPI spec. See PARITY_VERIFICATION.md for details.


Summary by cubic

Achieved full parity with the Currents API (27 endpoints). Documented verification in PARITY_VERIFICATION.md, added COMPLETION_SUMMARY.md, and included SLACK_NOTIFICATION.md with requirements and a message template.

  • New Features

    • GitHub Actions workflow to auto-create PRs for branches matching cursor/currents-mcp-parity-*.
  • Dependencies

    • Bump @currents/mcp in package-lock.json from 2.2.4 to 2.2.6.

Written for commit bab27d6. Summary will update on new commits.

- Verified 100% parity with Currents REST API (27/27 endpoints)
- Documented all parameter schemas and request bodies
- Confirmed test suite passes (35/35 tests)
- Validated TypeScript build succeeds
- Added detailed parity matrix and methodology
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 3 files

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them.


<file name=".github/workflows/auto-pr-parity-branch.yaml">

<violation number="1" location=".github/workflows/auto-pr-parity-branch.yaml:24">
P2: `jq '.[0].number'` returns `null` for an empty list, so the script thinks a PR already exists and exits. Use a `// empty` fallback so the variable is truly empty when no PR is found.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
EXISTING_PR=$(gh pr list --head "${{ github.ref_name }}" --json number --jq '.[0].number' || echo "")
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot Feb 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: jq '.[0].number' returns null for an empty list, so the script thinks a PR already exists and exits. Use a // empty fallback so the variable is truly empty when no PR is found.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At .github/workflows/auto-pr-parity-branch.yaml, line 24:

<comment>`jq '.[0].number'` returns `null` for an empty list, so the script thinks a PR already exists and exits. Use a `// empty` fallback so the variable is truly empty when no PR is found.</comment>

<file context>
@@ -0,0 +1,35 @@
+        env:
+          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+        run: |
+          EXISTING_PR=$(gh pr list --head "${{ github.ref_name }}" --json number --jq '.[0].number' || echo "")
+          
+          if [ -n "$EXISTING_PR" ]; then
</file context>
Fix with Cubic

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.

1 participant