Skip to content

Match Fullstory provisioning and session hosts by domain wildcard - #65

Merged
bhackett1024 merged 2 commits into
mainfrom
codex/staging-session-ingestion
Oct 21, 2026
Merged

bhackett1024 merged 2 commits into
mainfrom
codex/staging-session-ingestion

Conversation

@bhackett1024

@bhackett1024 bhackett1024 commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Session ingestion rejected staging URLs even for accounts provisioned with the staging Subtext endpoint. Replace exact hostname allowlists with wildcard matching for *.fullstory.com in both Subtext provisioning and session ingestion, so future regions and environments do not require hostname-specific releases.

Subtext URLs still require HTTPS and the exact /mcp/subtext path, with no credentials, custom port, query, or fragment. Session URLs retain HTTPS, credential, and session-path validation. Lookalike domains and the bare fullstory.com domain remain rejected. Update API discovery and setup/architecture documentation to describe this behavior.

Regression tests cover staging and future/nested environment hosts, registration without capture artifacts, fragment normalization, retry deduplication, unsafe/unsupported URL rejection, and staging callbacks using the saved endpoint. The staging tests reproduced invalid_session before the fix.

Validation: all 124 tests pass with npm test; npm run build passes.

Companion QA wildcard change: https://github.com/replayio/loop-qa/pull/6647. QA's initial staging-only fix was merged in #6646. No migration or capture package release is needed.

@bhackett1024 bhackett1024 changed the title Accept staging Fullstory session URLs Match Fullstory provisioning and session hosts by domain wildcard Oct 21, 2026
@bhackett1024
bhackett1024 merged commit 1f2cd11 into main Oct 21, 2026
4 checks passed
@bhackett1024
bhackett1024 deleted the codex/staging-session-ingestion branch October 21, 2026 21:01
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.

1 participant