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

kcl-lang / cli / 37817238126
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:35PM 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:31PM UTC coverage: 35.085% (-0.2%) from 35.273%
37817238126

Pull #391

github

Peefy
test(cli): add e2e coverage for --error_format; use Merge consistently

The --error_format flag had no e2e coverage at all. Add one suite per
diagnostic format (pretty, short, arcanist, sarif) plus one for an
invalid value, each asserting the format-specific marker on stderr.

Also make CompileOptionFromCli apply the flag through
opts.Merge(kcl.WithErrorFormat(...)) like every neighbouring option,
instead of assigning ExecProgramArgs.ErrorFormat directly. The two are
equivalent -- kcl.WithErrorFormat sets Option.ErrorFormat and Merge
copies it to ExecProgramArgs.ErrorFormat -- so this is a consistency
change with no behaviour difference.

Bump VERSION to 0.13.1: it feeds -X pkg/version.version in the release
ldflags and takes precedence over the build-info constant, so leaving it
at 0.13.0 made `make build` produce a binary that still reported 0.13.0.

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 37817238126.1 08 Oct 2026 05:35PM UTC 12
35.08
GitHub Action Run
Source Files on build 37817238126
  • 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