docs: add BUG-20 commit ref

This commit is contained in:
Mathieu Moran
2026-08-14 22:05:21 -04:00
parent 9af71e2395
commit 09eca4d39f
+1 -1
View File
@@ -30,7 +30,7 @@ When CLOSED, move the entire entry to Resolved — don't duplicate.
### BUG-20 — Server trip IDs inflate far beyond the real trip count
- **Status**: `CLOSED` 2026-08-14
- **Commit**: `PENDING`
- **Commit**: `9af71e2`
- **Fix**: `trips.id BIGSERIAL` burned a sequence value on every upsert in
`compute_trips_for_device()` (which runs after every upload batch), so IDs climbed far past
the real trip count. Now the sequence is clamped to `MAX(id)` after each recompute