Install

Works with Drupal: ^11.3

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 8.87 MB
MD5: 1f614423bedd51467c0bcd4f35648d05
SHA-1: 269c9805ef8d15708a87622b6e75652bf1e7b8ac
SHA-256: e25cbc199774d330eb29c1d12c642e9b886bb1712873bdfb8feae081a5cee062
Download zip 10.35 MB
MD5: 73d8b9433ff12473fa503739d0f3f3d0
SHA-1: ff0343d98abb79b863bcb78f0f9bf0823af5f76e
SHA-256: 3075f50fefbf390fcb85ba8b6db7d36806e288beb3331f80b4486fc1d700346b

Release notes

[2.6.0-alpha2] - 2026-09-12

Runtime storage gets an audit rather than a cleanup. Every cron sweep and most
hot lookups now run on an index; blocking a user account finally does something
to that account's runs; and FlowDrop starts reporting what it stores per run,
with a retention configuration that ships entirely off. Nothing in this
release deletes, nulls or rewrites a stored row. Database updates: nine
schema updates across seven modules plus two post-updates — run

drush
updatedb

in a maintenance window, then clear caches. Read the 2.6.0-alpha1
to 2.6.0-alpha2 section of UPGRADE.md for what the index updates
cost on a large site.

Added

  • Data retention reporting (#3592455). FlowDrop now declares what it stores
    per run — the age field, status vocabulary and payload columns of every
    runtime entity type — and reports on it. This release ships the declaration,
    the configuration, a cached report service, an informational status-report
    line and a read-only Drush command. There is no sweeper, no cron hook and no
    purge command.
    • New config group retention: in flowdrop.settings, one block per
      governed entity type (flowdrop_session, flowdrop_pipeline,
      flowdrop_job, flowdrop_session_message, state_checkpoint) with a
      mode (off, slim, delete) and one or two age thresholds. Every type
      ships mode: off; slim and delete are accepted by the schema so a later
      release can honour them without a config migration, and behave exactly as
      off today. flowdrop_post_update_add_retention_settings() stamps the
      defaults onto existing sites, absent keys only.
    • New Drush command flowdrop:retention:report (alias fd:retention:report,
      --refresh, --fields, --format=json with raw numbers): rows, size,
      oldest age, rows held by a non-terminal status, dry-run eligibility and
      estimated reclaim per type, plus the interrupt, snapshot and memory-record
      cleanups that already run so one place accounts for everything FlowDrop
      deletes.
    • New status-report line FlowDrop data retention, informational only. It
      reads the cached report and never scans a table while rendering a page.
      Cron builds the report once a day (a read-only warm: it measures, caches
      and deletes nothing) and rebuilds it on the next run whenever the cache
      is empty, so a cache rebuild costs one cron interval rather than a day;
      the stored report is permanent and invalidated by the config it renders.
      Until the first run the line reads Not yet computed and names
      drush flowdrop:retention:report --refresh.
    • Eligibility for stores another module already sweeps follows that
      sweeper's own rules: a snapshot counts only if its status is in
      flowdrop_runtime.settings:snapshot_cleanup.statuses, so a cancelled
      snapshot is never reported as reclaimable.
    • New services flowdrop.retention_info and flowdrop.retention_report, and
      hook_flowdrop_retention_info_alter() — marked @internal for this
      release; its shape settles when the sweeper ships.
    • JobStatus, SessionStatus, InterruptStatus and the WorkflowSnapshot
      DTO gained terminalStatuses(), so each vocabulary states once which of
      its values are final. paused, pending, running, idle,
      awaiting_input and interrupted are never eligible for anything.
    • This is an operational size-and-age report, not a GDPR erasure
      mechanism: it makes no claim about personal data and offers no
      subject-level deletion.

Fixed

  • The memory record indexes that were declared but never installed
    (#3592453).
    MemoryRecordStorageSchema has declared
    (scope, scope_id,
    memory_key)

    and (expires) since 89ff01b7, and no upgraded site ever got
    them: SqlContentEntityStorage resolves its storage_schema handler from the
    last-installed entity type definition, and the definition saved when the
    module was installed predates the declaration, so the class was inert and the
    entity definition update manager could not see the gap either. Fresh installs
    were unaffected, which is how it survived. Every memory read and write in
    every workflow run was a full table scan. flowdrop_memory_update_10002()
    applies them.

  • Blocking a user account now actually stops that account's runs
    (#3592456).
    status was declared twice on both the pipeline and the job
    entity — a boolean "Enabled" flag and, immediately after, the list_string
    lifecycle field. The second declaration won, so the column has always held
    pending/running/completed/…, but entity_keys still advertised
    published => status. Nothing published-aware ever worked, and
    hook_user_cancel()'s status = 1 query matched no row on any site, so
    cancelling an account with "Disable the account and unpublish its content"
    silently did nothing — and had it ever matched, it would have written FALSE
    into the lifecycle column. The duplicate declaration and the entity key are
    gone. The cancellation method now cancels every pipeline and job of the
    account that has not reached a terminal status, in batches; finished runs and
    other accounts' runs are untouched. Each pipeline cancellation is announced
    like every other out-of-band cancellation, so a parent workflow waiting on
    one of those runs is released instead of hanging — which is why the pipeline
    half of the hook lives in flowdrop_runtime, the module that owns the
    cancellation contract. flowdrop_pipeline_update_10006() and
    flowdrop_job_update_10002() remove the key from the installed definitions;
    no row and no column is touched.

Performance

  • Every cron cleanup and the hot lookup paths now run on an index
    (#3592453).
    Composite indexes are added across eight entity types, each
    declared in a storage schema class next to its entity: the age-then-status
    composites the retention report and the three shipped cleanup sweeps query
    (flowdrop_job, flowdrop_pipeline, flowdrop_session,
    flowdrop_session_message, flowdrop_interrupt,
    flowdrop_workflow_snapshot); the orchestration connector's
    completed-pipeline poll page; the trigger overlap policy; the cron
    stale-session and stale-message recovery; the transcript /messages poll and
    its carrier-message lookups; the checkpoint and workflow-snapshot resume
    paths, neither of which had an index on any column it queried; the
    scheduled-interrupt sweeper; and the interrupt inbox badge. Measured on a
    development database, none of the 29 query shapes surveyed filesorts any
    more. On PostgreSQL the indexes are declared without a key prefix, since a
    prefixed index there is a functional index no entity query can use.
  • Indexes that could never narrow a scan are dropped. flowdrop_pipeline's
    job_priority_strategy and retry_strategy and flowdrop_session's
    execution_mode hold one value on every row, and four single-column
    indexes are now strict leading prefixes of a new composite
    (flowdrop_pipeline.workflow_id, flowdrop_session_message.session_id,
    flowdrop_interrupt.session_id and .uid). Each cost a write per save on the
    busiest tables in the module.
Created by: d34dman
Created on: 12 Sep 2026 at 17:14 UTC
Last updated: 12 Sep 2026 at 17:14 UTC
Bug fixes
New features

Other releases