Commit d0d5120
fix(e2e): preserve host command execution boundary (#10439)
## Summary
Keeps the host PATH when ShellProbe merges an explicit command
environment, without inheriting ambient workflow secrets. Also keeps the
fixture shell-quoting helper self-contained so the independent tsx
cleanup controller does not cross the CommonJS source compiler boundary.
## Related Issue
Refs #9880
## Verification
- Focused E2E support tests: 93 passed
- Independent cleanup controller loads and exits successfully without an
ownership receipt
- CLI build and TypeScript passed
- Commit and push hooks passed
Signed-off-by: Julie Yaunches <jyaunches@nvidia.com>
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Improved shell-based workload execution by preserving the host `PATH`
while still applying command-specific environment overrides.
- Enhanced handling of shell-quoted values, including inputs containing
apostrophes.
- **Tests**
- Added end-to-end coverage confirming commands can be resolved through
the preserved `PATH` and receive custom environment variables correctly.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Signed-off-by: Julie Yaunches <jyaunches@nvidia.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>1 parent a2a719b commit d0d5120
2 files changed
Lines changed: 27 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
334 | 358 | | |
335 | 359 | | |
336 | 360 | | |
| |||
0 commit comments