Skip to content

fix(blocks): output conditions match what each operation's tool returns - #10414

Merged
waleedlatif1 merged 1 commit into
stagingfrom
fix/block-output-conditions
Nov 25, 2026
Merged

waleedlatif1 merged 1 commit into
stagingfrom
fix/block-output-conditions

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

  • Some block output conditions excluded outputs the selected operation's tool actually returns, so the output picker and the workflow SDK types dropped valid references (e.g. a Spotify album's tracks)
  • Fixed every mismatch: Spotify (get_album tracks/artists, get_track artists, total/next on six paginated operations), Excel v2 range on clear/format, Vercel verified on add/get domain and events/url on webhooks, Notion type on retrieve user, SES messageId on get suppressed destination
  • New registry check in blocks.test.ts: for every operation dropdown, an output the operation's tool declares must not be excluded by its condition (tools shared across operations are skipped, since they declare the union)

Type of Change

  • Bug fix

Testing

  • New check failed on staging with 34 mismatches, passes after the fix
  • apps/sim blocks + workflow code tests (1762), workflow-sdk tests, check-block-registry, type-check, lint, generate

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)

@vercel

vercel Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
docs Ready Ready Preview Nov 25, 2026 8:02pm 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 7 files

Confidence score: 5/5

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

Turn on auto-fix | Re-trigger cubic

@greptile-apps

greptile-apps Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · The PR appears safe to merge.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Updates block output conditions to include fields returned by the selected tools.

  • Spotify output choices now include album, track, and page results.
  • Vercel output choices include webhook details and domain status.
  • Notion user lookups now expose their person-or-bot type.
  • Excel range results are selectable after clear and format operations.
  • SES suppression lookups now expose the related message ID.

Reviews (1) · Last reviewed commit: "fix(blocks): output conditions match wha..." · Reviewed by Greptile

@waleedlatif1
waleedlatif1 merged commit 5fb4b27 into staging Nov 25, 2026
87 checks passed

This branch was successfully deployed

1 active deployment
Preview — 08012e98 Deployed Nov 25, 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