Install
Works with Drupal: ^11.3Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
[2.6.0-alpha3] - 2026-09-20
The last alpha before 2.6.0: four small operator-facing fixes and the
housekeeping a stable tag needs. A workflow with a mistyped edgeType is now
refused when it is saved instead of silently running as an ordering edge; the
memory value ceiling is a setting; the interrupt inbox search reaches the node
id; the interrupt and pipeline API doors publish an error_code; and two
bookkeeping gaps that left finished runs pointing at interrupts, or interrupts
at finished runs, are closed. Database updates: one post-update in
flowdrop (the withdrawn slim retention mode) and one in flowdrop_pipeline
(clearing stale interrupt pointers on finished runs) — run drush updatedb,
then clear caches. Read the 2.6.0-alpha2 to 2.6.0-alpha3 section of
UPGRADE.md before upgrading a site that set slim.
Added
-
The memory value ceiling is a site setting, not a hard-coded 1 MiB
constant (#3592436).MemoryManager::set()refused any JSON-serialised
value overMAX_VALUE_BYTESand there was no way to raise it short of
patching the module. It is reachable in ordinary use: a ReAct agent's
conversation_buffercrosses 1 MB on a single large document, and the
pipeline dies appending to a buffer nothing was going to read again — after
the reasoning node had already returnedstatus: successand 38,306
characters of correct final output. One measured run cost 3 model calls,
503,925 input tokens, 593 seconds and ~$1.91 for zero delivered output, on a
value 1.5 % over the cap.flowdrop_memory.settings:max_value_bytesnow
holds the flat limit, defaulting to1048576so no existing site changes
behaviour, andbackend_config.<backendId>.max_value_bytesoverrides it per
backend — the backends never had the same real ceiling, sinceentityis
bounded by its column type andstaticonly by PHP memory. New public
MemoryManager::getMaxValueBytes(?string $backendId = NULL)resolves the
effective number, so a caller can trim or roll a value before the write
instead of discovering the ceiling by exception;MAX_VALUE_BYTESstays as
the published default. The setting is editable on the memory settings form;
no update hook is needed, because an absent key already falls back to the
constant. The ceiling is resolved on each read rather than memoised on the
service —ConfigFactoryalready caches the read, and a second cache here
would need a config-save subscriber to invalidate it, which is a pattern this
codebase uses nowhere else. A present-but-unusable value is no longer discarded in silence: a
numeric value is accepted, including the numeric string an unvalidated
settings.phpoverride produces, and anything else is logged once and falls
back rather than quietly restoring the old cap. It does not throw — this is
the write path that already throws for a genuinely oversized value, and
killing a pipeline over a misconfigured integer would be worse than the bug
it guards. -
Two more API doors publish a stable
error_code(#3592420). API-8's
migration reachesInterruptApiController(20 refusals) and
PipelineApiController(11) — the two doors an agent'srun_statustool
polls. Most reasons resolve to the shared vocabulary (NOT_FOUND,
ACCESS_DENIED,INVALID_REQUEST_BODY,INTERNAL_ERROR); the interrupt
door publishes three codes of its own,CALLBACK_WRONG_TYPE,
CALLBACK_WRONG_DIRECTIONandNOT_CANCELLABLE, because a caller debugging
a failing callback URL needs to know whether it aimed at the wrong interrupt
type or at an inward signal, and the two have different remedies. Additive on
the wire: the key is new, nothing that existed changed, and no consumer needs
to move. Two 409s stay deliberately uncoded —
InterruptManager::resolveInterrupt()throws one exception type for lock
contention, "not pending" and "expired" alike, told apart only by its message,
and a code that cannot discriminate is worse than no code; typed exceptions on
the manager are the prerequisite. Each door's payload-contract test now pins
the exact refusal key set, three keys where a code is published and two where
it is not.
Changed
- A workflow that declares an unrecognised
edgeTypeis refused at save
(#3592406). A non-emptydata.edgeTypestring thatEdgeType::isKnown()
does not accept fell through silently to handle-based classification, so a
typo likeloopbakbecame an ordering edge in the compiled graph — and if it
was meant as a loopback, it hard-errored later as a forward cycle with no
hint of the real cause. New validator rule R14
(R14_EDGE_TYPE_UNKNOWN, locatoredge.{index}) makes it a save-time error,
and the Workflow Doctor reports it on an already-stored workflow. Absent,
empty and non-string declarations are deliberately untouched: they are not
typos, and the handle fallback they trigger is the intended default. The
read path is unchanged —EdgePortClassifier::edgeType()keeps its
fallback unconditionally, so a workflow already stored with a bad value still
loads, compiles and runs; only a write refuses it. That holds at launch too,
and by construction rather than by luck:WorkflowLauncherre-validates every
stored definition before running it — deliberately, since a definition can
reach storage unvalidated through the entity API or config import — and R14 is
excluded from that gate through the new
WorkflowValidatorInterface::SAVE_ONLY_CODES, which names the class of rule
that guards a write boundary and nothing else. Bundle import and workflow
migration do enforce it; they are writes. See UPGRADE.md.
Fixed
-
flowdrop_runtime's status-report entry no longer triggers a core
deprecation. It was ahook_requirements()with a phase switch, which
drupal 11.3 deprecates unless it carries#[LegacyRequirementsHook]; every
kernel test that booted the module logged the notice. The check only ever
ran in the runtime phase, so it is nowhook_runtime_requirements(), the
same shapeflowdrop_triggeralready uses. No output changes. -
Static analysis keeps up with
phpstan-drupal2.2.2. drupal.org CI
moved to it on 2026-09-18 and its strictert()argument type flagged 60
placeholder values that could beNULLor were untyped — mostly entity
labels — across 22 forms and controllers; each now passes a string. The
strings shown to the user are unchanged. TwoArrayObjectfixtures in the
node-runtime unit test gained the type they always had. -
The interrupt inbox's text filter reached only the Message column
(#3592412). It was applied as a singleCONTAINScondition onmessage,
while the table also renders Workflow, Node, Session and Pipeline — so
searching a node id such aschoice_input.1, visible two columns over,
returned nothing, which reads as no such interrupt rather than that column
is not searched. The Workflow column has its own select, so the gap that
actually bit was Node: there was no way to narrow the inbox to one node's
interrupts.InterruptInboxForm::baseQuery()now applies the term as an OR
condition group overmessageandnode_id, both plain string columns on
the base table, so it still composes with the status and workflow scoping and
the pager without forcing a join.node_idis matched exactly, not by
substring: a node id is a canvas-assigned<type-slug>.<instance>identifier
likechoice_input.1that an operator looks up whole, and an exact match is
indexable where a leading-wildcardLIKE '%…%'can never be.messagestays
aCONTAINSscan because free text has no indexable shape; its cost is
bounded by the rows the other filters have already narrowed to, not by an
index. The widget is relabelled from Message to
Search. The filtering stays in the entity query rather than moving to PHP
the way the config-entity listings do — that is correct for a content entity
with a pager.workflow_idis excluded (it has its own exact-match select),
session_idis an entity reference, andpipeline_idis an opaque id an
operator looks up exactly, where substring matching would mostly return
noise. -
A finished run left its outward interrupts pending forever. Only the
in-loop signal cancel path cleaned them up. Every out-of-band route to a
terminal status — the interaction form, trigger overlap policies, session
stop, account cancellation, the expired-interrupt reaper — left them
pendingagainst a dead pipeline, and nothing could ever remove them: the
cron sweep's predicate isstatus <> 'pending', and an interrupt carries no
expiry by default, so the overdue sweep never saw them either. They also kept
reporting a livependingInterruptfor a run that ended, and a retention
sweep that deleted the finished pipeline would have left them pointing at
nothing.TerminalPipelineSignalReapernow reaps both directions, and the
sharedOutwardInterruptCancellergives each owning node itscancel()hook
before the status flips — the behaviour the in-loop path always had.
pausedis untouched, in both directions: there the interrupt is the
resume key, and reaping it would strand the run exactly as an expired one
does. Sub-workflow completion sentinels are untouched too: a
pipeline_completioninterrupt carries the finished pipeline's id but belongs
to the parent waiting on it, and is the row that hands the outcome over.
Existing stranded rows are not repaired — that is a backfill, gated with the
rest of the data-removal work. -
A finished pipeline kept pointing at an interrupt that no longer exists.
pending_interrupt_idhad no owner: exactly one path cleared it — the session
interrupt-resolved subscriber — while the only two others are a session reset
and a stuck-session cron recovery, neither of which fires on a normal finish.
So a run that completed, failed or was cancelled by any other route kept the
pointer, its interrupt reachedresolved, and the interrupt cleanup deleted it
as it is entitled to.GET /flowdrop/api/pipelines/{id}/statusthen reported a
finished run as carrying a livependingInterrupta client could try to
resolve. Measured on one site: 56 pipelines.FlowDropPipeline::preSave()now clears the slot on any terminal status, so
which route ended the run stops mattering. Apausedorrunningpipeline
keeps its slot — that is live state, not debris.flowdrop_pipeline_post_update_clear_finished_pending_interrupts()repairs
the rows already stored, restoringchangedso a repair does not make a
finished run look freshly changed to a retention policy.- Unfinished pipelines are deliberately not repaired. Clearing a
paused
run's slot would destroy the only record of what the run was waiting for,
and it is not the pointer that decides resumability: the interrupt is found
by pipeline id, so a run whose slot dangles may still hold a perfectly live
pendinginterrupt. Verified on one site — every unfinished row there did.
The update names them and asks you to resume or cancel each one. Those rows
come from
flowdrop_pipeline_post_update_backfill_session_and_pending_interrupt(),
which copied ids out of session metadata without checking the interrupt still
existed; that guard is not retrofitted, because the update has already run
everywhere it was going to.
Removed
- The retention mode
slimis withdrawn (#3592455).2.6.0-alpha2accepted
three retention modes; there are now two,offanddelete. Slimming — null
the payload columns, keep the row — is out of the plan entirely: it is a
write to a row that stays live and readable, so it needed a marker field to
be expressible at all, asetChangedTime()restore on every save so a swept
row did not become young again, and a UI string saying payload removed by
retention rather than rendering an empty output as though the node produced
nothing. Three pieces of machinery, each silent when wrong, to recover a
fraction of what deleting the row recovers.slimis gone from themodeenum inflowdrop.retention_policyand
flowdrop.retention_policy_age_only. Leaving it would have been worse than
never shipping it: an operator setsslim, config validation passes, and
nothing whatsoever happens — data they believe is governed by a retention
policy is kept forever, silently.flowdrop_post_update_drop_slim_retention_mode()rewrites a storedslim
tooffon both policy types.offis the honest translation, because
offis exactly whatslimdid.- No behaviour changes. Nothing swept before this release and nothing sweeps
after it;deleteis still accepted only so a later release can honour it
without a config migration.