-
-
Notifications
You must be signed in to change notification settings - Fork 936
fix: up #1201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
fix: up #1201
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Builderbot dev
- Add CoreClass unit tests (26 tests): constructor, handleMsg, sendProviderAndSave, sendFlowSimple, listenerBusEvents, httpServer, state management, blacklist - Add event handler tests (38 tests): all 9 event types with regex isolation, LIST_ALL and LIST_REGEX exports, cross-event uniqueness validation - Add Baileys provider reliability tests (37 tests): reconnection logic, exponential backoff, cleanup handlers, cache management, duplicate detection, LID/PN mapping, sendPoll edge cases - Add Telegram provider test suite (25+ tests): constructor validation, sendMessage, sendMedia, saveFile, busEvents, session management - Add database edge-case tests: MongoDB concurrent saves, special characters, large data (12 tests); MySQL JSON serialization, connection errors (15 tests); PostgreSQL concurrent ops, contact merge logic, error propagation (12 tests) - Add test script and jest config to provider-telegram package.json https://claude.ai/code/session_01VehnDonoNGA7h1idxwSxrQ
…y4i0j-J3hNf Add comprehensive unit tests for CoreClass, events, and database adapters
…d webhook handling New provider package @builderbot/provider-gohighlevel that integrates with GoHighLevel CRM API v2. Includes OAuth2 token management with auto-refresh, contact resolution by phone number, support for all GHL channels (SMS, WhatsApp, Email, Live_Chat, Facebook, Instagram, Custom), webhook handling for inbound messages, media attachments, and a queue-based message sending system. Follows the same architecture patterns as provider-meta and provider-twilio. 52 unit tests included covering provider, core vendor, utilities, and token manager. https://claude.ai/code/session_01Y7qBTQXCkbxurkeNpyQ7j7
- Remove duplicate route registration (beforeHttpServerInit + initVendor) - Add mutex to TokenManager.refreshAccessToken to prevent race conditions - Fix sendMessageToApi to throw errors instead of returning them - sendMessageGHL queue now properly rejects on errors - Centralize phone normalization using parseGHLNumber across all utils - ContactResolver now receives apiVersion from provider config - Add constructor validation for clientId, clientSecret, locationId - Add stop() override to cleanup TokenManager timer and cache - Timer uses unref() to prevent blocking process exit - Add invalid timestamp fallback in processIncomingMessage - Register package in lerna.json and root package.json workspaces - Add GoHighLevel to CLI PROVIDER_LIST - Create gohighlevel.json zone file for template generation - Update tests: 56 passing (constructor validation, queue rejection, stop) https://claude.ai/code/session_01Y7qBTQXCkbxurkeNpyQ7j7
…r-a3gKC feat: add GoHighLevel provider with OAuth2, multi-channel support, and webhook handling
leifermendez
added a commit
that referenced
this pull request
Feb 2, 2026
…comments-PuC1O Merge pull request #1201 from codigoencasa/builderbot
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Que tipo de Pull Request es?
Descripción
Por favor agrega una descripción de tu aporte para tener más contexto y poder avanzar más rápido. Si es de ayuda puedes usar plataformar como https://www.loom.com/ para grabar un video.