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

kcl-lang / kcl-openapi / 37959362170
67%
main: 67%

Build:
Build:
LAST BUILD BRANCH: fix/181-crd-single-version-names
DEFAULT BRANCH: main
Ran 09 Oct 2026 04:32PM UTC
Jobs 1
Files 21
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

09 Oct 2026 04:28PM UTC coverage: 66.728% (+2.0%) from 64.723%
37959362170

Pull #182

github

claude
fix(generator): keep x-order rewrite next to the spec and clean it up

WithXOrder wrote the rewritten spec to the temp dir root, away from the
original document. Relative $refs in the spec (e.g. the k8s.json sidecar
written next to converted CRD specs) resolve against the directory of
the document being loaded, so the rewrite broke that resolution and the
flatten step failed with "cannot load spec: open <tmp>/k8s.json: no such
file or directory" on machines without a stale copy there. Local macOS
runs passed only because earlier versions had left exactly such a stale
file behind in the per-user temp dir.

Write the rewrite into the original spec's directory instead, and remove
both intermediate files at the end of analyzeSpec: the document content
lives in the loaded specDoc by then, and the old behavior leaked the
rewritten specs next to the sources whenever those lived outside the
temp dir.

Signed-off-by: Claude Opus 4.6 <noreply@anthropic.com>
Pull Request #182: fix(generator): keep version in CRD schema names and merge multi-document CRDs into one spec

3265 of 4893 relevant lines covered (66.73%)

0.76 hits per line

Coverage Regressions

Lines Coverage ∆ File
49
78.47
0.76% pkg/swagger/generator/names.go
40
72.8
18.14% pkg/kube_resource/generator/generator.go
24
84.19
0.58% pkg/swagger/generator/spec.go
21
74.43
-0.24% pkg/swagger/generator/language.go
1
61.21
3.32% pkg/swagger/generator/model.go
Jobs
ID Job ID Ran Files Coverage
1 37959362170.1 09 Oct 2026 04:32PM UTC 21
66.73
GitHub Action Run
Source Files on build 37959362170
  • Tree
  • List 21
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #182
  • PR Base - main (#35564743446)
  • 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