Fix: enable Node.js experimental SQLite for copilot-language-server (Fixes #603)#604
Conversation
05069d3 to
3690cb2
Compare
3690cb2 to
891c20c
Compare
|
This unfortunately breaks the plugin when using the pre-built binaries, we would need to ensure this only kicks in when config.server.type = "nodejs" |
|
Hey @AntoineGS, I will improve the code add the check to make sure that only apply the change when |
|
@AntoineGS I have moved the arguments build function to |
5f55cab to
f58c733
Compare
|
@AntoineGS I have updated the tests. I forgot to add the new flag to tests. 🤦 |
c44777d to
8c9837e
Compare
|
Hey I see you also made tweaks to the tests, I took a different approach though to ensure we test the new functionality so I overwrote your changes (sorry!) |
|
No problem, I really enjoyed your approach. 👏 |
Fixes #603. This PR passes the Node.js flag --experimental-sqlite when launching copilot-language-server, resolving startup/runtime failures where the SQLite API is gated behind an experimental flag (Node.js 22+). This is a temporary workaround and can be removed once a stable upstream fix is available.