Skip to content

[rush] Hide no-op _phase action in the timeline tableย #5460

@chengbapi

Description

@chengbapi

Summary

This is a screenshot of rush build --timeline from one of our real projects.

In our repo, weโ€™ve defined some custom phases, and only a few projects have _phase:prebuild and _phase:build-native. However, in the timeline output, Rush shows all phases for all projects, even when a phase is a no-op for that project. This makes the timeline hard to read.

It would be better if no-op phases were hidden (or could be optionally hidden), so that the timeline only shows phases that actually did work.

Image

Expected result:

remove no-op actions in the timeline

Actual result:

Details

Standard questions

Please answer these questions to help us investigate your issue more quickly:

Question Answer
@microsoft/rush globally installed version? 5.155.1
rushVersion from rush.json? 5.155.1
useWorkspaces from rush.json? null
Operating system? Mac
Would you consider contributing a PR? Yes
Node.js version (node -v)? 22.17.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Needs triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions