Keep an archive import in the event it names #62

Merged
spark merged 1 commits from task/archive-not-live into main 2026-10-19 18:21:44 +01:00
Owner

Summary

  • A cloud file with no capture time was treated as taken now. If its archive event was already put away, the clock dropped it into whatever event was live.
  • That put the chegada copies, an older treino folder and yesterday's AAAS x SCP into today's live training. Those 380 photos are back on their archive events.
  • The library no longer keeps a cached photo after the server says it has left the folder.

Test plan

  • Library store test: a cached photo the server no longer returns is dropped, and a photo that arrived meanwhile stays.
  • API test an archive import stays in its put-away event (needs the test database; not run on this machine).
  • On the next archive index, a file without a camera time stays in its put-away event.
## Summary - A cloud file with no capture time was treated as taken now. If its archive event was already put away, the clock dropped it into whatever event was live. - That put the chegada copies, an older treino folder and yesterday's AAAS x SCP into today's live training. Those 380 photos are back on their archive events. - The library no longer keeps a cached photo after the server says it has left the folder. ## Test plan - [x] Library store test: a cached photo the server no longer returns is dropped, and a photo that arrived meanwhile stays. - [ ] API test `an archive import stays in its put-away event` (needs the test database; not run on this machine). - [ ] On the next archive index, a file without a camera time stays in its put-away event.
spark added 1 commit 2026-10-19 18:21:14 +01:00
Keep an archive import in the event it names.
ci / rust (pull_request) Successful in 7m14s
ci / typescript (pull_request) Failing after 9m18s
5f1275996a
A cloud file with no capture time was treated as taken now, so a put-away event rejected it and the open event of the day took it.
spark merged commit 4a716df4fc into main 2026-10-19 18:21:44 +01:00
Author
Owner

The 380 archive photos that had landed in the live training (215 chegada, 108 treino folder, 57 AAAS x SCP) are back on their own archive events. The live event is camera photos only. This change stops the next file without a capture time from taking the same path.

The 380 archive photos that had landed in the live training (215 chegada, 108 treino folder, 57 AAAS x SCP) are back on their own archive events. The live event is camera photos only. This change stops the next file without a capture time from taking the same path.
Sign in to join this conversation.