docs: close BUG-20 (trip IDs renumbered 1..10, sequence clamped)
This commit is contained in:
@@ -2279,10 +2279,9 @@ logged as `BUG-XX` entries in [BUGS.md](./BUGS.md) (BUG-16 onward) and fixed + v
|
||||
`SET TIME!`). SIM868 CR1220 installed + its RTC set via `AT+CCLK` (was 2004 default); hold
|
||||
across power-off to confirm on next cycle. Optional follow-up: `AT+CCLK` boot-time clock
|
||||
fallback in `app_gps.py`.
|
||||
- **BUG-20 (server trip IDs inflate) — 🚧 IN PROGRESS**: `trips.id BIGSERIAL` burns sequence
|
||||
values on every upsert (recompute runs after each upload batch), so IDs run far past the real
|
||||
trip count (~10 trips, ids 27000+). Fix: clamp the sequence after each recompute + one-time
|
||||
renumber migration.
|
||||
- **BUG-20 (server trip IDs inflate) — ✅ FIXED**: `trips.id BIGSERIAL` burned sequence values
|
||||
on every upsert (recompute after each upload batch). Fixed: sequence clamped to `MAX(id)`
|
||||
after each recompute + one-time renumber migration — trips now 1..10, sequence at 10.
|
||||
|
||||
Open items from the drive — fill in as reported:
|
||||
- (none clock-related — BUG-17/BUG-18 closed 2026-08-14).
|
||||
|
||||
Reference in New Issue
Block a user