## R3/R4 memo + dedupe at HEAD b2948332e22490d654b31a70a95767ee6baa7e5e 2026-10-22T15:44:01Z prw-rw-r-- 1 ubuntu ubuntu 0 Oct 22 15:44 fifo-repo/.git/config prw-rw-r-- 1 ubuntu ubuntu 0 Oct 22 15:44 shared.git/config gitdir: /tmp/ev-23690/audit2/fx-r3/ws/shared.git/worktrees/wt-a gitdir: /tmp/ev-23690/audit2/fx-r3/ws/shared.git/worktrees/wt-b $ EV_MARK=1 strace -f -qq -s 300 -e trace=execve -o /tmp/ev-23690/audit2/r3-strace.log node scan.ts /home/ubuntu/wt/pr-23690 ... 3 scan 1: 2134 ms scan 2: 86 ms scan 3: 80 ms exit=0 per-scan results: {"scan":1,"ms":2134,"candidates":[{"path":"normal","git":{"remoteKey":"github.com/acme/normal","repository":"acme/normal"}},{"path":"fifo-repo","git":{"remoteKey":null,"repository":null}}]} {"scan":2,"ms":86,"candidates":[{"path":"normal","git":{"remoteKey":"github.com/acme/normal","repository":"acme/normal"}},{"path":"fifo-repo","git":{"remoteKey":null,"repository":null}}]} {"scan":3,"ms":80,"candidates":[{"path":"normal","git":{"remoteKey":"github.com/acme/normal","repository":"acme/normal"}},{"path":"fifo-repo","git":{"remoteKey":null,"repository":null}}]} cat execs per scan (from strace execve, split on marker execs): scan 1: cat execs=7 fifo-repo/.git/config=1 shared.git/config=1 scan 2: cat execs=5 fifo-repo/.git/config=0 shared.git/config=0 scan 3: cat execs=5 fifo-repo/.git/config=0 shared.git/config=0 raw cat execve lines: execve("/bin/true", ["/bin/true", "ev-scan-marker-1"], 0x8216ee0 /* 47 vars */) = 0 execve("/usr/bin/cat", ["cat", "--", "/tmp/ev-23690/audit2/fx-r3/ws/wt-b/.git"], 0x7c40170 /* 47 vars */) = 0 execve("/usr/bin/cat", ["cat", "--", "/tmp/ev-23690/audit2/fx-r3/ws/wt-a/.git"], 0x7c40170 /* 47 vars */) = 0 execve("/usr/bin/cat", ["cat", "--", "/tmp/ev-23690/audit2/fx-r3/ws/shared.git/worktrees/wt-b/commondir"], 0x7c40170 /* 47 vars */) = 0 execve("/usr/bin/cat", ["cat", "--", "/tmp/ev-23690/audit2/fx-r3/ws/shared.git/worktrees/wt-a/commondir"], 0x7c40170 /* 47 vars */ execve("/usr/bin/cat", ["cat", "--", "/tmp/ev-23690/audit2/fx-r3/ws/normal/.git/config"], 0x7c40170 /* 47 vars */) = 0 execve("/usr/bin/cat", ["cat", "--", "/tmp/ev-23690/audit2/fx-r3/ws/fifo-repo/.git/config"], 0x7c40170 /* 47 vars */) = 0 execve("/usr/bin/cat", ["cat", "--", "/tmp/ev-23690/audit2/fx-r3/ws/shared.git/config"], 0x7c40170 /* 47 vars */) = 0 execve("/bin/true", ["/bin/true", "ev-scan-marker-2"], 0x8159480 /* 47 vars */) = 0 execve("/usr/bin/cat", ["cat", "--", "/tmp/ev-23690/audit2/fx-r3/ws/wt-b/.git"], 0x7c40170 /* 47 vars */) = 0 execve("/usr/bin/cat", ["cat", "--", "/tmp/ev-23690/audit2/fx-r3/ws/wt-a/.git"], 0x7c40170 /* 47 vars */) = 0 execve("/usr/bin/cat", ["cat", "--", "/tmp/ev-23690/audit2/fx-r3/ws/shared.git/worktrees/wt-b/commondir"], 0x7c40170 /* 47 vars */) = 0 execve("/usr/bin/cat", ["cat", "--", "/tmp/ev-23690/audit2/fx-r3/ws/shared.git/worktrees/wt-a/commondir"], 0x7c40170 /* 47 vars */ execve("/usr/bin/cat", ["cat", "--", "/tmp/ev-23690/audit2/fx-r3/ws/normal/.git/config"], 0x7c40170 /* 47 vars */) = 0 execve("/bin/true", ["/bin/true", "ev-scan-marker-3"], 0x8159480 /* 47 vars */) = 0 execve("/usr/bin/cat", ["cat", "--", "/tmp/ev-23690/audit2/fx-r3/ws/wt-b/.git"], 0x7c40170 /* 47 vars */) = 0 execve("/usr/bin/cat", ["cat", "--", "/tmp/ev-23690/audit2/fx-r3/ws/wt-a/.git"], 0x7c40170 /* 47 vars */) = 0 execve("/usr/bin/cat", ["cat", "--", "/tmp/ev-23690/audit2/fx-r3/ws/shared.git/worktrees/wt-b/commondir"], 0x7c40170 /* 47 vars */) = 0 execve("/usr/bin/cat", ["cat", "--", "/tmp/ev-23690/audit2/fx-r3/ws/shared.git/worktrees/wt-a/commondir"], 0x7c40170 /* 47 vars */) = 0 execve("/usr/bin/cat", ["cat", "--", "/tmp/ev-23690/audit2/fx-r3/ws/normal/.git/config"], 0x7c40170 /* 47 vars */) = 0 cleanup FIFOs by explicit path: removed '/tmp/ev-23690/audit2/fx-r3/ws/fifo-repo/.git/config' removed '/tmp/ev-23690/audit2/fx-r3/ws/shared.git/config'