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

yylego / sure / 31272564833
60%
main: 60%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.0.3
DEFAULT BRANCH: main
Ran 08 Aug 2026 06:42PM UTC
Jobs 3
Files 33
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 Aug 2026 06:39PM UTC coverage: 60.077% (+3.3%) from 56.742%
31272564833

push

github

yyle88
Stop the source scan from reading the artifact it overwrites

A codegen aims at the same place it writes into, so a past artifact showed up in
its own scan. Two defects came from that. Regenerating with less modes than
the run before it wrapped a stale Must/Soft/Omit entrance, and the artifact
stopped compiling. A broken artifact took down the parse step, so the run meant
to replace it died ahead of writing, which is the exact impasse the build
constraint exists to undo.

The scan now skips that one file ahead of the read (utils.IsOutputFile), and the
name screen names each mode sure states instead of two hardcoded ones.

A blank go:build directive meant two things at once: no one spoke, and someone
chose none. Configs built as bare struct values got no constraint and stayed
exposed. PickGoBuildDirective splits the two apart, so each codegen defaults the
same regardless of which shape built its config. Existing code that builds a
config as a bare struct value gets the constraint written into the next
artifact. FormatGoBuildDirective stops a run when the rendered line is no
constraint Go can read.

sure_pkg_gen gains WithGoBuildDirective and WithNoBuildDirective, blank as its
default, since a standalone package cannot lock.

Import registration gets copied instead of written into, so a config handed to a
second run stops widening the set MustKnownImports treats as stated.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

104 of 115 new or added lines in 9 files covered. (90.43%)

5 existing lines in 3 files now uncovered.

933 of 1553 relevant lines covered (60.08%)

18.09 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
86.7
1.27% cls_stub_gen/stub_gen.go
2
81.15
-0.67% internal/utils/source_imports.go
2
53.52
0.0% internal/utils/utils.go
2
91.52
0.13% sure_cls_gen/cls_gen.go
1
78.69
59.54% internal/utils/codegen.go
1
59.42
6.39% sure_cls_gen/options.go

Coverage Regressions

Lines Coverage ∆ File
2
86.7
1.27% cls_stub_gen/stub_gen.go
2
91.52
0.13% sure_cls_gen/cls_gen.go
1
81.15
-0.67% internal/utils/source_imports.go
Jobs
ID Job ID Ran Files Coverage
1 Go-stable - 31272564833.1 08 Aug 2026 06:42PM UTC 33
60.08
GitHub Action Run
2 Go-1.24.x - 31272564833.2 08 Aug 2026 06:42PM UTC 33
60.08
GitHub Action Run
3 Go-1.25.x - 31272564833.3 08 Aug 2026 06:42PM UTC 33
60.08
GitHub Action Run
Source Files on build 31272564833
  • Tree
  • List 33
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0174be2c on github
  • Prev Build on refs/tags/v0.0.2 (#31265376050)
  • 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