Repository navigation
Releases
Releases · Quadratic-Labs/flowli
Flowli 0.3.3
Fixed
- The catalog dropped the
Annotatedmetadata of a workflow's arguments: a
Field(description=...)or aWithJsonSchemanever reached the schema. - The start form of the web application showed an enum argument as a text
field when its schema was a$refinto$defs(a PythonEnum), a
const(a one-valueLiteral) or an optional enum. It is now a select.
Documentation: https://quadratic-labs.github.io/flowli/
Flowli 0.3.2
Fixed
- Every step lasted 0 ms in the flamegraph of the web application.
frame.completedandframe.failedcarried the instant the step started,
for a step run in the workflow and for aRUN_STEPtask alike. They now
carry the instant it ended.
Documentation: https://quadratic-labs.github.io/flowli/
Flowli 0.3.1
Added
- A workflow can name its queue:
registry.workflow(name, version, queue="batch").engine.startandctx.childput an execution there
when the caller names no queue, and the catalog shows it as the item's
queue. - The start form of the web application has a Queue field. It defaults to
the catalog's queue of the workflow and suggests the queues of the
service. Before, a start from the interface always went to the default
queue, where a deployment that runs its workers on other queues never
picked it up.
Changed
ctx.childdefaultsqueueto None, which means the child workflow's
queue, elsedefault: the queue it used before for a workflow that names
none.
Documentation: https://quadratic-labs.github.io/flowli/
Flowli 0.3.0
Added
- A Workflows table at the end of the dashboard: for each workflow, five
dots for the statuses of its last five executions (newest on the right,
grey for no run yet), the run and active counts, the success rate and the
mean duration of the last 20 finished executions, the time since the last
run, and a Start button. It reads the newGET /stats/workflows
(projection.workflow_summaries), joined with the catalog so that a
workflow that never ran still shows.
Fixed
- The web application's execution list kept showing a finished execution
as running. The worker stampedexecution.completed,failed,
cancelledandsuspendedwith the instant the run started, so the
projection'supdated_atdid not move. The ETag of/executionsand
/executions/{eid}/children, built fromeid@updated_atonly, then gave a
304 on the stale list. Outcome entries now carry the instant the run ended
(which also fixes the elapsed time and the newest-first order). The list
ETags now cover every field of every row.
Documentation: https://quadratic-labs.github.io/flowli/
Flowli 0.2.0
Added
--storage module:attr(orFLOWLI_STORAGE) on every command: a
CairnDBStorageConfigorBlobStorage, or a callable that returns one.
An application builds its bucket from its own settings, credentials
included, and the CLI still owns the backend (--projection,
--worker-id). It excludes--storage-pathand takes precedence over
theCAIRNDB_*variables.
Changed
- CairnDB
>=0.4.1,<0.6, so that 0.5 and its Azurecredentialcan be used.
Documentation: https://quadratic-labs.github.io/flowli/
Flowli 0.1.1
Fixed
flowli sweeper --projectionandflowli retention --projectionno
longer fail withunable to open database filebefore the first
execution: on a control log with no commit, the projection's sweeper and
retention sources answer empty.
Documentation: https://quadratic-labs.github.io/flowli/
Flowli 0.1.0
First release, published to PyPI (pip install flowli). The project was
developed as Flowlet before this release.
Added
- The engine: a workflow runs as a coroutine execution stack, and every
frame is journaled to CairnDB. Replay from the journal resumes an
execution, and leases give each execution exactly one owner. - Patterns built on the
ContextAPI: delegate, fanout, review, saga
and schedule. - The
flowlicommand (thecliextra): the worker, sweeper and
retention jobs, and the operator commandsstatus,signal,cancel
andmigrate. - The HTTP service (the
apiextra): the catalog, the control plane,
the worker plane and evidence. - Backends: CairnDB (
cairndb>=0.4.1,<0.5, from PyPI) and in-memory. - A
py.typedmarker, and the MITLICENSEin the sdist and wheel. - Publishing: pushing a
vX.Y.Ztag onrelease/X.Ypublishes the
release to PyPI (Trusted Publishing) and creates the GitHub Release. - The documentation, published to GitHub Pages from the latest
release/X.Ybranch, with a Project section: roadmap, changelog,
contributing guide and code of conduct. - A CI workflow:
ruff check,ruff format --check,mypyand the
tests of the three packages.
Documentation: https://quadratic-labs.github.io/flowli/
MVP
This is the first MVP.
It runs locally with SQLite.