Files
SubMiner/backlog/tasks/task-261 - Fix-immersion-tracker-SQLite-timestamp-truncation.md

961 B

id, title, status, assignee, created_date, labels, dependencies, references, priority, ordinal
id title status assignee created_date labels dependencies references priority ordinal
TASK-261 Fix immersion tracker SQLite timestamp truncation In Progress
2026-03-31 01:45
immersion-tracker
sqlite
bug
src/core/services/immersion-tracker
medium 1200

Description

Current-epoch millisecond values are being truncated by the libsql driver when bound as numeric parameters, which corrupts session, telemetry, lifetime, and rollup timestamps.

Acceptance Criteria

  • #1 Current-epoch millisecond timestamps persist correctly in session, telemetry, lifetime, and rollup tables
  • #2 Startup backfill and destroy/finalize flows keep retained sessions and lifetime summaries consistent
  • #3 Regression tests cover the destroyed-session, startup backfill, and distinct-day/distinct-video lifetime semantics