You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: resolve bash path for exec probes during devenv test
Two issues prevented processes with exec readiness probes from working
when pulled into the enterTest task graph (e.g. via
`after = [ "devenv:processes:postgres" ]`):
1. run_tasks_with_roots() passed an empty string as the bash path,
causing ExecProbe to fail with "No such file or directory" when
trying to run Command::new("").
2. After enterTest tasks completed, TasksUi::run() waited for
processes to exit (run_foreground), blocking devenv test
indefinitely.
Fix (1) by calling get_bash_path() in run_tasks_with_roots().
Fix (2) by adding a stop_processes flag to run_tasks_with_ui/TasksUi
so that processes started during task execution are stopped once all
tasks complete.
Closes#2713
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@
15
15
- Fixed Ghostty shell integration not working in `devenv shell` by sourcing `ghostty.bash` from the rcfile when `GHOSTTY_RESOURCES_DIR` is set.
16
16
- Fixed TUI panic when expanding error details containing multi-byte UTF-8 characters (e.g. miette underlines) by using character-based truncation instead of byte-based slicing.
17
17
- Fixed `devenv processes stop` removing the process from the manager state, making it impossible to start or restart afterwards.
18
+
- Fixed process exec probes failing with "No such file or directory" during `devenv test` when a task depends on a process (e.g. `after = [ "devenv:processes:postgres" ]`), because the bash path was not resolved for the enterTest task runner ([#2713](https://github.com/cachix/devenv/issues/2713)).
0 commit comments