Repository navigation
Use IntegrationError for known failures across built-in integrations - #1365
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: 6fcd32f The changes in this PR will be included in the next version bump. This PR includes changesets to release 33 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
commit: |
taranvohra
approved these changes
Nov 20, 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.
Context
Problem: Built-in integrations still turn rejected credentials and missing configuration into generic failures, even though the runtime and GBX now support recoverable errors.
Outcome: 33 integrations explicitly report recognized connection, configuration and input problems with safe guidance.
Proposed changes
IntegrationErrorat provider and validation boundaries, including GitHub/GitLab Files, Jira, Slack, Linear, Figma, Sentry, Mailchimp, Arcade and the tracking/visitor-auth integrations.invalid_grantrequires reconnection;invalid_client/unauthorized_clientrequire configuration attention. Failed refreshes perform no credential writes or retries.Validation:
bun run test --env-mode=loosepasses 227 tests through the CI runner;bun run typecheck --env-mode=loosepasses all 73 tasks.bun run lint,bun run format:check,git diff --check, and the Changesets release-plan check pass. API generation used the local gitbook-x OpenAPI spec. The focused suites pass 121 cases; 47 fail against the original implementation. Front's publishing task was verified with a dry run. Credential-dependent integration checks remain for CI.Uses the GBX handling from gitbook-x#27550. Publish/rebuild after merging to activate these changes. No deployments were run. HowdyGo and Storylane are maintained outside this repository and still require publisher adoption.
Part of RND-14053
Changelog