Skip to content

Conversation

@siddhartha10-krispcall
Copy link
Contributor

@siddhartha10-krispcall siddhartha10-krispcall commented Aug 6, 2025

Resolves #17943

The current url for the production is invalid thus updated a new url.

Summary by CodeRabbit

Summary by CodeRabbit

  • Bug Fixes
    • Updated the API request base URL to ensure proper connectivity with the latest service endpoint.
  • Chores
    • Incremented version numbers across multiple KrispCall actions and sources for maintenance and consistency.

@vercel
Copy link

vercel bot commented Aug 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
pipedream-docs-redirect-do-not-edit ⬜️ Ignored (Inspect) Aug 6, 2025 2:25pm

@vercel
Copy link

vercel bot commented Aug 6, 2025

@siddhartha10-krispcall is attempting to deploy a commit to the Pipedreamers Team on Vercel.

A member of the Team first needs to authorize it.

@adolfo-pd adolfo-pd added the User submitted Submitted by a user label Aug 6, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Aug 6, 2025

Walkthrough

The change updates the base URL for API requests in the _baseUrl() method within the KrispCall application component, switching from the "automationapi" subdomain to "app" in the KrispCall domain. Additionally, version numbers were incremented in multiple KrispCall action and source components, as well as in the package manifest. No other logic, error handling, or exported interfaces were altered.

Changes

Cohort / File(s) Change Summary
KrispCall API Base URL Update
components/krispcall/krispcall.app.mjs
Changed the return value of the _baseUrl() method to use a new base URL, updating the subdomain from automationapi to app. No other code changes were made.
Version Bumps in Action Components
components/krispcall/actions/add-contact/add-contact.mjs, components/krispcall/actions/delete-contact/delete-contact.mjs, components/krispcall/actions/new-mms/new-mms.mjs, components/krispcall/actions/new-sms/new-sms.mjs
Incremented the version property from "0.0.5" to "0.0.6" in each action component's default export object. No other changes.
Version Bumps in Source Components
components/krispcall/sources/new-call-instant/new-call-instant.mjs, components/krispcall/sources/new-contact-instant/new-contact-instant.mjs, components/krispcall/sources/new-sms-or-mms-instant/new-sms-or-mms-instant.mjs, components/krispcall/sources/new-voicemail-instant/new-voicemail-instant.mjs
Incremented the version property in each source component's default export object (mostly from "0.0.4" or "0.0.5" to "0.0.5" or "0.0.6"). No other changes.
Package Version Update
components/krispcall/package.json
Updated the package version from "0.2.3" to "0.2.4". No other changes to package metadata or content.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Assessment against linked issues

Objective Addressed Explanation
Update Krispcall app to use new base URL https://app.krispcall.com/api/v3/platform/pipedream (#17943)

Assessment against linked issues: Out-of-scope changes

Code Change Explanation
Version increments in multiple action and source components (components/krispcall/actions/*, components/krispcall/sources/*) These version bumps are not explicitly requested or described in the linked issue #17943, which only specifies updating the base URL.

Poem

A hop and a skip, a URL switch,
From "automation" to "app"—a seamless pitch!
The code stays neat, the change is small,
Just one new path for KrispCall.
Versions rise with quiet cheer,
New steps forward, crystal clear.
🐇✨

Note

⚡️ Unit Test Generation is now available in beta!

Learn more here, or try it out under "Finishing Touches" below.


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6d77548 and 2a83b52.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (9)
  • components/krispcall/actions/add-contact/add-contact.mjs (1 hunks)
  • components/krispcall/actions/delete-contact/delete-contact.mjs (1 hunks)
  • components/krispcall/actions/new-mms/new-mms.mjs (1 hunks)
  • components/krispcall/actions/new-sms/new-sms.mjs (1 hunks)
  • components/krispcall/package.json (1 hunks)
  • components/krispcall/sources/new-call-instant/new-call-instant.mjs (1 hunks)
  • components/krispcall/sources/new-contact-instant/new-contact-instant.mjs (1 hunks)
  • components/krispcall/sources/new-sms-or-mms-instant/new-sms-or-mms-instant.mjs (1 hunks)
  • components/krispcall/sources/new-voicemail-instant/new-voicemail-instant.mjs (1 hunks)
✅ Files skipped from review due to trivial changes (9)
  • components/krispcall/actions/new-mms/new-mms.mjs
  • components/krispcall/actions/delete-contact/delete-contact.mjs
  • components/krispcall/sources/new-contact-instant/new-contact-instant.mjs
  • components/krispcall/package.json
  • components/krispcall/actions/add-contact/add-contact.mjs
  • components/krispcall/sources/new-sms-or-mms-instant/new-sms-or-mms-instant.mjs
  • components/krispcall/sources/new-voicemail-instant/new-voicemail-instant.mjs
  • components/krispcall/actions/new-sms/new-sms.mjs
  • components/krispcall/sources/new-call-instant/new-call-instant.mjs
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@pipedream-component-development
Copy link
Collaborator

Thank you so much for submitting this! We've added it to our backlog to review, and our team has been notified.

@pipedream-component-development
Copy link
Collaborator

Thanks for submitting this PR! When we review PRs, we follow the Pipedream component guidelines. If you're not familiar, here's a quick checklist:

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
components/krispcall/krispcall.app.mjs (1)

80-82: Clean up outdated dev-URL comment

The commented dev URL references qa.safefamilyapp.com, a different product.
For clarity, either update it to KrispCall’s actual staging endpoint or drop the line altogether:

-// Base URL for Development
-//   return "https://qa.safefamilyapp.com/api/v3/platform/pipedream";
+// Base URL for Staging / QA (uncomment when needed)
+// return "https://qa.krispcall.com/api/v3/platform/pipedream";
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between adee904 and 6d77548.

📒 Files selected for processing (1)
  • components/krispcall/krispcall.app.mjs (1 hunks)
🔇 Additional comments (1)
components/krispcall/krispcall.app.mjs (1)

76-79: Verify the new production base URL is reachable and whitelisted

The hard-coded host has been switched from automationapi.krispcall.com to app.krispcall.com.
Before merging, please confirm:

  1. app.krispcall.com/api/v3/platform/pipedream is live and accepts the same endpoints.
  2. Any API-key, CORS, or IP-allowlist rules have been updated to include Pipedream’s egress IPs hitting the new domain.
  3. No other components in the repo still point to the old host (quick ripgrep check below).
#!/bin/bash
# Search for lingering references to the old production host
rg 'automationapi\.krispcall\.com'

@vunguyenhung vunguyenhung merged commit 1daaf61 into PipedreamHQ:master Aug 7, 2025
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

User submitted Submitted by a user

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Update Krispcall app and components to use new URL

5 participants