• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

forst-lang / forst / 24000396572
59%
main: 76%

Build:
Build:
LAST BUILD BRANCH: feat/full-request-sidecar
DEFAULT BRANCH: main
Ran 05 Apr 2026 11:18AM UTC
Jobs 1
Files 155
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Apr 2026 11:17AM UTC coverage: 58.664% (+0.8%) from 57.837%
24000396572

Pull #40

github

haveyaseen
fix(lsp): peer completion cache, JSON-RPC notifications, diagnostics and folding

Cache same-package peer document analysis for cross-buffer completion only; keep
per-request analysis for the current file so TypeChecker scope is not reused
after RestoreScope. On parse/typecheck failure, still offer cross-buffer
top-level completions when package and zone allow. Invalidate peer cache on
didClose.

Return 204 with no body for JSON-RPC requests that omit id; extend server tests
for notification-style calls and HTTP behavior.

Map wrapped parser "expected … found …" messages to ErrorCodeUnexpectedToken via
strings.Contains. Bound type-def folding brace search so a later top-level decl
cannot supply the fold range.

Document initialize vs formatting/codeAction/codeLens routes; add infer_ensure
tests (registerTypeGuardExpectsInt helper, Present on pointer). Update ROADMAP
ensure row for current typechecker coverage.
Pull Request #40: feat(lsp): navigate locals, folding, completion, and formatting

446 of 1102 new or added lines in 15 files covered. (40.47%)

7 existing lines in 3 files now uncovered.

12184 of 20769 relevant lines covered (58.66%)

9.63 hits per line

Uncovered Changes

Lines Coverage ∆ File
501
19.32
forst/cmd/forst/lsp/navigation_locals.go
80
50.19
9.95% forst/cmd/forst/lsp/completion.go
54
66.04
forst/cmd/forst/lsp/folding.go
6
77.5
-1.45% forst/cmd/forst/lsp/analyze.go
5
74.42
1.84% forst/cmd/forst/lsp/references.go
4
79.12
4.72% forst/cmd/forst/lsp/error_position.go
4
59.39
2.25% forst/cmd/forst/lsp/hover_completion.go
1
75.16
7.14% forst/cmd/forst/lsp/definition.go
1
46.67
0.85% forst/cmd/forst/lsp/server.go

Coverage Regressions

Lines Coverage ∆ File
4
46.67
0.85% forst/cmd/forst/lsp/server.go
2
34.41
-0.36% forst/internal/transformer/go/shape.go
1
50.19
9.95% forst/cmd/forst/lsp/completion.go
Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/179801621 24000396572.1 05 Apr 2026 11:18AM UTC 155
58.66
GitHub Action Run
Source Files on build 24000396572
  • Tree
  • List 155
  • Changed 17
  • Source Changed 0
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #40
  • PR Base - main (#23967542234)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc