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

kcl-lang / kcl / 10575996206
73%

Build:
DEFAULT BRANCH: main
Ran 27 Aug 2024 10:29AM UTC
Jobs 2
Files 299
Run time 2min
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

27 Aug 2024 10:03AM UTC coverage: 70.807% (-0.1%) from 70.915%
10575996206

push

github

web-flow
feat: Update lsp workspace (#1594)

* feat: lsp workspace. 1. delete db and use workspace to store compile result. 2.Initialize the global workspace when starting lsp. For file changes, update the workspace for files in the global workspace and create a temporary workspace for files not in the global workspace (compatible with old versions, consistent with previous behavior). 3.Publish Diag globally, not only in the currently opened file

Signed-off-by: he1pa <18012015693@163.com>

* fix url panic

Signed-off-by: he1pa <18012015693@163.com>

* fix db not found when open temp workspace

Signed-off-by: he1pa <18012015693@163.com>

* feat: add DBState distinguish different states(init, compiling and ready)

Signed-off-by: he1pa <18012015693@163.com>

* fix ut

Signed-off-by: he1pa <18012015693@163.com>

---------

Signed-off-by: he1pa <18012015693@163.com>

307 of 395 new or added lines in 10 files covered. (77.72%)

60 existing lines in 10 files now uncovered.

51530 of 72775 relevant lines covered (70.81%)

57204.05 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
78.69
-10.01% kclvm/tools/src/LSP/src/notification.rs
1
98.59
-0.21% kclvm/tools/src/LSP/src/tests.rs
1
85.53
5.53% kclvm/tools/src/LSP/src/to_lsp.rs
1
44.57
-0.0% kclvm/tools/src/LSP/src/util.rs
22
62.72
-0.71% kclvm/tools/src/LSP/src/request.rs
62
77.67
-14.92% kclvm/tools/src/LSP/src/state.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
62.72
-0.71% kclvm/tools/src/LSP/src/request.rs
1
99.06
-0.94% kclvm/sema/src/resolver/mod.rs
1
82.28
1.52% kclvm/driver/src/lib.rs
3
92.31
-4.62% kclvm/tools/src/LSP/src/inlay_hints.rs
3
98.59
-0.21% kclvm/tools/src/LSP/src/tests.rs
5
92.02
-0.95% kclvm/sema/src/core/global_state.rs
5
44.57
-0.0% kclvm/tools/src/LSP/src/util.rs
11
65.71
-5.38% kclvm/tools/src/LSP/src/dispatcher.rs
12
78.69
-10.01% kclvm/tools/src/LSP/src/notification.rs
18
77.67
-14.92% kclvm/tools/src/LSP/src/state.rs
Jobs
ID Job ID Ran Files Coverage
1 10575996206.1 27 Aug 2024 10:29AM UTC 299
70.8
GitHub Action Run
2 10575996206.2 27 Aug 2024 10:36AM UTC 299
70.81
GitHub Action Run
Source Files on build 10575996206
  • Tree
  • List 299
  • Changed 94
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f6e7057a on github
  • Prev Build on main (#10575788132)
  • Next Build on main (#10580105310)
  • Delete
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

© 2025 Coveralls, Inc