errors: Broaden 40035 to any integration filter regex - #365
Open
SimonWoolf wants to merge 1 commit into
Open
SimonWoolf wants to merge 1 commit into
SimonWoolf wants to merge 1 commit into
Conversation
40035 is documented as being specific to an integration's message filter, but it applies to any user-supplied regex on an integration, such as a channelFilter. Widen the title and summary accordingly. The identifier is a frozen contract, so it keeps its existing name. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
lmars
approved these changes
Sep 17, 2026
This branch has not been deployed
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.
Error code 40035 was documented as being specific to an integration's
messageFilter, but it applies to any user-supplied regex on an integration rule, such as achannelFilter. This widens the title and summary accordingly.protocol/errors.jsonregenerated;npm run validate:errorspasses with no warnings for 40035The
identifierkeeps its existing name (integration_message_filter_regex_not_re2_compatible), since it's a frozen contract that SDK constants generate from. That does leave the constant name narrower than the code's actual scope — shout if you'd rather churn it now than live with the mismatch.Note that the
channelFiltervalidation path currently raises 40000 rather than 40035, and validates with a plain JSRegExprather than RE2; that's being addressed separately.🤖 Generated with Claude Code