Skip to content

Salesforce schema improvements#368

Merged
Selinali01 merged 1 commit into
mainfrom
sf_fix
Apr 28, 2026
Merged

Salesforce schema improvements#368
Selinali01 merged 1 commit into
mainfrom
sf_fix

Conversation

@Selinali01
Copy link
Copy Markdown
Contributor

@Selinali01 Selinali01 commented Apr 28, 2026

Summary

Related Issues

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Refactor
  • New Bubble Integration
  • Other (please describe):

Checklist

  • My code follows the code style of this project
  • I have added appropriate tests for my changes
  • I have run pnpm check and all tests pass
  • I have tested my changes locally
  • I have linked relevant issues

Screenshots (Required)

For New Bubble Integrations

📋 Integration Flow Tests: When creating a new bubble, you must write an integration flow test that exercises all operations end-to-end in realistic scenarios—including edge cases. This flow should be runnable in bubble studio and return structured results tracking each operation's success/failure with details. See packages/bubble-core/src/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.ts for a complete reference implementation.

⚠️ If your integration requires API credits for testing, please reach out to the team for test credentials.

  • Integration flow test (.integration.flow.ts) covers all operations
  • Screenshots showing full test results in Bubble Studio attached above

Additional Context

Summary by CodeRabbit

  • New Features

    • Added Salesforce object describe operation to retrieve comprehensive field metadata including field names, labels, types, and picklist values for any Salesforce object.
    • Added Salesforce list objects operation to discover queryable objects in your Salesforce instance with optional filtering for custom objects only.
  • Chores

    • Version bump to 0.1.320.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 28, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: c0d9dd26-30d4-49ab-8d7f-c0b5c6b29e3f

📥 Commits

Reviewing files that changed from the base of the PR and between 351f531 and c7b24ae.

📒 Files selected for processing (10)
  • packages/bubble-core/package.json
  • packages/bubble-core/src/bubbles/service-bubble/salesforce/salesforce.integration.flow.ts
  • packages/bubble-core/src/bubbles/service-bubble/salesforce/salesforce.schema.ts
  • packages/bubble-core/src/bubbles/service-bubble/salesforce/salesforce.ts
  • packages/bubble-runtime/package.json
  • packages/bubble-scope-manager/package.json
  • packages/bubble-shared-schemas/package.json
  • packages/create-bubblelab-app/package.json
  • packages/create-bubblelab-app/templates/basic/package.json
  • packages/create-bubblelab-app/templates/reddit-scraper/package.json

📝 Walkthrough

Walkthrough

The PR introduces two new Salesforce operations (describe_object and list_objects) with corresponding schema definitions, implementations, and integration tests, alongside version bumps across multiple packages from 0.1.319 to 0.1.320.

Changes

Cohort / File(s) Summary
Salesforce Operations
packages/bubble-core/src/bubbles/service-bubble/salesforce/salesforce.ts, salesforce.schema.ts, salesforce.integration.flow.ts
Added describe_object and list_objects operations with Zod schema contracts, REST API implementations for field/object introspection, and integration test entries.
Package Version Bumps
packages/bubble-core/package.json, packages/bubble-runtime/package.json, packages/bubble-scope-manager/package.json, packages/bubble-shared-schemas/package.json, packages/create-bubblelab-app/package.json, packages/create-bubblelab-app/templates/basic/package.json, packages/create-bubblelab-app/templates/reddit-scraper/package.json
Incremented package versions from 0.1.319 to 0.1.320 across ecosystem packages.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • PR #335: Extends the Salesforce service bubble with the same integration files to add describe_object and list_objects operations alongside existing Salesforce integrations.
  • PR #286: Performs similar package version bumping across bubble-core, bubble-runtime, and related packages.
  • PR #306: Modifies package version fields in bubble-core and other workspace packages.

Poem

🐰 Salesforce objects now revealed so clear,
Fields described and lists appear!
Version bumps hop through the trees,
New operations flow with ease,
Bubble magic, bold and bright!

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch sf_fix

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Selinali01 Selinali01 merged commit f5d17e7 into main Apr 28, 2026
1 of 3 checks passed
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