Repository navigation
ci: pass GATEWAY_FOLDER_KEY to the gateway-and-direct-models testcase - #1998
Merged
Merged
Conversation
The uipath-langchain testcase gateway-and-direct-models (UiPath/uipath-langchain-python#1208) needs the key of the folder the LLM Gateway publishes its spans to. Pass it from the <ENV>_GATEWAY_FOLDER_KEY secrets, only to that testcase, as uipath-langchain's own workflow does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the gateway folder-key workflow update.
No open issues 🎉
What changed in this PR
Updates the SDK’s downstream LangChain integration-test workflow to supply the folder key required for LLM Gateway span validation.
Changes:
- Selects
GATEWAY_FOLDER_KEYfrom the environment-specific repository secret. - Passes the key only to
gateway-and-direct-models; other testcases receive an empty value.
| File | Description |
|---|---|
.github/workflows/test-uipath-langchain.yml |
Adds conditional gateway folder-key configuration to the testcase execution step. |
Review effort: Balanced
|
andreizdrali-uipath
approved these changes
Nov 17, 2026
valentinabojan
approved these changes
Nov 17, 2026
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.



What changed?
test-uipath-langchain.ymlruns every uipath-langchain testcase against this repo's build. One of them,gateway-and-direct-models, was added in UiPath/uipath-langchain-python#1208. It checks the LLM Gateway'sModel runspans in LLMOps, and it needsGATEWAY_FOLDER_KEY: the key of the folder the Gateway publishes those spans to.This workflow didn't pass that key, so the testcase stopped at setup ("LLM Gateway span check setup failed") on every PR with the
test:uipath-langchainlabel. Example: #1997, run 44051057273.Changes:
GATEWAY_FOLDER_KEYfromALPHA_GATEWAY_FOLDER_KEY,STAGING_GATEWAY_FOLDER_KEYorCLOUD_GATEWAY_FOLDER_KEY, matching the environment.gateway-and-direct-modelsgets the key. Every other testcase gets an empty value, as in uipath-langchain's own workflow.::add-mask::) and never prints it.The three secrets are already set on this repo.
How has this been tested?
This PR has the
test:uipath-langchainlabel, so its own run includesgateway-and-direct-modelson alpha, staging and cloud.🤖 Generated with Claude Code