fix(app): USB auto-pull keeps the open event when EXIF is missing (BIT-166) #166

Merged
spark merged 1 commits from task/BIT-166-usb-pin-no-exif into main 2026-11-03 18:47:31 +00:00
Owner

Summary

  • After BIT-165, USB auto-pull marked shots JÁ PUXADA in the Sub-21 window but filed them in Sem evento when the preview had no DateTimeOriginal.
  • No capture time → keep the open pin (matches server). With EXIF, pin still only wins inside the ingest window.
  • Always pass the open USB/FTP target id into routing (do not drop live pulls when the agenda cache is stale).

Test plan

  • App unit tests (offline / USB / LocalFtp)
  • After deploy + app update: auto-pull on Treino Sub 21 — new shots land in that event, not Sem evento
  • A 14h Miguel JPEG with EXIF still does not land on Sub 21 when that event is open
## Summary - After BIT-165, USB auto-pull marked shots `JÁ PUXADA` in the Sub-21 window but filed them in Sem evento when the preview had no DateTimeOriginal. - No capture time → keep the open pin (matches server). With EXIF, pin still only wins inside the ingest window. - Always pass the open USB/FTP target id into routing (do not drop live pulls when the agenda cache is stale). ## Test plan - [x] App unit tests (offline / USB / LocalFtp) - [ ] After deploy + app update: auto-pull on Treino Sub 21 — new shots land in that event, not Sem evento - [ ] A 14h Miguel JPEG with EXIF still does not land on Sub 21 when that event is open
spark added 1 commit 2026-11-03 18:32:00 +00:00
fix(app): USB auto-pull keeps the open event when EXIF is missing (BIT-166)
ci / rust (pull_request) Successful in 4m6s
ci / typescript (pull_request) Successful in 8m26s
2a839d8305
BIT-165 sent previews without DateTimeOriginal to Sem evento even after auto-pull had already matched the card clock to the event window. Keep the pin when there is no capture time; with EXIF, the window check still blocks leftover morning pins.
spark merged commit 1ed6d144d3 into main 2026-11-03 18:47:31 +00:00
Author
Owner

Merged to main.

What you saw: USB said JÁ PUXADA / “105 na janela do evento”, but Treino Sub 21 stayed at 0 — previews without DateTimeOriginal were going to Sem evento after BIT-165.

Fix: without EXIF, keep the open event pin (auto-pull already filtered by the card clock). With EXIF, the window check still blocks morning Miguel cards from landing on Sub-21.

After the app updates, re-open Treino Sub 21 and auto-pull again (or move the ones that landed in Sem evento).

Merged to `main`. **What you saw:** USB said `JÁ PUXADA` / “105 na janela do evento”, but Treino Sub 21 stayed at 0 — previews without DateTimeOriginal were going to Sem evento after BIT-165. **Fix:** without EXIF, keep the open event pin (auto-pull already filtered by the card clock). With EXIF, the window check still blocks morning Miguel cards from landing on Sub-21. After the app updates, re-open Treino Sub 21 and auto-pull again (or move the ones that landed in Sem evento).
Sign in to join this conversation.