Commit 05b4fdf
committed
[tests] Fix test failures by disabling incremental TypeScript builds
TypeScript incremental builds cache compilation state in .tsbuildinfo files,
which can become stale and cause test failures when files are modified by
watchers or other build processes. Since tsconfig.json is only used for
test builds (not development or production builds which use esbuild), there
is no benefit to incremental compilation for tests.
Changes:
- Disable incremental in tsconfig.json (used for test:build-extension)
- Disable incremental in src/webview/tsconfig.json (used for type-checking during test:build-webviews)
This ensures clean, reproducible test builds without stale cache issues.
Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
Assisted-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent f8be3ea commit 05b4fdf
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments