Skip to content

Show labels for running processes #340

@kylewlacy

Description

@kylewlacy

When baking a process, we show the process's stdout / stderr outputs, and the PID of the spawned process, and that's about it.

Screenshot of Brioche showing lots of jobs in flight. One of them just says 'Process 354457' without any extra details

It would be useful to show extra data here too. We should show the file path and line number of the code that created the process recipe automatically. Generally, we have a full stack frame for the recipe already, so it's just a matter of showing it in the TUI.

There's some nuance in how to show the path though. I think, for simplicity, it'd be better to show the path as <project_name>/<file_path>, rather than the full filesystem path. (There's also some nuance if the project has no explicit name set! A good option might be to default to the directory name that contains the project)

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliRelated to the Brioche command line interface

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions