Repository navigation
Release v0.55.8: linear input regexes, Outlook skip_token, GoHighLevel page size - #1813
Merged
Merged
Conversation
Three patterns flagged by code scanning backtrack quadratically on long crafted values: the e-mail check of a base-URL variable, the trailing dot/space trim of an upstream error message, and the path cut of a File Search host. Each is replaced by a linear form with the same results. The tool registry reload test no longer asserts a wall-clock bound, which flaked on CI; it checks that a reload iterates no registry-wide map.
outlook_list_messages mapped $skip next to $search, and Microsoft Graph refuses the two together (SearchWithSkip). Add skip_token mapped to $skiptoken, as outlook_search_messages already does, and say in the skip and search descriptions that a search pages with skip_token. gohighlevel_search_contacts sent no pageLimit when the caller left page_limit out, and HighLevel answers 422 "pageLimit must be a number". Give page_limit a JSON-Schema default of 20 (what its description already promised); the tool call fills schema defaults before the REST engine builds the body. The spec runs the engine path to prove it.
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
Release v0.55.8. It folds two fixes from the 2026-11-21 daily check into one CI round, plus the version bump.
Cloud and self-hosted behave the same. Both adapter changes are safe-class for the catalog re-sync, so installed connectors pick them up at boot (a self-hosted instance with
CATALOG_AUTOSYNC=falseneeds "Apply update"). No migration, no auth change, nothing underee/.Changes
outlook_list_messagesgetsskip_token, because Microsoft refuses$skiptogether with$search(SearchWithSkip, 48 failed calls in one workspace in 24 h).gohighlevel_search_contactsnow sendspageLimit20 when the caller leaves it out (HighLevel answered 422 "pageLimit must be a number", 13 calls in two workspaces).Type
Testing
Run in the two PRs, in
packages/backendafternpm ciandnpx prisma generate(details and exact commands in #1811 and #1812):npx jest --maxWorkers=4on the four specs of Keep input-parsing regexes linear on long values #1811: 4 suites, 427 tests passed.npx tsc --noEmit -p tsconfig.json: exit 0.npx eslinton the changed files: clean.node scripts/validate-adapters.mjs --warn: no new warnings.node scripts/adapter-count.mjs --check: OK (957 adapters).The full backend suite and lint run in CI on this PR.
Checklist
npm test) (CI runs the full suite)Related Issues
Folds #1811 and #1812.