Skip to content

Releases

Flowli 0.3.3

Choose a tag to compare

@github-actions github-actions released this 10 Nov 09:58
0020e57

Fixed

  • The catalog dropped the Annotated metadata of a workflow's arguments: a
    Field(description=...) or a WithJsonSchema never reached the schema.
  • The start form of the web application showed an enum argument as a text
    field when its schema was a $ref into $defs (a Python Enum), a
    const (a one-value Literal) or an optional enum. It is now a select.

Documentation: https://quadratic-labs.github.io/flowli/

Flowli 0.3.2

Choose a tag to compare

@github-actions github-actions released this 09 Nov 10:37
v0.3.2
972e815

Fixed

  • Every step lasted 0 ms in the flamegraph of the web application.
    frame.completed and frame.failed carried the instant the step started,
    for a step run in the workflow and for a RUN_STEP task alike. They now
    carry the instant it ended.

Documentation: https://quadratic-labs.github.io/flowli/

Flowli 0.3.1

Choose a tag to compare

@github-actions github-actions released this 07 Nov 06:44
v0.3.1
5938726

Added

  • A workflow can name its queue: registry.workflow(name, version, queue="batch"). engine.start and ctx.child put 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.child defaults queue to None, which means the child workflow's
    queue, else default: the queue it used before for a workflow that names
    none.

Documentation: https://quadratic-labs.github.io/flowli/

Flowli 0.3.0

Choose a tag to compare

@github-actions github-actions released this 06 Nov 17:24
v0.3.0
0658302

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 new GET /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 stamped execution.completed, failed,
    cancelled and suspended with the instant the run started, so the
    projection's updated_at did not move. The ETag of /executions and
    /executions/{eid}/children, built from eid@updated_at only, 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

Choose a tag to compare

@github-actions github-actions released this 02 Nov 13:27
v0.2.0
dbb1288

Added

  • --storage module:attr (or FLOWLI_STORAGE) on every command: a
    CairnDB StorageConfig or BlobStorage, 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-path and takes precedence over
    the CAIRNDB_* variables.

Changed

  • CairnDB >=0.4.1,<0.6, so that 0.5 and its Azure credential can be used.

Documentation: https://quadratic-labs.github.io/flowli/

Flowli 0.1.1

Choose a tag to compare

@github-actions github-actions released this 01 Nov 19:31
v0.1.1
999a4c9

Fixed

  • flowli sweeper --projection and flowli retention --projection no
    longer fail with unable to open database file before 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

Choose a tag to compare

@github-actions github-actions released this 26 Sep 19:02
v0.1.0
5077f4b

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 Context API: delegate, fanout, review, saga
    and schedule.
  • The flowli command (the cli extra): the worker, sweeper and
    retention jobs, and the operator commands status, signal, cancel
    and migrate.
  • The HTTP service (the api extra): 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.typed marker, and the MIT LICENSE in the sdist and wheel.
  • Publishing: pushing a vX.Y.Z tag on release/X.Y publishes the
    release to PyPI (Trusted Publishing) and creates the GitHub Release.
  • The documentation, published to GitHub Pages from the latest
    release/X.Y branch, with a Project section: roadmap, changelog,
    contributing guide and code of conduct.
  • A CI workflow: ruff check, ruff format --check, mypy and the
    tests of the three packages.

Documentation: https://quadratic-labs.github.io/flowli/

MVP

MVP

Choose a tag to compare

@thomas-quadratic thomas-quadratic released this 13 Dec 14:22

This is the first MVP.
It runs locally with SQLite.