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

nagayon-935 / kuroko / 28572456155
83%
main: 83%

Build:
Build:
LAST BUILD BRANCH: fix/go-review-findings
DEFAULT BRANCH: main
Ran 02 Jul 2026 07:16AM UTC
Jobs 1
Files 9
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

02 Jul 2026 07:15AM UTC coverage: 81.783% (-0.3%) from 82.117%
28572456155

Pull #1

github

nagayon-935
fix: address go-review findings (races, error handling, formatting)

Fixes all HIGH/MEDIUM issues from the go-reviewer audit:
- guard Logger.Close with sync.Once to prevent a double-close race
  between normal exit and the SIGTERM/SIGHUP handler
- surface previously-discarded errors (log close, log rotation,
  selector rescan/sub-viewer) to stderr instead of silently dropping
  them
- add a bounded timeout to the notifier HTTP client so an
  unreachable webhook can no longer hang session start/end
  indefinitely, and check multipart-encoding errors in the Discord
  notifier
- extract signal-handling setup out of runWithPTY into
  forwardResizeSignals/handleTerminationSignals
- deduplicate the repeated bodyHeight calculation in viewer/selector
  into a shared helper
- switch viewer/selector text truncation from byte to rune slicing to
  avoid emitting invalid UTF-8 for multi-byte content
- clean the path argument to kuroko view
- gofmt the whole tree
Pull Request #1: fix: address go-review findings (races, error handling, formatting)

59 of 128 new or added lines in 6 files covered. (46.09%)

2 existing lines in 2 files now uncovered.

1688 of 2064 relevant lines covered (81.78%)

63.89 hits per line

Uncovered Changes

Lines Coverage ∆ File
37
46.72
-4.48% internal/session/session.go
10
84.51
-6.47% internal/notifier/notifier.go
10
73.96
-0.36% internal/viewer/selector.go
9
88.03
2.49% internal/viewer/viewer.go
2
90.87
-0.21% internal/logger/logger.go
1
0.0
0.0% cmd/kuroko/main.go

Coverage Regressions

Lines Coverage ∆ File
1
0.0
0.0% cmd/kuroko/main.go
1
73.96
-0.36% internal/viewer/selector.go
Jobs
ID Job ID Ran Files Coverage
1 28572456155.1 02 Jul 2026 07:16AM UTC 9
81.78
GitHub Action Run
Source Files on build 28572456155
  • Tree
  • List 9
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1
  • PR Base - main (#28190114604)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc