Install
Works with Drupal: ^11.3Using Composer to manage Drupal site dependencies
Alternative installation files
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:inflowdrop.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
shipsmode: off;slimanddeleteare accepted by the schema so a later
release can honour them without a config migration, and behave exactly as
offtoday.flowdrop_post_update_add_retention_settings()stamps the
defaults onto existing sites, absent keys only. - New Drush command
flowdrop:retention:report(aliasfd:retention:report,
--refresh,--fields,--format=jsonwith 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_infoandflowdrop.retention_report, and
hook_flowdrop_retention_info_alter()— marked@internalfor this
release; its shape settles when the sweeper ships. JobStatus,SessionStatus,InterruptStatusand theWorkflowSnapshot
DTO gainedterminalStatuses(), so each vocabulary states once which of
its values are final.paused,pending,running,idle,
awaiting_inputandinterruptedare 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.
- New config group
Fixed
- The memory record indexes that were declared but never installed
(#3592453).MemoryRecordStorageSchemahas declared(scope, scope_id, memory_key)and
(expires)since 89ff01b7, and no upgraded site ever got
them:SqlContentEntityStorageresolves itsstorage_schemahandler 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).statuswas declared twice on both the pipeline and the job
entity — a boolean "Enabled" flag and, immediately after, thelist_string
lifecycle field. The second declaration won, so the column has always held
pending/running/completed/…, butentity_keysstill advertised
published => status. Nothing published-aware ever worked, and
hook_user_cancel()'sstatus = 1query 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 writtenFALSE
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 inflowdrop_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/messagespoll 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_strategyandretry_strategyandflowdrop_session's
execution_modehold 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_idand.uid). Each cost a write per save on the
busiest tables in the module.