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

stephenafamo / bob / 25401742820 / 1
44%
main: 45%

Build:
Build:
LAST BUILD BRANCH: feat/columns-expr-expressions
DEFAULT BRANCH: main
Ran 05 May 2026 09:10PM UTC
Files 246
Run time 8s
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.004%) from 44.236%
25401742820.1

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

10627 of 24021 relevant lines covered (44.24%)

297.81 hits per line

Source Files on job go-stable - 25401742820.1
  • Tree
  • List 246
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25401742820
  • 3d45a80d on github
  • Prev Job for on fix/missing-base-type-imports-in-to-optional (#25361118471.2)
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