This repository was archived by the owner on Sep 2, 2026. It is now read-only.
Repository navigation
fix: 禁止发布任务启动 Docker Desktop - #80
Merged
Merged
Conversation
背景:Windows 服务型 Runner 从 Session 0 启动并保留 Docker Desktop,会占用仅该会话可访问的后端管道并阻断桌面用户。 改动:发布前仅检查预配置 Docker Engine;不可用或无权限时立即失败,并新增契约测试禁止 GUI、服务启动、等待重试和 Runner 跟踪绕过。 验证:python3.11 -m pytest 关联配置测试通过 83 项及 14 个子测试;ruff 与 git diff --check 通过。 Co-Authored-By: Codex <noreply@anthropic.com>
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
背景
Windows 服务型 Runner 从 Session 0 启动并保留 Docker Desktop,会占用后端命名管道并阻断桌面用户启动 Docker Desktop。关联 #78。
改动
验证
python3.11 -m pytest test/test_ci_cd_permission_boundary.py test/test_ci_container_contract.py test/test_deploy_auth_config.py test/test_knowledge_deploy_config.py test/test_litellm_governance_units.py test/test_model_management_deploy_config.py -q:83 passed,14 subtests passedpython3.11 -m ruff check test/test_ci_cd_permission_boundary.py:通过git diff --check:通过发布约束
若 Windows Runner 或 Docker 出现异常,停止本轮发布,不重跑 CI、不循环排查 Windows、不改走临时发布路径。