Skip to content

Release 0.15.1 — task lifecycle hardening #666

Description

@jumski

Outcome

Ship one 0.15.1 patch release that completes the current task-lifecycle hardening, fixes Windows CLI installation, and publishes the related operator documentation.

The first unchecked item under Critical path is the current next task.

Already on main, not yet released

All three changes landed after 0.15.0. They remain unreleased until #659 merges.

Critical path

Parallel release work

Consolidated migration safeguards

Atlas generates the structural diff, but it cannot infer migration-only data repairs. Audit the generated migration against the three migrations currently on main and the temporary #656 migration before deleting them.

The consolidated migration must preserve:

  1. The final step_tasks.valid_status constraint, including skipped and cancelled.
  2. The final definitions and attributes of every changed function.
  3. The Skip paths archive sibling messages but never terminalize sibling step_tasks rows, leaving status='started' tasks on completed runs #638 repair that marks active tasks under skipped steps as skipped.
  4. The Failed runs leave unfinished sibling tasks queued or started instead of cancelled #645 repair that marks remaining active tasks under failed runs as cancelled.
  5. Repair order: skipped-task repair before failed-run cancellation.

Check function signatures, return types, SECURITY DEFINER, SET search_path, grants, and statement order. After any migration-only manual edits, regenerate atlas.sum.

Only disposable databases consumed the current unreleased migrations, so they may be replaced before publication.

The release upgrade fixture must start from 0.15.0, apply the consolidated migration, and check both historical repairs and final runtime behavior.

Windows package check

Add one small windows-latest job rather than a full Windows CI matrix. It must build and pack pgflow, install the tarball into a clean directory with lifecycle scripts enabled, and run the npm-created pgflow.cmd --version shim.

News article

Suggested title: pgflow 0.15.1: Reliable Task Finalization and Recovery.

Cover #638, #645, #621, #656, #610, automatic historical repair, and the normal update instructions. Merge the article after the release scope is final and immediately before #659.

Release boundary

#647 remains outside 0.15.1. Start it after publication as the breaking 0.16.0 release, then continue the #653 sequence with #650 and #651.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:p1Next batch: current correctness, user blocker, or operational safety

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions