Skip to content

Inboxora 4.3.2

Choose a tag to compare

@Dragonk Dragonk released this 08 Oct 15:02
· 81 commits to main since this release
e77cb2a

Inboxora 4.3.2 is a maintenance release addressing conversation ingest retry queue bloat and clarifying storage maintenance reporting metrics (#16).

Fixed

  • Conversation ingest failure deduplication and retry backoff (#16): Active ingest failure records are now deduplicated per user, message row and operation rather than inserting duplicate unresolved records on every repeated failure. Unresolved retries apply exponential backoff (capping at 24 hours), avoiding rapid spin cycles on persistent errors.
  • Automatic failure resolution upon success (#16): Successful ingest and retry operations now automatically resolve all historical active failure records for the affected message.
  • Dead retry pruning (#16): The operational maintenance cleaner now prunes exhausted ingest failures with 50 or more attempts that exceed the operational history retention window.

Changed

  • Storage maintenance metrics reporting (#16): Clarified database size change metrics in storageMaintenanceStatus.ts and maintenance status reporting:
    • database_delta_bytes explicitly reports database size change from baseline (current - before, positive indicates growth).
    • database_delta_since_sweep_bytes reports change since the initial header repair sweep completion.
    • The legacy database_change_bytes field is retained for backward compatibility.
    • Added relation size breakdown in --summary mode: messages_heap_bytes, messages_index_bytes, messages_toast_bytes, ingest_failures_bytes, and unresolved ingest failure count.

Database migration

  • 0169_deduplicate_conversation_ingest_failures.sql:
    • Runs automatically on backend startup immediately after 0168_alias_default_recipients.sql.
    • Resolves active failures for messages that are already present in conversations.
    • Backfills missing account_id and deduplicates open failure entries, keeping the latest attempt.
    • Adds a non-blocking partial unique index idx_conversation_ingest_failures_unresolved_lookup on (user_id, account_id, message_row_id, operation) where resolved_at IS NULL AND message_row_id IS NOT NULL for atomic deduplication and concurrency safety.

Upgrade: Back up PostgreSQL and .env, preserve ENCRYPTION_KEY, and deploy backend/frontend 4.3.2 together. Migration 0169 runs automatically on startup.

Docker: ghcr.io/dragonk/inboxora-backend:4.3.2 and ghcr.io/dragonk/inboxora-frontend:4.3.2 (AMD64/ARM64), also tagged v4.3.2 and latest after publication.

Full release notes · Upgrade guide