Python: fix DevUI deployment Dockerfile auth args - #6150
Merged
eavanvalkenburg merged 2 commits intoJul 8, 2026
Conversation
Contributor
Author
|
@microsoft-github-policy-service agree |
fallintoplace
marked this pull request as ready for review
May 28, 2026 13:09
eavanvalkenburg
approved these changes
Jul 8, 2026
eavanvalkenburg
enabled auto-merge
July 8, 2026 08:00
moonbox3
approved these changes
Jul 8, 2026
Contributor
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
Fix the DevUI deployment Dockerfile generator to stop emitting the removed
--authCLI flag.Why
DevUI auth is enabled by default now, and non-loopback binds are configured with
DEVUI_AUTH_TOKENor--auth-token.The generated Dockerfile was still launching
devuiwith--auth, which is parsed as an abbreviated--auth-tokenand causes startup to fail because no token value is provided.What changed
--authfrom the generated DevUI Dockerfile commandCMDlineDEVUI_AUTH_TOKENValidation
uv run --group dev pytest packages/devui/tests/devui/test_deployment.pyuv run --group dev ruff check packages/devui/agent_framework_devui/_deployment.py packages/devui/tests/devui/test_deployment.pyuv run --group dev ruff format --check packages/devui/agent_framework_devui/_deployment.py packages/devui/tests/devui/test_deployment.py