From 9f2d6fd2d2532a389e9ba6fbe9c49c13c87ac533 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 11 Aug 2026 17:04:50 +0000 Subject: [PATCH] =?UTF-8?q?fix(build):=20patch=5Fops.sh=E5=8E=BB=E6=8E=89s?= =?UTF-8?q?et=20-o=20pipefail=E2=80=94=E2=80=94=E4=B8=8E26e6cb4(=E8=83=BD?= =?UTF-8?q?=E5=BE=97=E5=88=86=E7=89=88=E6=9C=AC)=E4=BF=9D=E6=8C=81?= =?UTF-8?q?=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 26e6cb40的patch_ops.sh没有任何set命令。 pipefail会让管道中任何命令失败都传播,可能在竞赛平台Docker build环境中 触发意外的非零退出码。 --- qwen3_6_scripts/patch_ops.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qwen3_6_scripts/patch_ops.sh b/qwen3_6_scripts/patch_ops.sh index b52ff940..bbb5c5fa 100755 --- a/qwen3_6_scripts/patch_ops.sh +++ b/qwen3_6_scripts/patch_ops.sh @@ -28,10 +28,9 @@ # --max-seq-len-to-capture 32768 --enable-auto-tool-choice \ # --tool-call-parser qwen3_coder --reasoning-parser qwen3 -# NOTE: intentionally NO set -e — individual patch failures must NOT abort +# NOTE: intentionally NO set -e or set -o pipefail — individual patch failures must NOT abort # the entire build. Each step logs its own errors, and non-critical patches # (xformers, diagnostics) may legitimately fail if the base image differs. -set -o pipefail # Always cd to script directory so relative paths (./qwen3_5.py, ./vendor_overrides, etc) work cd "$(dirname "$0")"