Skip to content

Commit 0db1868

Browse files
committed
build(test): drop publish clean, restore per-test LSP process, disable LS AOT
1 parent ebe4c51 commit 0db1868

5 files changed

Lines changed: 402 additions & 196 deletions

File tree

.github/workflows/on-push-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
shell: bash
4646
run: |
4747
rm -rf vscode-fscript/server
48-
dotnet publish src/FScript.LanguageServer/FScript.LanguageServer.fsproj -c Release -o vscode-fscript/server
48+
dotnet publish src/FScript.LanguageServer/FScript.LanguageServer.fsproj -c Release -p:PublishAot=false -o vscode-fscript/server
4949
5050
- name: Install extension packaging tool
5151
run: npm install -g @vscode/vsce@3.5

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ All notable changes to FScript are documented in this file.
1212
- Enforced strict changelog gates in CI (PR + main) and added `make verify-changelog` local preflight.
1313
- Optimized `FScript.LanguageServer.Tests` startup by building the language server once per run instead of once per test.
1414
- Reused a single LSP server process across `FScript.LanguageServer.Tests` and added per-test document cleanup for isolation, reducing suite runtime substantially.
15+
- Removed `clean` from `publish-all` to avoid redundant CI cleanup, restored one LSP process per test for stronger isolation (while keeping build-once), and explicitly disabled AOT for LanguageServer publish.
1516

1617
**Full Changelog**: https://github.com/MagnusOpera/FScript/compare/0.32.0...0.33.0
1718

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ pack-nuget:
4343
dotnet pack -c $(config) -p:Version=$(version) -o $(PWD)/.out src/FScript.Language
4444
dotnet pack -c $(config) -p:Version=$(version) -o $(PWD)/.out src/FScript.Runtime
4545

46-
publish-all: clean build test publish publish-darwin publish-linux publish-windows pack-nuget
46+
publish-all: build test publish publish-darwin publish-linux publish-windows pack-nuget

src/FScript.LanguageServer/FScript.LanguageServer.fsproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<OutputType>Exe</OutputType>
55
<TargetFramework>net10.0</TargetFramework>
66
<Nullable>enable</Nullable>
7+
<PublishAot>false</PublishAot>
78
</PropertyGroup>
89

910
<ItemGroup>

0 commit comments

Comments
 (0)