Andrushika opened a new pull request, #73538:
URL: https://github.com/apache/airflow/pull/73538

   ## Why
   
   pnpm normally keeps one package store per machine and hard-links every 
project's `node_modules` from it, so a second worktree costs no download and no 
disk. 
   
   Eight prek hooks (`ts-compile-lint-ui` and its copies) run `pnpm config set 
store-dir .pnpm-store` before `pnpm install`, which moves the store to a path 
inside the current project. Without `--location project` that setting is 
written to the user's global pnpm config, so from then on every worktree on the 
machine builds its own store, about 760MB each on my machine, and re-downloads 
the same packages each time.
   
   
   ## What
   
   Remove the line. Inside the Breeze container pnpm falls back to a 
`.pnpm-store` under the mount on its own, already gitignored. People who 
already ran the hook need to delete the line from their global config once.
   
   - [X] Yes (please specify the tool below)
   
   Generated-by: Claude Code (Fable 5.1) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to