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

kcl-lang / kcl-go / 37768788957
34%
main: 34%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/github.com/getkin/kin-openapi-0.151.0
DEFAULT BRANCH: main
Ran 08 Oct 2026 11:15AM 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:12AM UTC coverage: 33.65% (+2.9%) from 30.715%
37768788957

Pull #603

github

KCL Bot
feat: bump kcl lib to 0.13.1 and serve the full RPC surface over REST

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.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: KCL ... (continued)
Pull Request #603: feat: bump kcl lib to 0.13.1 and serve the full RPC surface over REST

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 37768788957.1 08 Oct 2026 11:15AM UTC 105
33.65
GitHub Action Run
2 37768788957.2 08 Oct 2026 11:15AM UTC 105
33.65
GitHub Action Run
3 37768788957.3 08 Oct 2026 11:15AM UTC 105
33.65
GitHub Action Run
4 37768788957.4 08 Oct 2026 11:15AM UTC 105
33.65
GitHub Action Run
5 37768788957.5 08 Oct 2026 11:15AM UTC 105
33.65
GitHub Action Run
6 37768788957.6 08 Oct 2026 11:15AM UTC 105
33.65
GitHub Action Run
Source Files on build 37768788957
  • Tree
  • List 105
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #603
  • PR Base - main (#37215309308)
  • 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