Uh oh!
There was an error while loading. Please reload this page.
chore: point Course Optimizer proxy at local xpert-ai-workflows - #231
Open
nsprenkle wants to merge 1 commit into
Open
chore: point Course Optimizer proxy at local xpert-ai-workflows#231nsprenkle wants to merge 1 commit into
nsprenkle wants to merge 1 commit into
Conversation
Studio's course_analysis_report proxy views need to reach xpert-ai-workflows running on the host machine (not the devstack docker network) via Docker's host-gateway alias, on port 19090 (chosen to avoid every port already in use across this repo's own service/MFE allocations).
Contributor
There was a problem hiding this comment.
Pull request overview
Updates devstack Studio (CMS) dev settings so the course_analysis_report proxy can reach a locally running xpert-ai-workflows service on the host machine (outside the Docker network), targeting port 19090.
Changes:
- Add
COURSE_ANALYSIS_WORKFLOW_URLpointing tohost.docker.internal:19090. - Add
COURSE_ANALYSIS_WORKFLOW_API_KEYfor authenticating Studio toxpert-ai-workflows.
Suppressed comments (1)
py_configuration_files/cms.py:299
- This value is a shared secret used to authenticate Studio to an external service; hardcoding it in the repo makes local overrides harder and risks accidental reuse outside dev. Prefer sourcing it from ENV_TOKENS (or an env var) and leaving the default empty/placeholder so developers explicitly configure it to match their xpert-ai-workflows instance.
COURSE_ANALYSIS_WORKFLOW_API_KEY = 'this_is_a_test_api_key' # matches xpert-ai-workflows' local .env
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| # xpert-ai-workflows running on the host machine (not in the devstack docker | ||
| # network), reached via Docker's host-gateway alias. Shared secret must match | ||
| # that service's own EDX_STUDIO_API_KEY. | ||
| COURSE_ANALYSIS_WORKFLOW_URL='http://host.docker.internal:19090' |
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 freeto 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.
Studio's course_analysis_report proxy views need to reach xpert-ai-workflows running on the host machine (not the devstack docker network) via Docker's host-gateway alias, on port 19090 (chosen to avoid every port already in use across this repo's own service/MFE allocations).
I've completed each of the following or determined they are not applicable: