Skip to content

Prepare Trip Tracker 1.5.0 - #2

Merged
cosmicc merged 1 commit into
mainfrom
agent/trip-tracker-1.5.0
Jul 27, 2026
Merged

cosmicc merged 1 commit into
mainfrom
agent/trip-tracker-1.5.0

Conversation

@cosmicc

@cosmicc cosmicc commented Jul 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • rename Mileage Logger to Trip Tracker across Python, Docker, Swarm, nginx, documentation, assets, defaults, and package workflows
  • add the 1.5.0 upgrade guide and backward-compatible restore handling for pre-1.5 backups
  • create missing host data and backup bind-mount directories through a reusable mkdir -p preparation script
  • repeat unresolved degraded or unavailable Pushover notifications hourly by default

Impact

This is the coordinated 1.5.0 product rename. Existing deployments must follow UPGRADE-1.5.md for database role/name, persistent paths, Docker volume selection, Cloudflare origin, and image-name changes. The database schema and stored trip data are unchanged.

Merging to main publishes both GHCR component images with latest, 1.5.0, and immutable sha-<commit> tags. This PR does not create a Git tag or GitHub Release.

Validation

  • ruff check .
  • shellcheck scripts/prepare_host_directories.sh scripts/init_docker_env.sh scripts/docker-entrypoint.sh
  • pytest — 238 passed
  • Docker Compose config render
  • Docker Swarm config render for remote and bundled PostgreSQL
  • git diff --check

@cosmicc
cosmicc marked this pull request as ready for review July 27, 2026 05:15
@cosmicc
cosmicc merged commit d137b19 into main Jul 27, 2026
1 check passed
@cosmicc
cosmicc deleted the agent/trip-tracker-1.5.0 branch July 27, 2026 05:17

@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: c8109c8999

ℹ️ 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 thread UPGRADE-1.5.md

```sql
ALTER DATABASE mileage_logger RENAME TO trip_tracker;
ALTER ROLE mileage RENAME TO triptracker;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Run the role rename from a different superuser

For bundled installations initialized with POSTGRES_USER=mileage, mileage is the PostgreSQL bootstrap superuser and normally the only administrative role, so following this guide means the session user is also mileage; PostgreSQL refuses to rename the current session user, causing this command to fail and leaving the new triptracker connection settings unusable. The upgrade sequence needs to create and reconnect through a temporary superuser before this statement, or retain the existing role name in DATABASE_URL.

AGENTS.md reference: AGENTS.md:L37-L41

Useful? React with 👍 / 👎.

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.

1 participant