fix(ci): harden SDK path verification against stdout noise#3966
Merged
mmabrouk merged 3 commits intorelease/v0.94.1from Mar 11, 2026
Merged
fix(ci): harden SDK path verification against stdout noise#3966mmabrouk merged 3 commits intorelease/v0.94.1from
mmabrouk merged 3 commits intorelease/v0.94.1from
Conversation
Third-party packages (e.g. litellm >=1.82) can print diagnostic messages to stdout on import, which pollutes the path captured by the verify-SDK step and causes the case-match against /app/sdk/* to fail. Redirect stderr and pipe through tail -1 so only the final printed line (agenta.__file__) is captured.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Railway Preview Environment
|
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
06-railway-preview-build.ymlcaptures stdout fromimport agenta; print(agenta.__file__)into a variable and matches it against/app/sdk/*.litellm >=1.82(released 2026-03-10) now prints aProvider List: ...banner to stdout on import, which pollutes the captured variable and breaks the case-match.agenta-apiandagenta-servicesbuild jobs to fail on any PR that touchessdk/and doesn't have a cached image layer with the older litellm.Fix
2>/dev/nulland pipe through| tail -1so only the final printed line (agenta.__file__) is captured, regardless of any third-party import noise.Affected PRs
sdk/)