microsoft / microsoft/lage

Underbuild bug: Lage does not rebuild when worker files have changed.

Open
#808 3 comments 1 reaction 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

Describe the bug
Underbuild bug: Lage does not rebuild when worker files have changed.

To Reproduce
Steps to reproduce the behavior:

  1. Clone lage to clean enlistment
  2. yarn install
  3. yarn build
  4. notice everything builds
  5. Edit scripts\worker\transpile.js by adding a comment
  6. yarn build

Result:
All transpile jobs are skipped due to cache hits.

Expected behavior
All transpile jobs to rerun because transpile.js (and its transitive closure) is an input and it should have invalidated teh cache and triggered a rebuild.

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

Run the reported reproduction with yarn build, editing scripts\worker\transpile.js between builds. Trace how the build cache treats that file and its transitive closure as inputs; done means the transpile jobs rerun instead of being reported as cache hits.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.