Skip to content

fix(mcp): answer an unpublishable workflow input on tool updates as validation, and match bare-name alternatives titles - #9367

Merged
waleedlatif1 merged 2 commits into
stagingfrom
fix/release-review-mcp-update-and-alternatives
Oct 24, 2026
Merged

waleedlatif1 merged 2 commits into
stagingfrom
fix/release-review-mcp-update-and-alternatives

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

Type of Change

  • Bug fix

Testing

  • New app/(landing)/comparisons/library-links.test.ts: a bare-name alternatives title ranks Make first (fails on staging); a title with "Make" elsewhere does not get Make (fails if the name is simply added to the aliases).
  • New case in lib/mcp/orchestration/workflow-mcp-lifecycle.test.ts: a tool update hitting a reserved input name returns a validation result and writes nothing (fails on staging).
  • Targeted vitest on both files (9 pass), bun run lint, check:comment-hygiene, check:test-patterns, check:unused-exports, check:source-conventions, check:boundaries. Full suite, type-check and audits run in CI.

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing (new tests pass the test-audit authoring gate)
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

…alidation, and match bare-name alternatives titles

Updating a workflow MCP tool's parameter descriptions regenerated its schema without the validation translation the create and add paths use, so a reserved workflow input name returned an internal error instead of a validation failure naming the field. Both paths now share one helper.

The comparison library links scored a title naming a competitor's alternatives only through its mention aliases, which leave out a bare common-word name such as Make. The bare name now counts directly before "Alternatives", so a "Make Alternatives" title ranks first without reading "Make" elsewhere in a title as the competitor.
@vercel

vercel Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
docs Skipped Skipped Oct 24, 2026 6:47pm UTC

Request Review

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 4 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Heads up: you’ve reached your flex budget. Increase your flex budget or wait for usage to reset.

Turn on auto-fix | Re-trigger cubic

@greptile-apps

greptile-apps Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The changes since the previous review appear safe to merge.

Summary

The PR shares validation-error handling between MCP tool creation and updates, and recognizes bare competitor names directly before “Alternatives.”

  • Library titles match bare competitor names before “Alternatives.”
  • MCP tool updates return validation when a workflow input cannot be published.

Reviews (2) · Last reviewed commit: "test(library): type the comparison fixtu..." · Reviewed by Greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 4 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Heads up: you’ve reached your flex budget. Increase your flex budget or wait for usage to reset.

Turn on auto-fix | Re-trigger cubic

@waleedlatif1
waleedlatif1 merged commit 92ce843 into staging Oct 24, 2026
68 checks passed
@waleedlatif1
waleedlatif1 deleted the fix/release-review-mcp-update-and-alternatives branch October 24, 2026 19:04

This branch was previously deployed

1 inactive deployment
Preview — c2469064 Deployed Oct 24, 2026 by vercel[bot]
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