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

kcl-lang / kcl-go / 37215309308
34%

Build:
DEFAULT BRANCH: main
Ran 04 Oct 2026 04:03PM UTC
Jobs 6
Files 107
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

04 Oct 2026 04:02PM UTC coverage: 30.715% (+0.1%) from 30.566%
37215309308

push

github

web-flow
feat: add WithSourcemapOutput option and surface the source map in results (#599)

* feat: add WithSourcemapOutput option and surface the source map in results

The KCL runtime can emit a Source Map v3 document mapping the generated
YAML back to the originating KCL source (kcl-lang/kcl#2165), and
kcl-lang/kcl#2204 adds the sourcemap_output request field to the
cross-language API. Add the kcl-go plumbing for it:

- WithSourcemapOutput(path) requests the source map and asks the
  runtime to also write it to the given path.
- KCLResultList carries the returned document and exposes it through
  GetSourcemap().

Depends on kcl-lang.io/lib bindings that include ExecProgramResult.
sourcemap (kcl-lang/lib#326) and the ErrorFormat merge propagation
from #597.

Signed-off-by: Peefy <xpf6677@163.com>

* chore(deps): track kcl-lang/lib#326 via replace to call sourcemap fields

While kcl-lang/lib v0.13.0 ships without the ExecProgramArgs.
sourcemap_output / ExecProgramResult.sourcemap fields that PR #599
relies on, kcl-lang/lib#326 has merged them onto lib main. Pin
kcl-lang.io/lib to that commit so the sourcemap pluming builds and
tests against the upcoming bindings. Drop the replace once lib
v0.13.1 (or later) is tagged.

Signed-off-by: Peefy <xpf6677@163.com>

* chore(deps): restore kcl-lang.io/lib v0.13.0 go.sum entries

The earlier replace commit dropped the pinned v0.13.0 hashes from go.sum,
which made `go test ./...` complain with "missing go.sum entry for
module providing package kcl-lang.io/lib/go/api". Keep the original
sums alongside the replace so tools keep matching the kcl-lang.io/lib
path while the source swap points at github.com/kcl-lang/lib#326.

Signed-off-by: Peefy <xpf6677@163.com>

* chore(deps): drop ListDepFiles from gpyrpc bindings

kcl-lang/lib#326 removes the ListDepFiles RPC and its associated message
types from spec.proto / spec.pb.go. Kcl-go did not implement that RPC
(it shipped only as an UnimplementedKclServiceServer stub plus a RE... (continued)

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

1 existing line in 1 file now uncovered.

5103 of 16614 relevant lines covered (30.72%)

2.1 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
44.5
0.5% pkg/server/rest_server.go
Jobs
ID Job ID Ran Files Coverage
1 37215309308.1 04 Oct 2026 04:03PM UTC 107
30.7
GitHub Action Run
2 37215309308.2 04 Oct 2026 04:03PM UTC 107
30.72
GitHub Action Run
3 37215309308.3 04 Oct 2026 04:03PM UTC 107
30.72
GitHub Action Run
4 37215309308.4 04 Oct 2026 04:03PM UTC 107
30.7
GitHub Action Run
5 37215309308.5 04 Oct 2026 04:03PM UTC 107
30.7
GitHub Action Run
6 37215309308.6 04 Oct 2026 04:03PM UTC 107
30.7
GitHub Action Run
Source Files on build 37215309308
  • Tree
  • List 107
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 71884e18 on github
  • Prev Build on main (#36464406529)
  • Next Build on main (#37769151484)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc