microsoft / microsoft/lage

--only does not scope commands to one step

Open
#220 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
816
Forks
88
PR merge metrics
No merged PRs in 30d

Description

Minimal repro in this repo: https://github.com/ling1726/lage-only-repro

Simply run npx yarn lage run test --only you will see that the build steps are run every single time

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running npx yarn lage run test --only in the linked lage-only-repro repository and confirm that build steps run repeatedly. Trace how the --only option is handled by the lage run command, then verify that only the requested step runs and add or update coverage for this repro behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.