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

radio-t / super-bot / 32317846857
77%

Build:
DEFAULT BRANCH: master
Ran 20 Aug 2026 12:35AM UTC
Jobs 1
Files 36
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

20 Aug 2026 12:34AM UTC coverage: 75.104% (-0.007%) from 75.111%
32317846857

push

github

web-flow
Apply go fix (#162)

`go fix` in Go 1.26 runs the modernizer analysers, so it rewrites
`strings.HasPrefix`/`TrimPrefix` pairs into `strings.CutPrefix`,
`sort.Slice` into `slices.Sort`, counted `for` loops into `for range n`,
`strings.Fields` into `strings.FieldsSeq`, string accumulation into
`strings.Builder`, and per-test contexts into `t.Context()`.

It also drops `omitempty` from the two struct-typed fields of
`bot.Message`, where the option has never had any effect: encoding/json
treats only false, 0, nil pointers and empty arrays, slices, maps and
strings as empty, so a struct is always encoded. The marshalled form of
the message log written in `app/reporter/reporter.go` and read back in
`app/reporter/export.go` is unchanged, and existing logs still parse.
The alternative `omitzero` rewrite, which would change behaviour, is
deliberately not applied.

The `strings.Builder` rewrites left two `WriteString(fmt.Sprintf(...))`
calls that staticcheck flags as QF1012; they are written as
`fmt.Fprintf` instead.

Co-authored-by: Umputun <umputun@gmail.com>

23 of 23 new or added lines in 7 files covered. (100.0%)

2709 of 3607 relevant lines covered (75.1%)

54.23 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32317846857.1 20 Aug 2026 12:35AM UTC 36
75.1
GitHub Action Run
Source Files on build 32317846857
  • Tree
  • List 36
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4869f3a2 on github
  • Prev Build on master (#32317744466)
  • Next Build on master (#32318251401)
  • 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