Skip to content

Conversation

@LPegasus
Copy link
Contributor

Summary

Add subspaceName information to the output of the rush list command when the subspace feature is enabled. So that subspaceName can be used as a filter criterion in jq.

Details

  • add subspaceName in IJsonEntry
  • add subspaceName in _printJson and _printListTableAsync

How it was tested

  • build rush-lib

  • run node libraries/rush-lib/lib/start.js --json

    Below is some excerpted output

      {
        "name": "rush-project-change-analyzer-test",
        "version": "1.0.0",
        "path": "build-tests/rush-project-change-analyzer-test",
        "fullPath": "/Users/majunchen/lp/rushstack/build-tests/rush-project-change-analyzer-test",
        "shouldPublish": false,
        "reviewCategory": "tests",
        "tags": [],
        "subspaceName": "default"
      },
      {
        "name": "rush-redis-cobuild-plugin-integration-test",
        "version": "1.0.0",
        "path": "build-tests/rush-redis-cobuild-plugin-integration-test",
        "fullPath": "/Users/majunchen/lp/rushstack/build-tests/rush-redis-cobuild-plugin-integration-test",
        "shouldPublish": false,
        "reviewCategory": "tests",
        "tags": [],
        "subspaceName": "default"
      },
  • run node libraries/rush-lib/lib/start.js --detailed

    Below is a screenshot of detailed output

    image

Impacted documentation

None

@github-project-automation github-project-automation bot moved this to Needs triage in Bug Triage Nov 24, 2025
@iclanton iclanton moved this from Needs triage to In Progress in Bug Triage Nov 24, 2025
@iclanton iclanton merged commit d520136 into microsoft:main Nov 24, 2025
5 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Closed in Bug Triage Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

2 participants