Skip to content

fix(e2e): call the synthetic endpoint with the shape it expects - #64

Merged
Mattt (aevv) merged 1 commit into
masterfrom
mattt/fix-e2e-outbound-relay-endpoint
Aug 27, 2026
Merged

fix(e2e): call the synthetic endpoint with the shape it expects#64
Mattt (aevv) merged 1 commit into
masterfrom
mattt/fix-e2e-outbound-relay-endpoint

Conversation

@aevv

Copy link
Copy Markdown
Contributor

The outbound relay e2e tests have been failing on a nil lookup (undefined method '[]' for nil at outbound_relay_e2e_spec.rb:18).

The request was built two ways the endpoint does not accept:

request response
{url}/production/outbound?uuid=… (before) 403 Missing Authentication Token
{url}?uuid=… 502 Internal server error
{url}?syntheticUuid=… (after) 200 {"request":{…}}

The URL secret already includes /production/outbound, and the identifier is syntheticUuid — which is what the node and python SDKs send. Neither failing response contains a request key, hence the nil.

The assertions themselves were correct and are unchanged.

The synthetic endpoint URL already includes the stage and route, and the
request identifier is passed as syntheticUuid. Appending /production/outbound
returned 403 and passing uuid returned 502, neither of which carries a request
body, so the outbound relay assertions failed on a nil lookup.
@changeset-bot

changeset-bot Bot commented Aug 25, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: f6e3d22

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@aevv
Mattt (aevv) marked this pull request as ready for review August 25, 2026 20:19
@aevv
Mattt (aevv) requested a review from a team as a code owner August 25, 2026 20:19
@aevv
Mattt (aevv) merged commit f5aaaf1 into master Aug 27, 2026
10 checks passed
@aevv
Mattt (aevv) deleted the mattt/fix-e2e-outbound-relay-endpoint branch August 27, 2026 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants