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

dal-go / dalgo / 41820932991
100%

Build:
DEFAULT BRANCH: main
Ran 04 Nov 2026 11:33AM UTC
Jobs 1
Files 189
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

04 Nov 2026 11:26AM UTC coverage: 100.0%. Remained the same
41820932991

push

github

web-flow
feat(dal): microsecond time precision contract; dalgo2memory enforces it (#236)

Source commits:

- acb19129f5da feat(dal): microsecond time precision contract; dalgo2memory enforces it
  DALgo now states that adapters persist time.Time at no better than
  microsecond precision (dal.TimePrecision) and gives consumers
  dal.NormalizeTime to normalise times they also keep elsewhere, without
  naming an engine. dalgo2memory truncates every time it stores (struct
  fields, nested/embedded structs, pointers, slices, arrays, maps,
  map[string]any, updates, optimistic transaction buffers) and compares
  time query bounds at the same precision, so unit tests fail exactly the
  way production does. Caller values are never mutated.
  Why the exported API is added (AGENTS.md): datatug/backend#150 failed in
  real storage because nanosecond payload times were compared with
  microsecond-stored timestamps, while dalgo2memory kept nanoseconds.
  Founder, 2026-11-04: "We are supposed to use dalgo and backend should
  know nothing about Firestore". Founder, 2026-11-04, approving: "Yes, fix
  in DALgo first".
  Spec: spec/features/time-precision.
- 4552a8f80a29 fix(dalgo2memory): address review of time precision (#236)
  - M1: normalise WHERE time constants once at query start
  (truncateConditionTimes), on the single-source and join paths, so the
  columnar equality lookup and per-row matching compare like with like.
  The per-row bound normalisation is removed. The query-bound test now
  covers the columnar and columnar reference-sharing engines.
  - M2: walk exported fields promoted from unexported embedded structs,
  by value and by pointer, through an addressable copy (reflect.NewAt).
  - L1: replace the depth bound with a visited set over pointers, maps and
  slices. A cyclic value fails fast again with the encoder's cycle error,
  and a value shared twice is copied once.
  - L2/L3: TimePrecision is documented as a ceiling (some adapters keep
  less, e.g. Mongo... (continued)

186 of 186 new or added lines in 8 files covered. (100.0%)

26247 of 26247 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 41820932991.1 04 Nov 2026 11:33AM UTC 189
100.0
GitHub Action Run
Source Files on build 41820932991
  • Tree
  • List 189
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8dbceadb on github
  • Prev Build on main (#41796163404)
  • Next Build on main (#41888554867)
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