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

kcl-lang / kcl-go / 37769151484
34%

Build:
DEFAULT BRANCH: main
Ran 08 Oct 2026 11:19AM UTC
Jobs 6
Files 105
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

08 Oct 2026 11:18AM UTC coverage: 33.65% (+2.9%) from 30.715%
37769151484

push

github

web-flow
feat: bump kcl lib to 0.13.1 and serve the full RPC surface over REST (#603)

lib v0.13.1 reshapes the Go client surface in ways that let us retire the
workarounds this repo had accumulated against v0.13.0 and against the
pre-release lib pin.

- ListMethod is now part of api.ServiceClient, so the REST handler no longer
  needs the listMethodClient interface assertion that faked an empty method
  list when the embedded dispatcher had not registered
  BuiltinService.ListMethod. The endpoint returns the runtime's real list.
- The ListDepFiles RPC is gone upstream, completing the removal started in
  #601: the protorpc transport, its service descriptors and the last
  ListDepFiles aliases all go away, taking google.golang.org/grpc and
  github.com/chai2010/protorpc out of the module graph.
- v0.13.1 ships the sourcemap_output/sourcemap fields from lib#326, so the
  temporary `replace kcl-lang.io/lib => ./kcl-lang-lib` pin (and the
  ~100MB lib checkout that fed it in all four workflows) is no longer
  needed. Both were explicitly marked "drop once v0.13.1 ships"; main's
  WithSourcemapOutput tests pass against the released module.

That leaves the route table short of the runtime's advertised surface, so
register the six RPCs v0.13.1 added — FormatTestReport, GenerateToml,
GenerateKcl, GenerateOpenAPI, GenerateProto and GenerateDoc — plus
KclService.Ping, which the runtime advertises but which was only reachable
under the BuiltinService spelling. TestRestServerRouteParity derives the
expected routes from ListMethod rather than hard-coding them, so the next
lib bump that adds an RPC fails there instead of silently shipping an
endpoint that was never wired up.

Also restore the rename fixture via t.Cleanup so TestRename leaves the
working tree clean.

Verified: go build, go vet and go test ./... under CGO_ENABLED=1 and
CGO_ENABLED=0; route parity is exact at 28 advertised / 28 registered.

Signed-off-by: KCL Bot <kcl@example.com>
Co-authored-by: KCL Bot <kc... (continued)

47 of 47 new or added lines in 1 file covered. (100.0%)

2 existing lines in 1 file now uncovered.

5237 of 15563 relevant lines covered (33.65%)

2.3 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
81.5
-1.16% pkg/format/xml/xml.go
Jobs
ID Job ID Ran Files Coverage
1 37769151484.1 08 Oct 2026 11:19AM UTC 105
33.65
GitHub Action Run
2 37769151484.2 08 Oct 2026 11:19AM UTC 105
33.65
GitHub Action Run
3 37769151484.3 08 Oct 2026 11:19AM UTC 105
33.65
GitHub Action Run
4 37769151484.4 08 Oct 2026 11:19AM UTC 105
33.65
GitHub Action Run
5 37769151484.5 08 Oct 2026 11:19AM UTC 105
33.65
GitHub Action Run
6 37769151484.6 08 Oct 2026 11:19AM UTC 105
33.65
GitHub Action Run
Source Files on build 37769151484
  • Tree
  • List 105
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 28fbe51c on github
  • Prev Build on main (#37215309308)
  • Next Build on main (#37771281016)
  • 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