salesforce: use stream .request.host in system-test mock instance_url - #20522
Open
andrewkroh wants to merge 1 commit into
Open
salesforce: use stream .request.host in system-test mock instance_url#20522andrewkroh wants to merge 1 commit into
andrewkroh wants to merge 1 commit into
Conversation
Contributor
✅ Elastic Docs Style Checker (Vale)No issues found on modified lines! The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale. |
andrewkroh
marked this pull request as draft
August 4, 2026 15:25
Contributor
|
✅ All changelog entries have the correct PR link. |
andrewkroh
force-pushed
the
fix/stream-request-host-salesforce
branch
from
August 4, 2026 15:31
49d4924 to
38b88da
Compare
Adopt {{ .request.host }} for the OAuth mock instance_url and bump the
mock image to stream v0.23.0 so the returned URL matches the host the
agent used. Drop the unused PORT env var (listen address is --addr=:8010).
Test-only changes; no package version or changelog updates.
Assisted-By: Cursor Grok 4.5
andrewkroh
force-pushed
the
fix/stream-request-host-salesforce
branch
from
August 4, 2026 15:38
38b88da to
9e256de
Compare
💚 Build Succeeded
|
andrewkroh
marked this pull request as ready for review
August 4, 2026 16:34
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.
Proposed commit message
Adopt stream
{{ .request.host }}for the Salesforce system-test OAuth mockinstance_url, bump the mock image tostream:v0.23.0, and remove the unusedPORTcompose env var (the server already listens via--addr=:8010).This is a consistency/cleanup change: the mock should return the same origin the agent requested, using the new stream template field from elastic/stream#206 / elastic/stream#207, instead of reconstructing the URL from
{{ hostname }}andPORT.Checklist
changelog.ymlfile.Author's Checklist
docker.elastic.co/observability/stream:v0.23.0is published before mergeinstance_urlHow to test this PR locally
Related issues
Screenshots
N/A — system-test mock and compose changes only.