Skip to content

fix(integrations): address release review findings on the integration sweep - #10039

Merged
waleedlatif1 merged 10 commits into
stagingfrom
fix/release-integration-review
Nov 14, 2026
Merged

waleedlatif1 merged 10 commits into
stagingfrom
fix/release-integration-review

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

Fixes the release review findings on the v0.9.58 integration sweep (#10027–#10031, #10035, #10036). Each finding was re-verified by an independent subagent before fixing.

Agent tool calls resolve their operation (QuickBooks, SAP Concur, Attio, Intercom, Notion, Box, HubSpot)

  • An agent tool stores its operation outside params and passes it only as context.operation. These mappers branched on params.operation, so on agent calls the effects were:
    • SAP Concur: every call threw "Unsupported SAP Concur operation" and fell back to raw params, which dropped receipt files.
    • QuickBooks: a "yes" void confirmation reached the tool as a string, so voids always failed.
    • Attio: a picked list was dropped.
    • Intercom and Notion: booleans and JSON were left uncoerced.
  • They now use params.operation ?? context?.operation. Every branch that now runs was checked for model arguments it could overwrite:
    • QuickBooks keeps the tool-row file on attachments.
    • Intercom accepts a boolean true.
    • Notion accepts already-parsed filter/sorts.
  • Canvas runs always carry params.operation, so they behave exactly as before.
  • This stays per-block opt-in on purpose. Injecting the operation centrally would turn on overwrites that are dormant today in about 200 mappers nobody has checked.

Validation and request fixes

  • Asana: limit: 0 now gets a 400 instead of silently falling back to the default.
  • Intercom: snooze times must be positive whole Unix timestamps. Ticket snooze uses the same check.
  • Mailchimp:
    • templateId must be a positive integer, where it used to be sent as null for non-numeric input.
    • Batch operations is typed json, so agents can send arrays.
    • Update Audience gets its own email type dropdown with "Keep current" first. Saved workflows keep their stored value, and a null value no longer becomes false.
  • Airtable: pageSize is clamped to the documented 1–100.
  • Dropbox: List Folder path and Search query stop being required once a continuation cursor is set.

Cleanup

  • The two identical Intercom mappers are now one mapIntercomParams.
  • The shared toBooleanFromInput and parseOptionalJsonInput helpers replace hand-written copies.
  • Duplicated test helpers are merged.

Type of Change

  • Bug fix

Testing

  • New regression tests for every fix: QuickBooks, SAP Concur, Attio, Intercom, Notion, Dropbox, Asana, Mailchimp, Airtable. Each was confirmed to fail on the pre-fix code.
  • Affected suites: 723 tests across 92 files.
  • check-block-registry, check:tool-metadata, check:docs, check:integration-catalog, check:explicit-any (baseline shrunk), check:test-patterns, biome.
  • An independent audit simulated agent tool calls for every operation of every touched block against base and branch trees, and found no model argument overwritten.

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)

…Mailchimp template ids, clamp Airtable page size, accept Mailchimp batch arrays, and keep the Mailchimp email type option on update
… SAP Concur, Attio, Intercom, Notion, Box, and HubSpot mappers
…oolean and JSON input helpers, and drop duplicated test helpers
@vercel

vercel Bot commented Nov 14, 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 Nov 14, 2026 6:15am 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.

All reported issues were addressed across 27 files

Reply with feedback, questions, or to request a fix.

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/blocks/blocks/quickbooks.ts Resolved
Comment thread apps/sim/tools/airtable/list_records.ts Resolved
Comment thread apps/sim/blocks/blocks/intercom.ts Resolved
Comment thread apps/sim/blocks/blocks/dropbox.ts Resolved
Comment thread apps/sim/blocks/blocks/dropbox.ts Resolved
Comment thread apps/sim/blocks/blocks/asana.ts Resolved
@greptile-apps

greptile-apps Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[High impact] The PR appears safe to merge; no blocking issues remain.

Summary

The PR fixes integration parameter mapping, input checks, and dropdown defaults.

  • Agent calls now reach the selected integration operation.
  • Intercom accepts only positive whole-number snooze times.
  • Intercom and Pipedrive show “No change” when an operation is unknown.
  • Asana keeps a supplied zero limit for request validation.
  • Airtable list requests keep page sizes between 1 and 100.
  • Dropbox continuation requests no longer need the starting path or query.
  • Mailchimp audience choices default differently for creating and updating.
  • Mailchimp checks campaign template IDs and accepts batch operations as JSON.

Reviews (7) · Last reviewed commit: "fix(asana): treat a whitespace-only limi..." · Reviewed by Greptile

Comment thread apps/sim/blocks/blocks/mailchimp.ts Resolved
… and tighten presence checks for Intercom, Airtable, Dropbox, and QuickBooks inputs
@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 Nov 14, 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.

All reported issues were addressed across 27 files

Reply with feedback, questions, or to request a fix.

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/blocks/blocks/intercom.ts Resolved
Comment thread apps/sim/blocks/blocks/mailchimp.ts Resolved
…ation's first option and validate the Intercom ticket snooze on tool calls
@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 Nov 14, 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.

All reported issues were addressed across 28 files

Reply with feedback, questions, or to request a fix.

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/blocks/blocks/mailchimp.ts Resolved
Comment thread apps/sim/blocks/blocks/mailchimp.ts Resolved
…urrent outside create, and default an unset create value to true
@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 Nov 14, 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 30 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

@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 Nov 14, 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 32 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

…create, drop its block-level required, and keep a zero Asana limit for validation
@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 Nov 14, 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.

All reported issues were addressed across 33 files

Reply with feedback, questions, or to request a fix.

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/blocks/blocks/asana.ts Resolved
@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 Nov 14, 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 33 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

@waleedlatif1
waleedlatif1 merged commit e4d8673 into staging Nov 14, 2026
83 checks passed

This branch was previously deployed

1 inactive deployment
Preview — 39b93580 Deployed Nov 14, 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