Commit 66611b6
committed
chore: anchor flock under config dir
On CI/Windows, repository contention started flaking after tests began
isolating TMP per process. Our flock files lived in os.TempDir(), so each
process used a different lock root and we effectively had no cross-process
locking. Concurrent git remote add/set-url against the same .git/config
then raced and intermittently failed.
Signed-off-by: Guillaume de Rouville <guillaume@dagger.io>1 parent 0c0cc77 commit 66611b6
1 file changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
60 | 64 | | |
61 | | - | |
| 65 | + | |
62 | 66 | | |
63 | 67 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 68 | + | |
| 69 | + | |
71 | 70 | | |
72 | 71 | | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
0 commit comments