You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[P1][regression] master goldens red: nquote snapshot stdout differs from golden (upstream_suite_slice_snapshots, 69/70) — red since 98794cb7 or earlier #803
Activity
caomengxuan666 commentedon Oct 18, 2026
裁决(#803):重录(golden 过期),非产品回归
PR: #808(正文已经 CR 修正轮校准;本评论同步修正原第 3 点的不可复现 byte-proof 表述)
证据链(CR 验证版)
5f3fb55b(08:38),首个红eee1aa6f(08:59,nquote snapshot,69/70),其后所有 head 恒红同点。票内嫌疑98794cb7(mapfile fast path)晚于首红提交,排除。eee1aa6f改了什么:clamp 掉mark_literal_ifs_chars在未闭合引号 braced word 上的 index-out-of-bounds panic(fix: 部分引用词的 field splitting 被整词抑制 (#743) #789/d9ab4c7 的回归)。nquote2.sub的未加引号t ${v/\'/x}族调用正是该形状——套件运行在该词类上不再中断,与旧录制停止点重合。nquote.snap是规范 1230 字节输出的严格字节前缀,在流中途戛然而止;f7eaebf8(当日上午 07:37)提交信息自认 "lines 64-84 are not produced ... the test harness aborts"——golden 转录自中断的 CI run,而非完整运行;nquote.tests+nquote1-5.sub,stdout 按 recho argv-span caret 渲染约定归一)。GPL 红线:oracle 只跑不改,未内嵌 GNU 源码。深层原因:机器依赖字节(runner autocrlf)
windows-latest 以
core.autocrlf=true物化 third_party/bash 子模块,CRLF 套件字节下整块输出面哑火(nquote4.sub的alias foo=$'echo foo\n\nquux\n'不打印foo:1226 vs 1230)。修复在 lane 层:run_suite_snapshot拷贝套件文件时 CRLF→LF 归一。wanted 谓词下的 144 个 tracked 套件文件(13 slice;自建子模块的磁盘可能多出recho等未跟踪构建产物)规范 blob 均无 CR——成对转换恰为 autocrlf 的逆、不可能伤及语义 CR,快照字节不再依赖检出换行配置。重录与验证
RUBASH_REGRESSION_RECORD=1 cargo test --test regression upstream_suite_slice_snapshots(协议、debug profile);按 slice 点名:nquote 1045→1230(前缀续行,尾部 GNU 验证)、comsub 926→1033(CRLF pin)、heredoc 1445→1483(CRLF pin);其余 10 slice 逐字节不变。#746棘轮:重录路径、非产品回归,不新增 catalogue case;重录字节本身即棘轮。--test-threads=1regression battery:70/0(PR 前 69/1)。test(regression): #803 re-record the CRLF-pinned snapshots (nquote, c…
caomengxuan666 commentedon Oct 18, 2026
补充(PR #808 第二轮):nquote 在 CI 通过后,套件循环停在了 comsub —— 归一化揭穿了另外两个同样 CRLF 钉死的 golden:
comsub.snap(926 → 1033,LF 输出补上ok 9/ok 8/日期块与完整的hey after x行)与heredoc.snap(1445 → 1483,LF 输出补上尾部world+ 两行 here-doc)。两者已按同一协议用 runner-true 字节重录;PR 首轮 CI 的 artifact 与 LF 检出本地输出逐字节相等(机器稳定)。全量--test-threads=1回归 battery 现为 70/0(本 PR 之前 69/1)——合并快照测试在 LF 检出上首次全绿。docs(regression): #803 CR round - correct the copy-predicate corpus c…
Merge pull request #808 from unixwin/fix/803-nquote-snapshot
fix(executor): key field-split eligibility on the ${ introducer quote…
fix(completion): compopt completion-function state + PATH command-can…
fix(completion): compopt completion-function state + PATH command-can…