Skip to content

[feature] Provide an option for moon run to hide output from cached tasks #1930

Description

@chadrik

Is your feature request related to a problem? Please describe.

As a developer, I would like to prevent moon run from printing output from cached tasks because A) it can be misleading by giving the impression that the task is running, and B) some tasks have a lot of output and it makes it harder to see the output of uncached tasks, which are more important.

Describe the solution you'd like

A new flag for moon run to control this behavior, so that stdout/stderr of cache tasks is not displayed.

Describe alternatives you've considered

Instead of a flag for moon run, this might also make sense as a per-task configuration value, but from my POV a top level flag makes the most sense.

Additional context

I experimented with --quiet and noticed that it overrides --summary. I think it would be useful to combine these: i.e. use --quiet to remove some of the extraneous ▪▪▪▪ markers, but still preserve the final summary. I can make a separate ticket for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions