Commit 0202522
committed
Fix server lifecycle bugs and replace hard-coded startup delays
- Fix duplicate --tuple-counting flag when both debug and
tupleCounting are set in buildQueryServerArgs
- Fix non-awaited force-kill timers in query-server and
language-server shutdown methods (process could outlive caller)
- Remove redundant process.on SIGINT/SIGTERM handlers from
lsp-diagnostics (already handled by shutdownServerManager)
- Replace hard-coded setTimeout delays (1.5-2s) in server
start() methods with waitForProcessReady utility that resolves
on first stderr/stdout output or rejects on spawn failure
- Add comprehensive tests for process-ready utility1 parent 76a139b commit 0202522
File tree
14 files changed
+453
-60
lines changed- server
- dist
- src
- lib
- tools/lsp
- utils
- test/src
- lib
- utils
14 files changed
+453
-60
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
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 | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
105 | | - | |
106 | | - | |
| 106 | + | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
180 | | - | |
181 | | - | |
| 181 | + | |
| 182 | + | |
182 | 183 | | |
183 | 184 | | |
184 | 185 | | |
| |||
520 | 521 | | |
521 | 522 | | |
522 | 523 | | |
523 | | - | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
524 | 532 | | |
525 | | - | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
526 | 541 | | |
527 | | - | |
| 542 | + | |
528 | 543 | | |
529 | 544 | | |
530 | 545 | | |
| |||
0 commit comments