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

yylego / sure
60%
main: 60%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.0.3
DEFAULT BRANCH: main
Repo Added 10 Mar 2026 05:29PM UTC
Token qHoDXBQ6snPT0F2OXkQsdLnOl1IRTmquu regen
Build 9 Last
Files 33
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

LAST BUILD ON BRANCH refs/tags/v0.0.3
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • main
  • refs/tags/v0.0.1
  • refs/tags/v0.0.2
  • refs/tags/v0.0.3

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

Relevant lines Covered
Build:
Build:
1553 RELEVANT LINES 933 COVERED LINES
18.09 HITS PER LINE
Source Files on main
  • Tree
  • List 33
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
31272564833 refs/tags/v0.0.3 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 ... push 08 Aug 2026 06:42PM UTC yyle88 github
60.08
31272475097 main 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 ... push 08 Aug 2026 06:40PM UTC yyle88 github
60.08
31265376050 refs/tags/v0.0.2 Take source imports into generated code and unblock regeneration push 08 Aug 2026 03:48PM UTC yyle88 github
56.74
31265139551 main Take source imports into generated code and unblock regeneration push 08 Aug 2026 03:43PM UTC yyle88 github
56.74
29161870268 refs/tags/v0.0.1 Mute staticcheck on the blank recv token in a codegen test A codegen test needs a blank recv token in source, so annotate it to pass lint. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> push 11 Jul 2026 05:35PM UTC yyle88 github
41.43
29161793690 main Mute staticcheck on the blank recv token in a codegen test A codegen test needs a blank recv token in source, so annotate it to pass lint. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> push 11 Jul 2026 05:33PM UTC yyle88 github
41.43
29161642374 main Adopt syntaxgo v0.0.1, harden codegen, add project hygiene files - Adopt syntaxgo v0.0.1 and the Add-prefixed import options - Prefix composite and inline types in generated method signatures - Handle generic receivers when scanning source method... push 11 Jul 2026 05:28PM UTC yyle88 github
41.43
See All Builds (7)

Badge your Repo: sure

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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