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
{{ message }}
Repository navigation
cf run-task fails with 'command presence FAILED' #1323
cf run-task fails with command presence FAILED when using the Go buildpack (v5.x). Works with Ruby buildpack v4.77.0.
Root cause
writeReleaseYaml() in src/java/finalize/finalize.go only emits the web process type:
default_process_types:
web: '<command>'
CF requires a task entry in default_process_types when running tasks without an explicit --command. The Ruby buildpack emits both web and task with the same command.
changed the title [-]cf run-task fails with 'command presence FAILED' — missing task process type in release YAML[/-][+]cf run-task fails with 'command presence FAILED'[/+]on Jun 20, 2026
Activity
[-]cf run-task fails with 'command presence FAILED' — missing task process type in release YAML[/-][+]cf run-task fails with 'command presence FAILED'[/+]fix: emit task process type in release YAML for cf run-task support