For anthropics/claude-code#97293, "mods: the declarations carry process.run's truncation flags and list entries' mtimeMs; the test fakes answer them".
Main has moved under the PR in three places since it was opened.
| Spot | Needs | Why |
|---|---|---|
mods/diff/tests/fixtures/git-in.ts:38 |
isStdoutTruncated, isStderrTruncated |
Main rewrote the function, so the PR's hunk no longer applies |
mods/diff/tests/fixtures/old-files.ts:15 |
mtimeMs |
Same |
mods/diff/tests/register.test.ts:16 |
mtimeMs |
The listing is newer than the PR |
After rebasing onto main and keeping main's text in the two conflicting fixtures:
git apply three-spots.patch
Main 52c7644, PR head 61eb858, TypeScript 5.9.3, Claude Code 2.1.287, Linux.
| Tree | tsc -p mods/tsconfig.json |
claude plugin test mods/diff |
claude plugin test mods/telemetry |
|---|---|---|---|
| main + the PR | 3 errors | not run | not run |
| main + the PR + this patch | 0 errors | 210 pass, 0 fail | 34 pass, 0 fail |
"main + the PR" is the PR's diff applied onto main, with main's text kept where its two fixture hunks no longer apply. It was not produced by rebasing the branch.