🐛 fix(core): enforce strict LSP lifecycle

This commit is contained in:
csh
2026-07-13 21:35:40 +08:00
parent 5edd4b3637
commit 06a0da5124
21 changed files with 555 additions and 664 deletions
+3 -2
View File
@@ -6,6 +6,7 @@ import std;
import lsp.test.framework;
import lsp.test.provider.completion;
import lsp.test.provider.core_server_fixture;
import lsp.test.provider.definitions;
import lsp.test.provider.interpreter;
import lsp.test.provider.json_flow;
@@ -26,9 +27,9 @@ export int Run(int argc, char** argv)
{
std::string_view arg(argv[i]);
if (arg == "--exit-provider")
if (arg == "--core-server-fixture")
{
return lsp::test::provider::RunExitProviderChild();
return lsp::test::provider::RunCoreServerFixture();
}
constexpr std::string_view kInterpreterPrefix = "--interpreter=";