Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes and exits without error message when unknown process is in depends_on section. #261

Closed
j-chmielewski opened this issue Oct 8, 2024 · 0 comments · Fixed by #262
Closed
Labels
bug Something isn't working

Comments

@j-chmielewski
Copy link
Contributor

j-chmielewski commented Oct 8, 2024

Defect

Process-compose exits with non-zero exit status when unknown process is in depends_on section. To reproduce:

version: "0.5"

processes:
  a:
    command: echo "ready" && sleep 1000
    ready_log_line: "ready"
    depends_on:
      c:
        condition: process_log_ready

  b:
    command: echo "ready" && sleep 1000
    ready_log_line: "ready"

Version of process-compose:

1.34.0

OS environment:

Linux blade 6.6.53 #1-NixOS SMP PREEMPT_DYNAMIC Mon Sep 30 14:25:15 UTC 2024 x86_64 GNU/Linux

@F1bonacc1 F1bonacc1 added the bug Something isn't working label Oct 8, 2024
j-chmielewski added a commit to j-chmielewski/process-compose that referenced this issue Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants