Skip to content

devbox services ls doesn't list services started with --process-compose-file #2611

Open
@szymon-filipiak

Description

@szymon-filipiak

What happened?

The devbox services ls command fails to display services that were started in detached mode using the --process-compose-file flag with a custom file name. Other devbox services commands, like devbox services stop also do not interact with these services correctly.

Steps to reproduce

  1. Initialize a new devbox environment:
devbox init
  1. Create a custom process compose file named my-process-compose.yaml with the following content:
version: "0.5"
processes:
  process1:
    command: "sleep 1000"
  1. Start the service in detached mode using the custom process compose file:
devbox services up -d --process-compose-file my-process-compose.yaml
  1. Attempt to list the running services:
devbox services ls

Expected Behavior:

The output of devbox services ls should include process1 in the list of running services.

Actual Behavior:

The output of devbox services ls does not show any running services started from the custom process compose file.

Command

services

Devbox version

0.14.2

Nix version

No response

What system does this bug occur on?

macOS (Intel)

Debug logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageIssue needs triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions