Commit 8cf8d4e
fix(observe): thread projectRoot into per-action Run so the flow reaches the device (#351)
The observe Regression "Run" button failed instantly with NO_PROJECT_ROOT and
never touched the simulator. The runAction wiring resolved the correct root for
loadAction() but called runActionHandler() (cdp_run_action) without projectRoot,
so it re-derived process.cwd() (the plugin repo) and couldn't find the action
YAML. Thread the already-resolved root through.
Verified e2e on the booted iPhone 17: the action now finds its YAML and runs
maestro-runner on the device (reaches WDA/execution) instead of erroring before
dispatch. Follow-up to #348 (same root-resolution family: list + suite).
2337/2337 tests pass; lint + format clean.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent f592999 commit 8cf8d4e
3 files changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1551 | 1551 | | |
1552 | 1552 | | |
1553 | 1553 | | |
| 1554 | + | |
1554 | 1555 | | |
1555 | 1556 | | |
1556 | 1557 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2263 | 2263 | | |
2264 | 2264 | | |
2265 | 2265 | | |
| 2266 | + | |
2266 | 2267 | | |
2267 | 2268 | | |
2268 | 2269 | | |
| |||
0 commit comments