Pin only if capture is inside ingestFrom–ingestUntil (not only when archived).
If this photographer’s last photo in that event was >1 h earlier, do not keep the pin / skip that event in routing → other event or Sem evento.
Why
Open windows (treino / default +4 h) were still swallowing afternoon shots into the morning event.
Test plan
vitest session unit tests
tsc --noEmit
library integration test when DATABASE_URL_TEST available
## Summary
- Pin only if capture is inside `ingestFrom`–`ingestUntil` (not only when archived).
- If this photographer’s last photo in that event was **>1 h** earlier, do not keep the pin / skip that event in routing → other event or Sem evento.
## Why
Open windows (treino / default +4 h) were still swallowing afternoon shots into the morning event.
## Test plan
- [x] `vitest` session unit tests
- [x] `tsc --noEmit`
- [ ] library integration test when `DATABASE_URL_TEST` available
Pins and time-based routing only keep an event while capture is inside its
ingest window and this photographer has not gone more than an hour without
a shot there — later bursts go to another matching event or Sem evento.
spark
merged commit 341c41b617 into main2026-11-03 13:15:14 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
ingestFrom–ingestUntil(not only when archived).Why
Open windows (treino / default +4 h) were still swallowing afternoon shots into the morning event.
Test plan
vitestsession unit teststsc --noEmitDATABASE_URL_TESTavailable