Skip to content

fix(tracking): default ingestor host to us-east-1.gb-ingest.com - #167

Merged
madhuchavva merged 2 commits into
growthbook:mainfrom
vazarkevych:fix/tracking-ingestor-us-east-1
Dec 3, 2026
Merged

madhuchavva merged 2 commits into
growthbook:mainfrom
vazarkevych:fix/tracking-ingestor-us-east-1

Conversation

@vazarkevych

Copy link
Copy Markdown
Collaborator

Summary

Changes the default IngestorHost of GrowthBookTrackingPlugin from https://us1.gb-ingest.com to https://us-east-1.gb-ingest.com, to match the TypeScript reference SDK.

Upstream change: growthbook/growthbook#6608 ("Prefer us-east-1 alias"). It switched the default in packages/sdk-js/src/plugins/growthbook-tracking.ts, the back-end, the front-end and the docs to the us-east-1 alias. That name matches the region names users pick for Event Forwarder / Managed Warehouse (us-east-1, eu-west-1).

Changes

  • growthbook/plugins/growthbook_tracking.py: ingestor_host default and docstring
  • README.md: tracking plugin example used https://gb-ingest.growthbook.io, which does not resolve; replaced with https://us-east-1.gb-ingest.com
  • tests/test_plugins.py: new test_default_ingestor_host_is_us_east_1; explicit hosts in two tests updated to the new alias

Testing

  • pytest tests (the two test_typing mypy failures also fail on main)

Compatibility

us1.gb-ingest.com and us-east-1.gb-ingest.com are aliases for the same endpoint (same DNS records), so there's no behaviour change. Users who set IngestorHost explicitly are not affected.

Match growthbook/growthbook#6608, which replaced the legacy
us1.gb-ingest.com alias with us-east-1.gb-ingest.com as the default
ingest host. An explicitly set ingestor host still overrides it.
@greptile-apps

greptile-apps Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 · The PR appears safe to merge.RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge.

Reviews (2) · Last reviewed commit: "test(tracking): wait for the ingest POST..." · Reviewed by Greptile

Comment thread tests/test_plugins.py Resolved
…eping

The tracking plugin posts from a daemon thread, so a fixed 50 ms sleep
can fail on a slow CI worker, and a late POST could escape the
requests.post patch. Wait on a threading.Event set by the fake post.
@vazarkevych

Copy link
Copy Markdown
Collaborator Author

@greptile review

@madhuchavva
madhuchavva merged commit e1c3b6b into growthbook:main Dec 3, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants