Check canonical source paths correctly on macOS

This commit is contained in:
2026-09-06 19:13:16 -05:00
parent 3e70ad1285
commit 537d26e359
2 changed files with 6 additions and 1 deletions

View File

@@ -215,6 +215,11 @@ continue to load, project, clone and classify correctly.
## 8. P2 — Fix the baseline test's canonical-path assumption on macOS
Status: complete. The source test compares canonical path identity and separately
checks the declared label. Full default and race suites pass on macOS/arm64 using
both the default TMPDIR and an intentionally symlinked TMPDIR. Vet, build and
whitespace checks also pass; no production canonicalization behavior changed.
Evidence: [source_test.go](../../source_test.go),
`TestFileSourcesReopenAndClassifyFailures`, compares `SourceInfo.Path` directly
with the path under `t.TempDir()`. Successful sources intentionally report a