Skip to content

Add --detached to run Dev Proxy in the background #1511

Description

@waldekmastykarz

Add the --detached option to run Dev Proxy in the background. This could help with agentic workflows to prevent agents from getting stuck on running Dev Proxy which is a long-running process. We'd need to consider how to expose logs. Checking status and closing Dev Proxy is already handled by the API.

Activity

  1. garrytrinder commented on Jan 23, 2026

    @garrytrinder
    Collaborator

    I like the idea 👍

    If we were to follow existing approaches for handling detached processes, as an example, like like Docker CLI, we might want to consider adding supporting commands to make it easier to get information about the running background process. We have the API, but I think having lightweight wrapper commands that call the API would be useful.

    Suggestions:

    devproxy --detached          # Start in background, print API URL + PID
    devproxy status              # Is it running? What port?
    devproxy stop                # Stop it
    devproxy logs                # Show logs (requires log file approach)
    

    We should also consider updating our GitHub Actions to use this approach when implemented.

  2. waldekmastykarz commented on Jan 23, 2026

    @waldekmastykarz
    CollaboratorAuthor

    Great idea to align with what's already out there! status and stop could basically be wrappers around the API. logs is the one that needs thinking

  3. added
    needs specIssue needs specification
    and removed
    needs peer reviewIssue needs review from other team members
    on Jan 23, 2026
  4. waldekmastykarz commented on Jan 27, 2026

    @waldekmastykarz
    CollaboratorAuthor

    Code is ready but waiting on #1508 to be merged so that we can align logging between interactive and detached mode

  5. added 2 commits that reference this issue on Feb 25, 2026
    6546cab
    162a69c
  6. added a commit that references this issue on Feb 25, 2026
    45dbbf8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions