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

kcl-lang / kcl / 6638360945
73%

Build:
DEFAULT BRANCH: main
Ran 25 Oct 2023 09:44AM UTC
Jobs 1
Files 258
Run time 12s
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

25 Oct 2023 09:22AM UTC coverage: 69.937% (-17.9%) from 87.82%
6638360945

push

github

web-flow
fix: Defend against  non-KCL files (#798)

* fix: Defend against panics caused by requests from non-KCL files. When the client renames a file, if the file suffix is changed, some requests will also be sent. However, it is considered not a valid kcl file during compilation, which will cause lsp panic.

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

* feat: verify request path valid at begin of handle request

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

---------

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

73 of 73 new or added lines in 2 files covered. (100.0%)

36035 of 51525 relevant lines covered (69.94%)

9253.66 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
72.84
kclvm/tools/src/LSP/src/request.rs

Uncovered Existing Lines

Lines Coverage ∆ File
6
0.0
-81.01% compiler_base/error/src/diagnostic/components.rs
8
0.0
-27.59% compiler_base/error/src/errors.rs
26
58.06
-18.13% compiler_base/session/src/lib.rs
27
0.0
-87.1% compiler_base/error/src/diagnostic/mod.rs
41
0.0
-100.0% compiler_base/error/src/diagnostic/style.rs
74
0.0
-96.1% compiler_base/error/src/diagnostic/diagnostic_message.rs
119
0.0
-75.8% compiler_base/error/src/emitter.rs
170
0.0
-82.13% compiler_base/error/src/diagnostic/diagnostic_handler.rs
Jobs
ID Job ID Ran Files Coverage
1 6638360945.1 25 Oct 2023 09:44AM UTC 258
69.94
GitHub Action Run
Source Files on build 6638360945
  • Tree
  • List 258
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4bc5888d on github
  • Prev Build on main (#6638344415)
  • Next Build on main (#6638344409)
  • 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