Skip to content

Native beta: trace recurring history write deadlines before stable #1554

Open

Description

@frahlg

Native v0.140.4-beta.1 (88327e0dbbdbfad2b140a8206fe9d5b0f6d45235) produced recurring history write failures during an ARM64 field trial. Five incidents produced seven failed attempts, including two immediate SQLITE_BUSY retries after a deadline. All observed incidents recovered, accepted ticks remained accounted for, and no ticks were rejected. Stable promotion is held.

#1552 reproduces and fixes the retry race: database/sql can mark a transaction done before automatic SQLite rollback finishes. It also records the write phase. That explains the immediate BUSY retries, but the source of the initial five-second delay is still unconfirmed. One incident overlapped natural hourly maintenance; another happened outside it. Short healthy-window disk-sync measurements and historical thermal flags do not identify the cause.

Trace the initial deadline with the phase information in the next exact beta, fix any remaining source of repeated failures, and verify a fresh field trial before clearing this blocker. Preserve accepted ticks, exact-once receipts, identity and schema. Local tests alone do not close this issue.

Fixes merged on 2026-10-11:

The first five-second live write delay remains unconfirmed. These rollback tests inject the initial delay and therefore prove the failed retry mechanism, not the initial field trigger. Short live sync, CPU and thermal observations do not prove its cause.

Next candidate: v0.140.5-beta.1 from de46b4a, through native release run 38135058868. Both release packages, checksums, GitHub digests, receipt and clean VCS metadata are verified. The candidate is now installed through the normal updater. The new 48-hour trial started 2026-10-11 at 11:26:33 UTC; earliest promotion is 2026-10-13 at 11:26:33 UTC. The first forecast evaluation completed without a pruning timeout, the native plan is fresh and no longer stale in control, all three drivers are healthy, and history continues with zero failed or rejected ticks. The initial short healthy window is not a completed trial. Keep this issue open until new field evidence supports resolution; the candidate needs a fresh owner-selected 48-hour trial.

Activity

  1. added
    release-blocker
    on Oct 11, 2026
  2. reopened this on Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    release-blocker

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions