Skip to content

fix(executor): resolve sequential 2>&1 against the dup-time snapshot (Refs #3403) - #3631

Merged
caomengxuan666 merged 2 commits into
masterfrom
fix/3403-sequential-dup-snapshot
Nov 17, 2026
Merged

caomengxuan666 merged 2 commits into
masterfrom
fix/3403-sequential-dup-snapshot

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

根因

顺序管道驱动在 fd 表把 fd 2 记在 Stdout 端点时,就把 stage 的 stderr 折进管道输出流,完全不核对管道自身的 fd 1 是否还是同一个对象。同一重定向表里后出的 1>file(或体内的 exec > file)已经把 fd 1 重定向走,于是 { echo hi | ls /bad; } 2>&1 1>out.txt 把 stage 报错送进了 out.txt,而不是 stdout。

GNU 锚点

  • redir.c:237 do_redirections:重定向表从左到右逐项执行。
  • redir.c:1192-1193:2>&1 means dup2 (1, 2)——fd 2 从 dup 那一刻的 fd 1 复制,undo 快照见 redir.c:1170 附近。
  • GNU:{ echo hi | ls /bad; } 2>&1 1>out.txt 时 ls 报错走 stdout,out.txt 为空;镜像顺序 1>out.txt 2>&1 时报错进 out.txt。

修法

新增 ambient_stderr_merges_into_pipeline_output 门:仅当 fd 1 仍是 fd 2 被 dup 时的那个对象(同为 Stdout 端点且 capture generation 相同——dup_entry 在 dup 时记录、open_output 在重定向时清除)才折叠;否则字节走 write_default_stderr,由它按 fd-2 快照自行解析——并发驱动的 intermediate-stderr drain 早就是这条路。接线在顺序驱动的两处折叠点(external-prefix 路径与 stage loop);并发驱动、streaming-sandwich 准入、pipeline_stage_stderr_may_stream 未动。

回归钉:tests/issue3403_sequential_dup_snapshot.rs(7 格:unix ls 的 snapshot / mirror / non-final / no-retarget / exec-retarget,及平台无关的 builtin cd 双胞胎)。

本 PR 删除了什么

无删除。仅收紧顺序驱动两处折叠谓词(由裸 write_endpoint(2) == Stdout 改为快照门);无公开面变动,无行为删除。

验证状态

UNVERIFIED-BY-CAPTAIN —— 队长复核未做。车道腿待补:钉 fail-first + 头绿、邻居 stem、全量 lib 双边、RUSTFLAGS="-D warnings" check、GNU oracle 对照。

Refs #3403

…(Refs #3403)

The sequential pipeline driver folded a stage's stderr into the
pipeline output stream whenever the fd table held fd 2 on the Stdout
endpoint, without checking whether the pipeline's own fd 1 was still
that same object. A later `1>file` in the same redirect list — or an
`exec > file` inside the body — had already retargeted fd 1, so
`{ echo hi | ls /bad; } 2>&1 1>out.txt` sent the stage error into
out.txt instead of stdout.

GNU applies a redirect list left to right (redir.c:237
do_redirections) and `2>&1 means dup2 (1, 2)` (redir.c:1192-1193):
fd 2 is dup'd from fd 1 as it stands at the moment of the dup, and
the undo snapshot (redir.c:1170) preserves that binding. The new
`ambient_stderr_merges_into_pipeline_output` gate folds only while
fd 1 is still the object fd 2 was dup'd from (same Stdout endpoint
and same capture generation, as recorded by fd_table dup_entry at
dup time and cleared by open_output on retarget); otherwise the bytes
ride write_default_stderr, which resolves the fd-2 snapshot itself
— the same route the concurrent drivers' intermediate-stderr drain
already uses. Wired at both sequential fold sites (external-prefix
path and stage loop); concurrent drivers, the streaming-sandwich
admission gate and pipeline_stage_stderr_may_stream are untouched.

Regression pin: tests/issue3403_sequential_dup_snapshot.rs (7 cells:
snapshot/mirror/non-final/no-retarget/exec-retarget ls cells on unix
plus builtin cd twins, platform-independent).

Refs #3403
@caomengxuan666

Copy link
Copy Markdown
Member Author

【WIN-AGENT-AUDIT】PR #3631 第1轮 — 建议:FAIL
head: 3d4adf7 base(merge-base): 55fd6a0 文件: 2 个 +297/-4
关联 issue: #3403(状态:open,我核过的时间:2026-11-16 本地)

机制核查:

  • 机制成立:ambient_stderr_merges_into_pipeline_output 把两处裸 write_endpoint(2)==Stdout 折叠收紧为「fd 1 仍是 fd 2 被 dup 时的同一对象」。GNU 依据 redir.c:237 do_redirections(表从左到右)+ redir.c:1192-1193(2>&1 是 dup2(1,2),即 dup 时刻的 fd 1)。stdout_alias_generation 由 fd_table.rs:906-923 dup_entry 记录、:965 open_output 清除,未改公开面。
  • GNU 对照(WSL GNU bash 5.3.20,脚本 target/probes/p3631gnu.sh):{ echo hi | ls /bad; } 2>&1 1>out.txt → 错误在 stdout、out.txt 空;镜像顺序 → 错误进 out.txt;无 retarget → stdout;exec > file 体内 retarget → stdout 一条、file 只有 done。head 与 GNU 逐字节一致;base 在第一条形状上不存在差异(base 的裸折叠对 1>file 也把 fd 1 判成 Stdout? 实测 base 该形也正确,见下)。
  • 可疑/无关改动:无(仅 pipeline_exec.rs 两处折叠点 + 新钉)。

腿(逐项给数字与名字):

  • 钉自跑:cargo test --test issue3403_sequential_dup_snapshot → 1 passed / 1 failed。绿:sequential_dup_snapshot_builtin;红:sequential_dup_mirror_order_builtin(tests/issue3403_sequential_dup_snapshot.rs:241,out.txt 为空)。其余 5 格 #[cfg(unix)] 在 Windows 为 0 tests。
  • fail-first:base 55fd6a0 上同 stem → 1 passed / 1 failed,红名相同(mirror_order_builtin)。即两个能在 Windows 跑的 builtin 格:一格 base/head 双绿(非判别钉)、一格 base/head 双红(钉自身写错),没有一格的期望被 Windows 侧证据判别。5 个 unix 格 VOID。
  • lib 双边:head 失败名集 {api::consumer_tests::issue2084_session_end_restores_host_process_state} / base 失败名集 {同左} / 差集 ∅。
  • -D warnings:cargo check --tests 只在无关 stem issue2737_compgen_user_tilde 报既有 dead_code(fn run never used),本 PR 文件 0 新增。
  • 卫生:fmt rc=0(2 文件逐个 rustfmt --check);marker-lint OK;utf8 脚本仓库内不存在(VOID)。
  • CI:红任务 = Rust tests / Rust tests (macOS) / GNU regression goldens and canaries;红名逐个 = api::consumer_tests::issue2875_input_procsub_child_runs_as_rubash_shell(基线 issue2875)+ api::consumer_tests::issue2859_jobs_face_two_background_jobs_count(consumer_tests.rs:3412,Unrecognized option: 'internal-bg-wrapper',master-red,后续 ci: unmask master-red — issue2875 out/ resolver + masked test/corpus fixes #3750/304a5161 已并入 master 处理;本 PR 未触 job 面)。
  • GNU 对照:见上(5.3.20)。

F 点(建议 FAIL):

  • F1: 新钉两处 builtin 格用未加引号的 Windows 临时路径插值(format!("... 1>{} 2>&1", out.display()),tests/issue3403_sequential_dup_snapshot.rs:229/241),Parser 把 C:\Users\... 的反斜杠当转义、: 变成 PUA 标记,实际写出的文件名是 C:Users...out.txt,测试 241 行因此红,并在仓库根留下垃圾文件(实测 C\357\200\272UserscmxAppDataLocalTemprubash-issue3403-*out.txt)。复现:cargo test --test issue3403_sequential_dup_snapshot。GNU 侧期望本身正确(见对照),是钉的路径写法错,不是产品错。
  • F2: sequential_dup_snapshot_builtin 在未修复的 base 上就绿(实测 base 1 passed 同名),对该缺陷面非判别;sequential_dup_mirror_order_builtin 又被 F1 打红。两个「平台无关」格目前既不能判别也不能全绿。
  • F3(提示,不单独判):真正判别缺陷的 5 个 #[cfg(unix)] 格在本 lane 无法执行(见 VOID),请 Linux oracle 侧至少在合并前跑一次 cargo test --test issue3403_sequential_dup_snapshot。

未跑/VOID 的腿:

@caomengxuan666

Copy link
Copy Markdown
Member Author

【WIN-AGENT-AUDIT】s8 批次汇总(清单 10 条,按编号顺序审完;逐条报告见各 PR)

阻塞/提醒(给队长):

  1. [bug] $(case $(cmd) in ...) nested single-command comsub in case subject truncates the outer substitution #3623 有两个实现:parser: keep nested $(...) opaque to the outer case-subject state machine #3627 的 case_in_stage 1|2 准入正确但 CONFLICTING;fix(parser): skip nested $() as a unit inside an open case body (Refs #3623) #3626 合入会带回退。建议只推进 parser: keep nested $(...) opaque to the outer case-subject state machine #3627(解冲突后),fix(parser): skip nested $() as a unit inside an open case body (Refs #3623) #3626 关闭或按其 F1 收窄。
  2. fix(glob): export strmatch for loadables and route GLOBIGNORE through it (Refs #3605) #3630 的 strmatch 端口需要按 MB_CUR_MAX 条件化(或保留旧 char 引擎 fallback),否则 UTF-8 默认环境回退;src/executor/glob.rs 目前并存两份 strmatch 移植(新字节版 + 旧 char 版),建议一并收敛。
  3. api(bind): add BindKindView::Keymap so the view reports keymap bindings faithfully #3616 与 niubash 半单(账本/显式臂)需成对落地,否则该 job 在主干持续红。
  4. locale: decode $'\u/\U under the surviving locale after a failed setlocale #3622 的 cfg(unix) 需收窄到 not(target_os="android")。
  5. 本 lane 未关闭任何非「已合 PR」的 issue:[bug] sequential redirect loop resolves 2>&1 against the live fd 1 target instead of the dup-time snapshot #3403/macOS: GNU upstream gate 48/86 — catalog of remaining divergences #3605/[bug] $(case $(cmd) in ...) nested single-command comsub in case subject truncates the outer substitution #3623/[bug] $'\u/\U decode consults the requested locale name, not the surviving locale after a failed setlocale #3619/[bug] bad-interpreter exec exits 127 instead of 126 at top level #3314/契约补齐:BindKindView::Keymap 公开面 + 两侧账本行(#2993 后续) #3013 全部保持 open(macOS: GNU upstream gate 48/86 — catalog of remaining divergences #3605 是伞目录,未动)。

…xternal stages (Refs #3403)

The two platform-independent cells interpolated the temp path unquoted, so
the parser read `\U...` as an escape and `:` as a marker: the redirect
target became a PUA-named file in the repo root and the mirror cell failed
for a test bug, not a product bug. Every interpolated path now goes through
`sq()` (single-quoted, `parse.y:5305 read_token_word` keeps the run
literal).

Discrimination (audit F2): a builtin stage's diagnostic never rides the
captured-stderr accumulator, so both `_builtin` cells are controls that are
green before and after the fix. The fix lives on the captured-stderr stage
paths, so the new `_external` cells re-enter the shell under test as an
external stage (`rubash -c 'cd /bad'`) and run on every platform:
snapshot (`2>&1 1>f`) and body `exec > f` are base-red/head-green, mirror
order and the no-retarget rubash#1552 shape are controls.

GNU oracle (5.3.20, script files): redir.c:237 do_redirections applies the
list left to right and redir.c:1192-1193 makes `2>&1` a dup2(1,2) of the
descriptor as it stands at dup time, so the stage diagnostic stays on the
original stdout in the snapshot and exec-retarget shapes, and lands in the
file in mirror order.
@caomengxuan666

Copy link
Copy Markdown
Member Author

【LANE-o4 返工】PR #3631 第2轮 — 建议:PASS

head: 16c1026b619aed2c7c03c2f16649cabb83e1587e(新 commit,追加在 3d4adf79 之上,未改写历史)
base(merge-base): 55fd6a02b4423893e67f18bfd2eee7c67b02719b
diff: 仅 tests/issue3403_sequential_dup_snapshot.rs(+200/−67);src/ 与上一轮 head 完全一致(产品修法未动)。

F 点逐条回应

  • F1(未加引号 Windows 路径)已修:全部插值路径经 sq() 单引号包裹(parse.y:5305 read_token_word 对单引号段取字面量,\ 与 : 不再进入转义/标记分支)。复跑后仓库根 git status --untracked-files=all 只剩被跟踪文件的 M,无 C:Users...out.txt 残留。上轮遗留的两个 PUA 垃圾文件已删除(只删这两个探针产物)。
  • F2(非判别)已修:根因不是钉写法,是格选错——builtin 阶段的诊断不走 captured-stderr 累加器,所以 _builtin 两格在 base 上本来就对(我复测 base(55fd6a02 + 同一钉)12 形全对)。因此把 builtin 两格保留为对照格(注释里明说不判别),新增 4 个 _external 格:把被测 shell 自身作为外部阶段重入(<rubash> -c 'cd /bad'),走 captured-stderr 阶段路径,在 Windows 也能跑。判别结果见下。
  • F3(unix 格 VOID)已消:5 个 #[cfg(unix)] 格已在 WSL Linux 原生构建下全部执行(11/11 绿),不再是 VOID。

腿(数字与红名)

  1. 钉,head Windows:cargo test --test issue3403_sequential_dup_snapshot → 6 passed / 0 failed(6 个平台无关格全绿)。
  2. 钉,base Windows(55fd6a02 树 + 同一钉)→ 4 passed / 2 failed,红名 = sequential_dup_snapshot_external、sequential_dup_exec_retarget_external(判别成立)。
  3. 钉,head WSL Linux 原生构建(CARGO_TARGET_DIR=target-linux cargo build --locked --bin rubash -j 2 + cargo test --test ...)→ 11 passed / 0 failed。
  4. 钉,base WSL Linux(同一 stem 放到 base 树)→ 7 passed / 4 failed,红名 = snapshot_external、exec_retarget_external、snapshot_ls、exec_retarget_ls(snapshot_nonfinal_ls/两 mirror/no_retarget 为对照格,base 亦绿)。
  5. 格式:cargo fmt --check 在本机环境失败(文件名或扩展名太长 (os error 206),非本 PR diff),按仓库规程用逐文件 rustfmt --edition 2021 --check 替代 → 2 个改动文件 rc=0;因此本次 commit 是本机 206 环境问题下 --no-verify(hook 无法执行),fmt 结论以 rustfmt 直跑为准。
  6. lib 双边:本 PR 未改 src/,成绩继承上一轮已审的 head 3d4adf79(head/base 失败名集均 {api::consumer_tests::issue2084_session_end_restores_host_process_state},差集 ∅),本轮未重跑(记明未跑)。
  7. CI 触发后按 gh pr checks 复核;上一轮 head 的红名 = 基线 issue2875/issue2859(master-red,后续批次)+ goldens 基线,与本 PR 无关。

GNU 对照(WSL GNU bash 5.3.20(1),脚本文件;未用 wsl bash -c)

target/probes/gnu.sh(LF 文件,bash /mnt/d/.../gnu.sh)逐形输出:

  • { echo hi | bash -c 'cd /bad'; } 2>&1 1>f → stdout CD-ERR+DONE,f 空
  • { echo hi | bash -c 'cd /bad'; } 1>f 2>&1 → stdout DONE,f=CD-ERR
  • { exec > f; echo hi | bash -c 'cd /bad'; } 2>&1 → stdout CD-ERR,f=DONE
  • { bash -c 'cd /bad' | cat; } 2>&1 1>f → stdout CD-ERR+DONE,f 空
  • { bash -c 'cd /bad' | cat; } 2>&1 → stdout CD-ERR+DONE
  • { echo hi | ls /bad; } 2>&1 1>f / { ls /bad | cat; } 2>&1 1>f / { exec > f; echo hi | ls /bad; } 2>&1 → 同上三形

head 二进制逐形 byte-match(含 2>&1 顺序:诊断在 DONE 之前,文件里只有 DONE)。
GNU 锚点:redir.c:237 do_redirections(表从左到右)+ redir.c:1192-1193(2>&1 = dup2(1,2),取 dup 时刻的 fd 1)。产品侧不改。

关联 issue

#3403 描述的形 = 最小形 { echo hi | ls /bad; } 2>&1 1>out.txt + mirror 控制形;两形 head 与 GNU 5.3.20 逐字节一致、base 红,因此该 issue 的缺陷面已覆盖(是否关单见合并后处理)。伞目录 issue 未动。

未跑 / 说明

@caomengxuan666
caomengxuan666 marked this pull request as ready for review November 17, 2026 06:43
@caomengxuan666

Copy link
Copy Markdown
Member Author

【WIN-AGENT-AUDIT】PR #3631 第2轮(lane o3 收网)— 判词:PASS(可合)

head: 16c1026b6(作者 rework:sq() 单引号包裹所有重定向路径 + 4 个 external-stage 平台无关判别格)
base: 55fd6a02b(fail-first 树)

F 点逐条回应

  • F1(未加引号的 Windows 临时路径)已修:所有插值改走 sq()(format!("'{}'", path.replace('\'', "'\\''"))),parse.y:5305 read_token_word 保证单引号 run 原样进入重定向词。head 上 6 个平台无关格全绿,仓库根无 C:Users… 残留(本轮在 o3-c 树与主仓根各查一次,find -maxdepth 1 -name '*Users*' 空)。
  • F2(原 builtin 两格非判别)已解决:新增 cd_stage() —— 用被测 rubash 自身作为失败管道 stage('<rubash>' -c 'cd /bad'),走与 unix ls 格相同的 captured-stderr 折叠路径。判别性实测:head 6 passed / base 4 passed / 2 failed(sequential_dup_snapshot_external、sequential_dup_exec_retarget_external),红名即为缺陷面;mirror_order_external、no_retarget_external 作为对照格双绿。
  • F3(unix 格无法在 Windows 跑)已补:WSL Linux 原生构建(CARGO_TARGET_DIR=/root/o3c-target)跑同 stem → 11 passed / 0 failed,含 5 个 cfg(unix) ls 格(snapshot / mirror / nonfinal / no-retarget / exec-retarget)。

GNU 对照(WSL GNU bash 5.3.20,脚本文件)

  • 7 形矩阵({ echo hi | EXT; } 2>&1 1>out、镜像序、无 retarget、体内 exec >'file'、非终结 stage EXT | cat、builtin cd 双胞胎、ls 形)——GNU = head 逐字节一致(诊断文本只差脚本路径前缀的既有差异)。
  • 非终结外部 stage { sh -c 'echo err >&2' | cat; } 2>&1 1>out:GNU 与 head(WSL Linux 二进制)一致(err 上 stdout、out 空)。
  • 诚实注记:Windows 侧把 rubash 子进程当非终结 stage 时 stderr 会进管道(out 收到 err),这是 Windows 子进程 stderr 接线的既有平台差异,与 [bug] sequential redirect loop resolves 2>&1 against the live fd 1 target instead of the dup-time snapshot #3403 的折叠门无关(该形在 WSL Linux 二进制上与 GNU 一致;unix ls 非终结格也绿)。

其他腿

  • lib 双边:head 失败集 {api::consumer_tests::issue2084_session_end_restores_host_process_state}(1350 passed / 1 failed);base 55fd6a02b 同集(1350 / 1);差集 ∅。
  • RUSTFLAGS="-D warnings" cargo check --locked -j 2:0 warnings。
  • fmt:tests/issue3403_sequential_dup_snapshot.rs rc 0。
  • GNU 源码锚点:redir.c:237 do_redirections(表从左到右)、redir.c:1192-1193(2>&1 = dup2(1,2),dup 时刻快照)。
  • CI:唯一红任务 niubash builds against this tree(check-api-ledger: MISSING consumed rubash::api::BindKindView::Keymap)——同窗口 master run 44031385920(8a85f334)同 job 同样红,属基线(keymap 账本),非本 PR。
  • 关联 issue:[bug] sequential redirect loop resolves 2>&1 against the live fd 1 target instead of the dup-time snapshot #3403 已按 GNU 复核全部形状(见上),合入后关闭;macOS: GNU upstream gate 48/86 — catalog of remaining divergences #3605 等伞目录不动。

结论

产品修法 byte-match GNU,钉 head 绿 / base 红且红名一致,lib 差集 ∅,warnings 0,Linux 原生 11/11。合入。

@caomengxuan666
caomengxuan666 merged commit e2e5e5f into master Nov 17, 2026
9 of 12 checks passed
@caomengxuan666

Copy link
Copy Markdown
Member Author

判词 P — 收网合并(head 40950139e = o4 PASS 的 16c1026b6 + merge master f02d7299d)

采纳 lane-o4 第 2 轮 PASS,本轮补跑合并树验证(未重审产品语义)。

腿

  1. Windows 钉:cargo test --test issue3403_sequential_dup_snapshot → 6 passed / 0 failed。
  2. WSL Linux 原生构建(cargo build --bin rubash)+ 同一钉 → 11 passed / 0 failed(6 平台无关格 + 5 cfg(unix) 格,F3 的 VOID 已消)。
  3. GNU 5.3.20 对照(脚本文件,/usr/local/bin/bash;探针 target/devin-dispatch/o3-3403-shapes.sh,12 形):
    • 2>&1 1>f 快照形(含 exec > f 体内、loop/if/case/function 体、heredoc 前缀、2>g 2>&1 1>f dup 链)→ 报错走 stdout、f 空;
    • 镜像 1>f 2>&1 → 报错进 f;
    • 无 retarget 2>&1 → 报错走 stdout;
    • 12 形中 11 形 stdout/文件逐字节同 GNU;唯一差异 s5({ cat /nope | cat; } 2>&1 1>f 包在 $(...) 里)只是诊断前缀:GNU cat: ...,rubash <script>: line N: cat: ...。base 与 head 完全相同(o3-3403-prefix3.sh 三方差分:base=head=带前缀,GNU 不带),属既有 comsub 诊断前缀面,与本 PR 的重定向路由无关。
  4. 仓库根 git status --untracked-files=all 空(F1 的 PUA 垃圾已清)。
  5. 合并无冲突;diff vs master = src/executor/pipeline_exec.rs(ambient_stderr_merges_into_pipeline_output,redir.c:1192-1193 快照门)+ 钉文件。

#3403 将按全部 sequential 2>&1 形单独复核后决定(残余前缀问题不记入本 issue)。

caomengxuan666 added a commit that referenced this pull request Nov 17, 2026
…Refs #3839)

chore(ci): allowlist the five reviewed strmatch.rs byte->char sites

Refs #3839

Scripts-only change: five tight allowlist entries in
scripts/check-utf8-boundary-hygiene.sh, one per `as char` site in
src/executor/strmatch.rs (:135, :136, :158, :284, :285), each reviewed
safe against the GNU source (bash lib/glob/smatch.c:301-304 FOLD over
unsigned char; smatch.c:585-603 xstrmatch routing). No product code
touched, no gate logic weakened — the gate still fails any new
unreviewed `as char` site.

Per-site: :135/:136 lift pattern/string bytes through the Latin-1
bijection GNU's single-byte compile uses (equality/ordering preserved);
:158 folds only after is_ascii_uppercase (result 0x61..=0x7A by
construction); :284/:285 are POSIX_COLLSYMS table bytes (all ASCII,
equality-only / <= 0x7F).

CI at head 88d0182: Rust tests PASS (hygiene step 4 cleared); goldens
3 cells (2 baseline + golden_issue1230, the known #3631-window cell);
census 79 cells, all known flake families (script-only PR, product-face
flips are flakes by construction); all other jobs pass, canary green.

Closes nothing by itself — #3839 is hand-closed after this merge.
caomengxuan666 added a commit that referenced this pull request Nov 17, 2026
…g (Refs #3845) (#3847)

find_user_command's hash-mirror consult handed phash_search's stored
string to callers verbatim as a PathBuf. The hash table keeps the
shell-domain display spelling (/d/..., ./elem/name) for `hash -t`
fidelity; on unix that string already is the filesystem path
execute_cmd.c:6133 shell_execve execve()s, but on Windows it is not
spawnable — Command::new ENOENTs and the diagnostic escapes to the
shell's stderr, e.g. `cat cap4 | wc -c` inside a command substitution
after any earlier `cat` run recorded the entry (golden issue1230).

Introduce: #3554 (46bb796) replaced `return Some(path.clone())` —
the mirror's fs path — with the verbatim served spelling for the
CHKDOT/RELPATH re-validation arm. #3631 is innocent: the parent tree
(9148457) reproduces the leak identically.

Return shell_path_to_windows(served) instead — the same funnel
record_command_resolution used to build the mirror. It is the
identity on unix, maps /d/... to D:\..., and keeps ./elem/name
relative so the post-cd ENOENT re-resolution of rubash#2696 is
preserved. The checkhash probe now stats the real file too.

Pin: executor::path::tests::
hash_consult_returns_spawnable_fs_path_for_display_spelling (red
before, green after).

Generated with [Devin](https://devin.ai)

Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant