Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Dependent process stays "Pending" when using "process_log_ready" even if parent process fails #400

@ide

Description

@ide

Defect

  • Included the relevant configuration snippet
  • Included the relevant process-compose log (log location: process-compose info)
  • Included a [Minimal, Complete, and Verifiable example] (https://stackoverflow.com/help/mcve)

Version of process-compose:

1.73.0

OS environment:

Darwin Kernel Version 24.6.0: Mon Jul 14 11:30:30 PDT 2025; root:xnu-11417.140.69~1/RELEASE_ARM64_T6020 arm64

Steps or code to reproduce the issue:

Run process-compose with this config:

version: "0.5"
is_strict: true

processes:
  failing_process:
    command: echo "This will fail" && exit 1
    ready_log_line: This will never appear
  
  dependent_process:
    command: echo "This should be skipped but gets stuck in pending"
    depends_on:
      failing_process:
        condition: process_log_ready
    availability:
      exit_on_skipped: true

Expected result:

  • failing_process should fail immediately (exit code 1)
  • dependent_process should be marked as skipped because its dependency failed and process-compose is not going to attempt to restart it
  • process-compose should exit due to exit_on_skipped: true

Actual result:

  • failing_process fails immediately as expected
  • dependent_process gets stuck in "Pending" state indefinitely
  • process-compose never exits
  • When run in non-TUI mode, process-compose hangs and kill -9 is the only way to stop it

The log says just: 25-09-03 15:42:56.059 INF Process Compose v1.73.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdoneDone, awaiting release

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions