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

kcl-lang / cli / 37819584166
35%
main: 35%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/kcl-lang.io/kcl-openapi-0.12.1
DEFAULT BRANCH: main
Ran 08 Oct 2026 05:53PM UTC
Jobs 1
Files 12
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 05:49PM UTC coverage: 35.085% (-0.2%) from 35.273%
37819584166

Pull #391

github

Peefy
test(cli): tighten two --error_format goldens to assert real content

The sarif golden asserted only the `$schema` line, which is present in
any SARIF document including one with no results at all -- so the suite
passed even if the runtime emitted zero diagnostics. Assert `ruleId`
instead, which is only emitted when a diagnostic result is actually
produced.

The pretty golden asserted `error[E2L23]: CompileError`, which is just
the default diagnostic a broken file produces with or without the flag.
Assert the rendered message instead.

Both replacements are still absent from the other formats' output, so the
discriminating profile of the five suites is unchanged.

Signed-off-by: Peefy <xpf6677@163.com>
Pull Request #391: feat(run): add --error_format flag to kcl run and kcl lint

1 of 7 new or added lines in 1 file covered. (14.29%)

394 of 1123 relevant lines covered (35.08%)

0.4 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
32.79
-0.66% pkg/options/run.go
Jobs
ID Job ID Ran Files Coverage
1 37819584166.1 08 Oct 2026 05:53PM UTC 12
35.08
GitHub Action Run
Source Files on build 37819584166
  • Tree
  • List 12
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #391
  • PR Base - main (#36421679856)
  • 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