Skip to content

Release v1.5.1: fix OwnTracks ingestion timeout - #4

Merged
cosmicc merged 1 commit into
mainfrom
fix/issue-3-owntracks-timeout
Sep 25, 2026
Merged

cosmicc merged 1 commit into
mainfrom
fix/issue-3-owntracks-timeout

Conversation

@cosmicc

@cosmicc cosmicc commented Sep 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • return successful OwnTracks HTTP responses immediately after the validated payload commits
  • leave trip generation, odometer work, backfills, retention, and the processing lock to the background processor
  • preserve encrypted payload validation, authentication, retryable database failures, waypoint synchronization, and duplicate retry idempotency
  • add encrypted location, waypoint, duplicate, 50-message sequential backlog, and deferred background trip regression coverage
  • update application/deployment versions and documentation for 1.5.1

Validation

  • ruff check .
  • pytest -q (240 passed)
  • bash -n scripts/*.sh
  • Docker Compose config rendering
  • Docker Swarm remote-PostgreSQL and bundled-PostgreSQL stack rendering

Closes #3

@cosmicc
cosmicc merged commit 3466dad into main Sep 25, 2026
1 check passed
@cosmicc
cosmicc deleted the fix/issue-3-owntracks-timeout branch September 25, 2026 15:22

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment on lines 463 to 466
db.commit()
if site is not None:
db.refresh(site)
_run_trip_processing(db, payload)
return OwnTracksProcessResult(location=None, site=site)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-25T15:23:23.183713Z 0556024 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prevent OwnTracks HTTP timeouts during automatic trip processing

1 participant