This repository was archived by the owner on Sep 2, 2026. It is now read-only.
Repository navigation
fix: 兼容 Windows PowerShell 脚本编码 - #81
Merged
Merged
Conversation
背景:master 发布在 Windows PowerShell 5.1 解析无 BOM UTF-8 临时脚本时损坏中文字符串,Docker 检查尚未执行即失败。 改动:Docker 检查提示改为纯 ASCII;含非 ASCII 的清理脚本增加 UTF-8 BOM;新增编码契约防止同类回归。 验证:关联配置测试 85 项及 15 个子测试通过;ruff、git diff --check 与 BOM 内容哈希校验通过。 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.
背景
master 发布 run 33366368250 在 Windows PowerShell 5.1 解析 GitHub Actions 生成的 UTF-8 无 BOM 临时脚本时损坏中文字符串,导致
Verify Docker access在执行 Docker 命令前报The string is missing the terminator。关联 #78。改动
windows-cleanup.ps1增加 UTF-8 BOM验证
git diff --check:通过发布约束
这是带修复提交的新流水线,不重跑失败 run。若 Windows Runner、PowerShell 或 Docker 再出现异常,立即停止,不循环重试或切换临时发布路径。