Commit eb9d51f
Replace scripts/compile-parallel.sh with Lage
compile-parallel.sh ran all four tsc invocations concurrently on
every `npm run compile`, but it always spawned every process even
when nothing had changed, so a no-op compile still cost close to
2 seconds.
Lage adds a content-hash cache on top of that: unchanged workspaces
now skip invoking tsc entirely, dropping a no-op compile under half
a second. It also narrows how far a change propagates. mcp-server's
tsconfig reaches into two files under client/src for type-checking,
and that cross-package dependency was previously declared globally,
so editing either file invalidated client's and server's caches too,
even though neither uses them. It is now scoped to mcp-server alone.
compile:bin only type-checks CI helper scripts, not the extension
itself, so it stays out of Lage's task graph and runs as a plain
sequential step afterward instead.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent 68543b2 commit eb9d51f
6 files changed
Lines changed: 157 additions & 36 deletions
File tree
- mcp-server
- scripts
- server
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2490 | 2490 | | |
2491 | 2491 | | |
2492 | 2492 | | |
2493 | | - | |
2494 | | - | |
| 2493 | + | |
| 2494 | + | |
2495 | 2495 | | |
2496 | 2496 | | |
2497 | 2497 | | |
| |||
2548 | 2548 | | |
2549 | 2549 | | |
2550 | 2550 | | |
| 2551 | + | |
2551 | 2552 | | |
2552 | 2553 | | |
2553 | 2554 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
0 commit comments