diff --git a/BUGS.md b/BUGS.md index debd0db..8c8a1f6 100644 --- a/BUGS.md +++ b/BUGS.md @@ -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