platformsh-docs icon indicating copy to clipboard operation
platformsh-docs copied to clipboard

`workers` config

Open flovntp opened this issue 8 months ago • 2 comments

Where on docs.platform.sh should be changed?

https://docs.upsun.com/create-apps/app-reference/single-runtime-image.html#workers

What exactly should be updated?

in the Json schema validator, for the workers.commands, we define pre_start, start and post_start configs but it's not mention in the doc page. I thought it was the same as for the crons.commands but there is only start/stop config. what is the reference?

Additional context

No response

flovntp avatar Apr 14 '25 08:04 flovntp

is it the same as hooks.build (=pre_start), hooks.deploy (=start) and hooks.post_deploy (=post_start) ?

flovntp avatar Apr 14 '25 08:04 flovntp

according to our docs for workers: https://docs.upsun.com/create-apps/workers.html#commands only the start command is available. Have we confirmed these other commands have definitely been added for workers?

gilzow avatar Nov 03 '25 22:11 gilzow