Skip to content

Conversation

Lagoja
Copy link
Contributor

@Lagoja Lagoja commented Sep 13, 2024

Summary

This PR attempts to fix an issue where process-compose can terminate without cleaning up it's running processes. This occurs if you are running devbox services up in a terminal, and then close the running terminal without first exiting process-compose.

With this PR, Devbox will now explicitly propagate SIGTERM, SIGINT, SIGHUB, and SIGTSTP signals to process compose so it that it can run it's shutdown process and cleanup any running processes.

How was it tested?

  1. Start devbox services up in a project that runs services
  2. Verify process-compose is running
  3. Close the terminal without exiting process-compose
  4. Verify that process-compose and all running services have terminated

@Lagoja
Copy link
Contributor Author

Lagoja commented Sep 17, 2024

Closing for now until we can verify this is the issue

@Lagoja Lagoja closed this Sep 17, 2024
@gcurtis
Copy link
Collaborator

gcurtis commented Sep 17, 2024

Possibly related to F1bonacc1/process-compose#246.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants