Migrate away from bob as a SQL generation layer #32

Closed
opened 2026-05-26 18:50:53 +00:00 by eliribble · 3 comments
Owner

Previously I investigated using Bob. I ran into major limitations related to working with PostGIS data. We've been moving toward go-jet, but right now we are using both. I'm suspicious that #3 is at least partially caused or obscured by the double database pooling system that comes with using bob.

Let's finish getting off of it.

We currently have bob-related imports in:

  • api/configuration.go
  • db/connection.go
  • db/fieldseeker.go
  • db/models/*
  • db/pgdata.go
  • db/prepared.go
  • db/sql/*
  • platform/arcgis.go
  • platform/compliance.go
  • platform/csv/csv.go
  • platform/csv/flyover.go
  • platform/csv/pool.go
  • platform/district.go
  • platform/email/template.go
  • platform/fieldseeker.go
  • platform/fieldseeker/point_location.go
  • platform/geocode/geocode.go
  • platform/lead.go
  • platform/notification.go
  • platform/organization.go
  • platform/parcel.go
  • platform/pool.go
  • platform/publicreport/compliance.go
  • platform/publicreport/image.go
  • platform/publicreport/log.go
  • platform/publicreport/nuisance.go
  • platform/publicreport/report.go
  • platform/review.go
  • platform/service_request.go
  • platform/signal.go
  • platform/site.go
  • platform/sync.go
  • platform/text/llm.go
  • platform/tile.go
  • platform/types/address.go
  • platform/upload.go
  • platform/user.go
  • resource/lob_hook.go
  • resource/review_task.go
Previously I investigated using Bob. I ran into major limitations related to working with PostGIS data. We've been moving toward go-jet, but right now we are using both. I'm suspicious that #3 is at least partially caused or obscured by the double database pooling system that comes with using bob. Let's finish getting off of it. We currently have bob-related imports in: - [ ] api/configuration.go - [ ] db/connection.go - [ ] db/fieldseeker.go - [ ] db/models/* - [ ] db/pgdata.go - [ ] db/prepared.go - [ ] db/sql/* - [x] platform/arcgis.go - [x] platform/compliance.go - [ ] platform/csv/csv.go - [ ] platform/csv/flyover.go - [ ] platform/csv/pool.go - [ ] platform/district.go - [x] platform/email/template.go - [ ] platform/fieldseeker.go - [ ] platform/fieldseeker/point_location.go - [ ] platform/geocode/geocode.go - [ ] platform/lead.go - [ ] platform/notification.go - [ ] platform/organization.go - [ ] platform/parcel.go - [ ] platform/pool.go - [ ] platform/publicreport/compliance.go - [ ] platform/publicreport/image.go - [ ] platform/publicreport/log.go - [ ] platform/publicreport/nuisance.go - [ ] platform/publicreport/report.go - [ ] platform/review.go - [ ] platform/service_request.go - [ ] platform/signal.go - [ ] platform/site.go - [ ] platform/sync.go - [ ] platform/text/llm.go - [ ] platform/tile.go - [ ] platform/types/address.go - [ ] platform/upload.go - [ ] platform/user.go - [ ] resource/lob_hook.go - [ ] resource/review_task.go
Author
Owner

ee82100a0a deals with platform/arcgis.go

ee82100a0a8adab34b26221b14589f16b2b892cf deals with `platform/arcgis.go`
Author
Owner

a4b2031461 deals with platform/compliance.go

a4b2031461a4885512526a1ea534d35ce44bad56 deals with `platform/compliance.go`
eliribble referenced this issue from a commit 2026-05-30 23:20:10 +00:00
eliribble referenced this issue from a commit 2026-05-30 23:22:11 +00:00
eliribble referenced this issue from a commit 2026-05-30 23:28:47 +00:00
Author
Owner

Fixed in 782a49f220

Fixed in 782a49f220d0e0a17c7cd7d7c56a56837b6b13c8
eliribble referenced this issue from a commit 2026-08-29 22:17:58 +00:00
eliribble referenced this issue from a commit 2026-08-29 22:17:58 +00:00
eliribble referenced this issue from a commit 2026-08-29 22:17:58 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Gleipnir/nidus-sync#32
No description provided.