Commit c14f93e
fix: VCS checkout_vcs fails on CI (git show path resolution)
git show HEAD~0:./relative_path fails when CWD is not the git root.
Use git rev-parse --show-toplevel to get the actual repo root, then
compute the relative path from there. Removes the ./ prefix that
caused git to resolve paths relative to CWD instead of repo root.
Also ensure tmp/ directory exists before creating Tempfile in test.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 86e0468 commit c14f93e
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | | - | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
0 commit comments