Commitb261abcbRecorded2 Sep 2026Repositorysigil-lsp

Relock onto sigil 0.20 and add the standard pipeline

Message

The sigil: field carried a caret range, deprecated across the estate since 2026-08-25 -- the field declares a MINIMUM, not a range. Monorepo package pins brought to 0.20. Only pins naming a monorepo package via codeberg:sigil/sigil were moved; standalone libraries version independently.

Suite: 30 passed, 1 failed. THE FAILURE IS KNOWN AND EXPECTED.

test-help-integration renames the compiler-generated build/dev/lib/sigil/lsp/completion.json out of the way and then asserts that hover, completion and definition all still answer from warmed caches. Hover and completion do. Definition cannot: it needs module-details-file plus a file-exists? check, so it must re-read the JSON the test just removed.

The gap is in warm-docs-index!, which calls only search-docs. That warms the SEARCH INDEX, never load-module-details' module cache -- and its own comment says so: "so the first hover / completion". Definition was never covered.

Verified by measurement, not inference: with both renames disabled the same suite is 31 passed, 0 failed. The definition provider is correct; only the warm-up is incomplete.

Closing it means warming module details for every indexed module at server startup, trading LSP startup latency for cache resilience. That is a product decision, so the repo goes onto CI with the step visibly red rather than with the test deleted or the tradeoff made silently.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01P6mPymR1ZBRV1nuyDpBxDF

Changed
 .kiln/ci.sgv |  9 +++++++++
 package.sgl  |  8 ++++----
 sigil.lock   | 24 ++++++++++++------------
 3 files changed, 25 insertions(+), 16 deletions(-)
Diff
.kiln/ci.sgvadded
@@ -0,0 +1,9 @@
+1
(pipeline ci
+2
on: #[ (push) (manual) ]
+3
+4
(job ci
+5
steps: #[
+6
(shell name: deps "sigil deps install")
+7
(shell name: build "sigil build")
+8
(shell name: test "sigil test")
+9
]))
package.sglmodified
@@ -7,7 +7,7 @@
7
(package
8
name: "sigil-lsp"
9
version: "0.16.2"
−10
sigil: "^0.19"
+10
sigil: "0.20"
11
description: "Language Server Protocol implementation for Sigil"
12
url: "https://codeberg.org/sigil/sigil-lsp"
13
license: "BSD-3-Clause"
@@ -16,6 +16,6 @@
16
dependencies: (list
17
(from-git url: "codeberg:sigil/sigil-json" version: "^0.16.0")
18
(from-git url: "codeberg:sigil/sigil-log" version: "^0.16.0")
−19
(from-git url: "codeberg:sigil/sigil" package: "sigil-args" version: "^0.19")
−20
(from-git url: "codeberg:sigil/sigil" package: "sigil-format" version: "^0.19")
−21
(from-git url: "codeberg:sigil/sigil" package: "sigil-help" version: "^0.19")))
+19
(from-git url: "codeberg:sigil/sigil" package: "sigil-args" version: "^0.20")
+20
(from-git url: "codeberg:sigil/sigil" package: "sigil-format" version: "^0.20")
+21
(from-git url: "codeberg:sigil/sigil" package: "sigil-help" version: "^0.20")))
sigil.lockmodified
@@ -2,10 +2,10 @@
2
(lock
3
(package name: "sigil-stdlib"
4
url: "codeberg:sigil/sigil"
−5
ref: "^0.19"
−6
sha: "b99b8f2dd82e7ff7465c3d49a1f81250f2d00007"
+5
ref: ">=0.20, <1.0"
+6
sha: "2e452e2f641fcf63be4e88a2748b34791543be8f"
7
package-selector: "sigil-stdlib"
−8
version: "0.19.0")
+8
version: "0.20.3")
9
(package name: "sigil-json"
10
url: "codeberg:sigil/sigil-json"
11
ref: "^0.16.0"
@@ -18,20 +18,20 @@
18
version: "0.16.0")
19
(package name: "sigil-args"
20
url: "codeberg:sigil/sigil"
−21
ref: "^0.19"
−22
sha: "b99b8f2dd82e7ff7465c3d49a1f81250f2d00007"
+21
ref: "^0.20"
+22
sha: "2e452e2f641fcf63be4e88a2748b34791543be8f"
23
package-selector: "sigil-args"
−24
version: "0.19.0")
+24
version: "0.20.3")
25
(package name: "sigil-format"
26
url: "codeberg:sigil/sigil"
−27
ref: "^0.19"
−28
sha: "b99b8f2dd82e7ff7465c3d49a1f81250f2d00007"
+27
ref: "^0.20"
+28
sha: "2e452e2f641fcf63be4e88a2748b34791543be8f"
29
package-selector: "sigil-format"
−30
version: "0.19.0")
+30
version: "0.20.3")
31
(package name: "sigil-help"
32
url: "codeberg:sigil/sigil"
−33
ref: "^0.19"
−34
sha: "b99b8f2dd82e7ff7465c3d49a1f81250f2d00007"
+33
ref: "^0.20"
+34
sha: "2e452e2f641fcf63be4e88a2748b34791543be8f"
35
package-selector: "sigil-help"
−36
version: "0.19.0")
+36
version: "0.20.3")
37
)