Skip to main content

Imbi Workflows

The workflow engine (ADR 0021). It claims queued and running workflow runs from the workflow_runtime Postgres schema, runs one step per claim, records the result, and releases the run. imbi-api owns the schema, starts runs, and cancels them; the engine has no public API, only /status.

Deploy, rollback, and email steps call imbi-api as the imbi-workflows service account. The bounds of ADR 0017 apply to deployments: the account needs integration:act-as-service, membership in the workflow's organization, and a target environment with allow_autonomous. imbi-api sends email, to users and teams of the organization only.

The engine also reconciles trigger bindings. When a workflow activates, pauses, or is deleted, imbi-api writes the desired bindings to workflows.trigger_bindings and notifies. The engine then makes the scheduler task of each schedule trigger (as the imbi-workflows account) and the gateway-actions#start_workflow rule of each webhook trigger, and records each binding as synced or failed. It also does this on a schedule, so a failed call is tried again.

Settings

Variable Purpose Default
IMBI_INTERNAL_API_URL In-cluster origin of imbi-api http://localhost:8000
IMBI_API_URL imbi-api's public URL, whose path is its route prefix
IMBI_WORKFLOWS_SA_CLIENT_ID Client id of the imbi-workflows service account
IMBI_WORKFLOWS_SA_CLIENT_SECRET Client secret of that account
IMBI_WORKFLOWS_WORKERS Runs one process works on at the same time 10
IMBI_WORKFLOWS_POLL_INTERVAL Upper bound in seconds on the sleep between polls 10
IMBI_WORKFLOWS_SCHEDULER_URL imbi-scheduler's task API, with its route prefix http://localhost:8005/api
IMBI_WORKFLOWS_RECONCILE_INTERVAL Seconds between passes of the trigger reconciler 300

Postgres and the graph use the shared settings of imbi-common.

Developer Quickstart

moon run root:setup
moon run root:services
uv run --env-file .env.test pytest apps/workflows/tests

Metadata

Release files for imbi-workflows 2.63.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for imbi-workflows 2.63.0
File Size Uploaded Provenance Actions
imbi_workflows-2.63.0.tar.gz 61.4 kB With provenance Details for imbi_workflows-2.63.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for imbi-workflows 2.63.0
File Interpreter ABI Platform Actions
imbi_workflows-2.63.0-py3-none-any.whl Python 3 none any Details for imbi_workflows-2.63.0-py3-none-any.whl

Total release size: 96.6 kB

Release files / imbi_workflows-2.63.0.tar.gz

Download URL imbi_workflows-2.63.0.tar.gz
Size 61.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2f64234bc6524ab2bb429475a3d9642a09aef25bc3150a8cb48015d376bca840
BLAKE2b-256 checksum
How to use checksums
3c10da33d3f4b980f89eaf56b0e89e959ba18069c678b2960547d8eebf008135
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / imbi_workflows-2.63.0-py3-none-any.whl

Download URL imbi_workflows-2.63.0-py3-none-any.whl
Size 35.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c1544a0cfdf6109ae17b0f36f6e88c19a1d9490fa28fe997586cd071229b7413
BLAKE2b-256 checksum
How to use checksums
bbacd748f2f2253e86ce889fbb390f00f2b9ee4417356b4030ebff70bcafb18c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Security for imbi-workflows 2.63.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for imbi_workflows-2.63.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.63.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page