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

dal-go / dalgo2postgres / 38758967855
100%

Build:
DEFAULT BRANCH: main
Ran 15 Oct 2026 03:21PM UTC
Jobs 1
Files 19
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

15 Oct 2026 03:17PM UTC coverage: 100.0%. Remained the same
38758967855

push

github

web-flow
test: hold every read path to unique record keys (dalgo v0.95.0, dalgo2sql v0.29.3) (#24)

Holds every record read path to the rule "within one read, record keys are unique" with dalgotest.AssertUniqueKeys (dalgo v0.95.0), on dalgo2sql v0.29.3.

- go.mod: dalgo v0.95.0, dalgo2sql v0.29.3; vendored join/subquery fixtures re-stamped to v0.95.0 (files byte-identical).
- unique_keys_test.go: table-driven stand-in (go-sqlmock) test in plain `go test`: single-PK table with 412 rows and repeated values, select-all, select columns with and without the key, composite PK, no PK, view, GROUP BY, one-to-many and many-to-one joins.
- unique_keys_integration_test.go: the same reads on PostgreSQL (needs DALGO2POSTGRES_TEST_DSN); added to the CI must-pass list.

Violation found, not fixable here: with the typed PostgreSQL dialect a join is keyed by the base row's catalog primary key, so a one-to-many join (customer joined to invoice) repeats keys (dalgo2sql reader_records.go keyedByBase). Pinned as a known violation in the unit case (fails once dalgo2sql keys it uniquely, telling the next person to drop the pin). Needs a dalgo2sql fix.

Not run: the integration test (no PostgreSQL available locally).

Source commits:

- 1683d45bd2d6 test: hold every read path to unique record keys (dalgo v0.95.0, dalgo2sql v0.29.3)

Pull request: dal-go/dalgo2postgres#24
Review: https://github.com/dal-go/dalgo2postgres/pull/24#issuecomment-6195433908

1344 of 1344 relevant lines covered (100.0%)

1.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38758967855.1 15 Oct 2026 03:21PM UTC 19
100.0
GitHub Action Run
Source Files on build 38758967855
  • Tree
  • List 19
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 38aa7f86 on github
  • Prev Build on main (#38553126959)
  • Next Build on main (#39948271705)
  • 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