test: Resolve MemoryHub E2E URL from discovery endpoint#243
Open
rdwj wants to merge 1 commit into
Open
Conversation
The E2E test now tries the MemoryHub discovery endpoint (redhat-ai-americas.github.io) before falling back to the MEMORYHUB_E2E_URL env var. This way the test self-heals when the sandbox cluster rotates, without waiting for someone to update the repo secret. The env var still takes priority when set, so existing CI config is unaffected. Closes kagenti#242 Assisted-by: Claude Code (Opus 4.6) Signed-off-by: rdwj <wjackson@redhat.com>
a970d1a to
1419f07
Compare
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.
Summary
The MemoryHub E2E test now tries the MemoryHub discovery endpoint before falling back to the
MEMORYHUB_E2E_URLrepo secret. When the sandbox cluster rotates, the test self-heals on the next CI run without waiting for someone to update the secret._discover_url()that fetcheshttps://redhat-ai-americas.github.io/memory-hub/discovery.jsonwith a 5s timeoutMEMORYHUB_E2E_URLenv var (explicit override) > discovery endpoint > skipCloses #242
Test plan
MEMORYHUB_E2E_URLis set, it takes priority (no behavior change)MEMORYHUB_E2E_URLis unset, the discovery endpoint is tried