feat(platform): integration package upload with OAuth2 and connection testing#432
Merged
Conversation
…n testing Add a multi-step upload wizard for integration packages (ZIP with config.json and optional connector.js), supporting both REST API and SQL types. Consolidate per-provider test connection logic into a unified test_connection module, remove _logic file suffix convention from email_providers and integrations, and add example integration packages for Circuly, Protel, and Shopify.
…upport Implement complete OAuth2 authorization code flow for integrations: - Auth URL generation, redirect callback, token exchange, and encrypted storage - Automatic token refresh with 5-minute expiry buffer - OAuth2 client credential management UI in manage dialog - OAuth2 success/error banner notifications Add support for multiple authentication methods per integration: - New `supportedAuthMethods` field allows declaring multiple auth options - Auth method selector dropdown in manage dialog when multiple methods available - Switching methods clears credentials and resets test state - Config validation ensures authMethod is included in supportedAuthMethods
…ample Extend integration schema with operationType and requiresApproval fields for SQL operations. Add oauth2Config support to createIntegrationInternal for OAuth2 authorization flows. Include Outlook integration example.
…vent stale credential leakage
…only runs JavaScript
…fined integration
…and OAuth2 refresh Add approval cards (integration, workflow, human input) to test chat panel using merged chat items. Improve approval card UI with expandable parameters, text overflow handling, and separate status update before execution. Include parameter schemas in operation summaries and validate required parameters before creating approvals or executing. Restructure OAuth2 token refresh with early return, specific error diagnostics, and response validation. Update integration upload to accept icon files and pass parameter schemas. Fetch all approval statuses per thread instead of only pending.
Link users to the example integrations repo from the upload dialog and ignore the examples/ directory in knip.
…est setup jsdom doesn't implement Blob.text() or Blob.arrayBuffer(), causing parse-integration-package tests to fail with "config.json is not valid JSON". Added FileReader-based polyfills in the UI test setup.
… in integration manage dialog
…Integration into shared helper
… in test connection
The sqlConfig in parse-integration-package tests inherited operations from validConfig without a query field, but the schema's superRefine requires SQL operations to include a query. This caused 3 SQL-related tests to fail.
This was referenced Feb 14, 2026
5 tasks
This was referenced Mar 29, 2026
yannickmonney
pushed a commit
that referenced
this pull request
Apr 8, 2026
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
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.
Summary
Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
UX
Tests