Commit ad9aa31
committed
Fix mount properties not being passed to PHP worker spawner in v2 worker
The blueprints v2 worker was not correctly passing mount configurations to
the PHP CLI worker spawner. RunCLIArgs uses hyphenated property names like
'mount-before-install' and 'mount', while WorkerBootRequestHandlerOptions
expects camelCase 'mountsBeforeWpInstall' and 'mountsAfterWpInstall'.
Without this mapping, spawned PHP CLI workers would not have access to
/tmp and other mounted directories, causing 'Could not open input file'
errors when running blueprints that spawn PHP subprocesses.1 parent 57c0121 commit ad9aa31
File tree
1 file changed
+4
-0
lines changed- packages/playground/cli/src/blueprints-v2
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
255 | 259 | | |
256 | 260 | | |
257 | 261 | | |
| |||
0 commit comments