Repository navigation
Release v1.5.1: fix OwnTracks ingestion timeout - #4
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0556024360
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| db.commit() | ||
| if site is not None: | ||
| db.refresh(site) | ||
| _run_trip_processing(db, payload) | ||
| return OwnTracksProcessResult(location=None, site=site) |
There was a problem hiding this comment.
Schedule historical processing after waypoint sync
When a historical transition backlog is processed before its matching waypoint definition arrives, this branch commits the new Site and returns without creating a checkpointed raw row or otherwise notifying the background processor of the waypoint's payload date. Because later processor passes only revisit dates represented by new location rows plus today/yesterday, those older transitions are never reconsidered against the newly synchronized site, permanently omitting their trips. Persist a processable waypoint signal or schedule its affected historical date for background processing without waiting in the HTTP request.
AGENTS.md reference: AGENTS.md:L341-L342
Useful? React with 👍 / 👎.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Summary
Validation
ruff check .pytest -q(240 passed)bash -n scripts/*.shCloses #3