Commit 0afcbf3
Repoint the .NET E2E process cwd before deleting work directories
The in-process transport points the host process cwd at the context work
directory because the native worker inherits it. The assembly-level
isolation attribute only restores the cwd around tests that actually
execute, so the cwd could still reference a work directory that context
disposal then deleted. Every later Process.Start failed resolving its
executable because getcwd() returned ENOENT, cascading hundreds of
.NET E2E failures in the in-process matrix cells.
Repoint the cwd at its load-time value both before deleting the work
directory and before creating a new context.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 812b44f2-ef93-4b32-b051-c7092f6122791 parent ef24129 commit 0afcbf3
2 files changed
Lines changed: 23 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
43 | 49 | | |
44 | 50 | | |
45 | 51 | | |
| |||
478 | 484 | | |
479 | 485 | | |
480 | 486 | | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
481 | 495 | | |
482 | 496 | | |
483 | 497 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
70 | 78 | | |
71 | 79 | | |
72 | 80 | | |
73 | 81 | | |
74 | 82 | | |
75 | 83 | | |
76 | 84 | | |
77 | | - | |
| 85 | + | |
78 | 86 | | |
79 | 87 | | |
80 | 88 | | |
| |||
0 commit comments