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

stephenafamo / bob / 25401742820
44%
main: 44%

Build:
Build:
LAST BUILD BRANCH: fix-issues-related-to-count-loading
DEFAULT BRANCH: main
Ran 05 May 2026 09:08PM UTC
Jobs 2
Files 246
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

05 May 2026 08:43PM UTC coverage: 44.24% (-0.03%) from 44.269%
25401742820

Pull #668

github

Roman A. Grigorovich
fix(gen): add missing base type imports in ToOptional and FromOptional

Functions ToOptional and FromOptional were discarding the second return
value from getOptional(), which carries the base type imports (e.g.
"github.com/google/uuid"). This caused generated code to reference
types without importing their package.

The bug manifested in M2M relationships where a join-table attach
function referenced a column type from a remote table. For example,
attachRoleUsers0 in roles.bob.go used uuid.UUID from the users table
but the import was never added to roles.bob.go.

Fix: capture the imports slice returned by getOptional and pass it
to the importer before the expression-specific imports.
Pull Request #668: fix(gen): add missing base type imports in ToOptional and FromOptional

4 of 4 new or added lines in 1 file covered. (100.0%)

8 existing lines in 1 file now uncovered.

10627 of 24021 relevant lines covered (44.24%)

595.6 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
75.95
-5.06% gen/aliases.go
Jobs
ID Job ID Ran Files Coverage
1 go-stable - 25401742820.1 05 May 2026 09:10PM UTC 246
44.24
GitHub Action Run
2 go-oldstable - 25401742820.2 05 May 2026 09:08PM UTC 246
44.24
GitHub Action Run
Source Files on build 25401742820
  • Tree
  • List 246
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #668
  • PR Base - main (#25361118471)
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