Skip to content
MoubeePublic

Latest commit

 

History

7,566 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flamme

A .NET process orchestrator focused on performance and distributed production workloads.

Build and packages License: MIT

Flamme is an independent fork of Elsa Workflows, based on Elsa 3.9. The maintainer selected 3.9 as the most stable baseline for this fork. The Flamme name marks a focused direction: orchestrating processes under high load, improving runtime performance, and operating across distributed production environments, with Kubernetes as the primary hosting target.

Important

These are Flamme's engineering priorities. They do not establish a throughput guarantee or mean that the reference server is a production deployment template. See the project direction and roadmap for the distinction between current foundations and planned work.

Why Flamme? · Scope · Run locally · Kubernetes · Documentation · Contributing

Why Flamme?

Elsa provides the workflow engine foundation: activities, workflow definitions, persistence, execution, and APIs. Flamme builds on that work with a narrower scope so engineering effort can concentrate on process orchestration, performance, and production operations.

Priority Direction
Process orchestration Coordinate services and long-running business processes through code and APIs.
High-load performance Measure throughput, latency, resource use, and contention; use reproducible workloads to guide improvements.
Distributed operation Prioritize coordination, recovery, graceful shutdown, and observable behavior across runtime instances.
Kubernetes hosting Make container lifecycle, readiness, deployment, and operational guidance central to development.
Focused persistence Support PostgreSQL as the only durable database today to reduce implementation and validation scope.

The backend and runtime take priority. UI development is currently secondary; this repository does not host a designer. Elsa Studio remains a separate upstream project, and compatibility with Flamme changes should be evaluated for your use case.

Flamme packages, assemblies, public namespaces, and host composition use the Flamme name. Built-in activities have separate capability names in published workflows, including ControlFlow.Flowchart and Console.WriteLine.

Scope

Current foundations include C# and JSON workflow definitions, composable activities, short- and long-running execution, triggers and bookmarks, HTTP APIs, scheduling, distributed runtime support, and workflow traces and metrics. The repository wiki maps these capabilities to their source modules.

Hosts compose modules statically with AddFlamme and deploy versioned applications. Runtime package loading, shell hosting/reload, Platform recipes/catalog manifests, BPMN, and WebhooksCore integrations have been retired. Existing deployments should follow the integration migration guide, including the persisted pause-state migration before starting a replacement host.

Flamme emits an ActivitySource and Meter; application hosts configure official OpenTelemetry packages and external observability backends. Custom diagnostics collectors, log buffers, exporters, and telemetry endpoints have been removed. See the telemetry configuration and migration guide.

Persistence

Backend Status
PostgreSQL The only supported durable database, through the existing EF Core providers.
In-memory stores Available for development and tests. State is process-local, lost at restart, and not shared between nodes.
MySQL, SQLite, Cassandra Planned future work; currently unsupported. Cassandra is planned for high-load scenarios.

Other database providers and the experimental persistence vNext system have been removed. Follow the PostgreSQL migration guide when moving an existing host. Durable operational logs require separate consideration: no PostgreSQL structured-log backend is currently bundled.

.NET tooling

The repository uses the .NET SDK selected by global.json: 11.0.100 with patch roll-forward. Libraries, app hosts, and correctness tests target .NET 10 and .NET 11; performance benchmarks target .NET 10. Tests use Microsoft Testing Platform and TUnit. Install the .NET 10 runtime alongside the selected SDK to run both supported targets.

Run locally

For a coordinated development session or demonstration, install the .NET SDK selected by global.json, Aspire CLI 13.6.5, and a running Docker-compatible container runtime, then run from the repository root:

aspire run --isolated

Aspire starts PostgreSQL 17 and the reference server from source, and provides a dashboard for endpoints, health, logs, traces, and metrics. Follow the Aspire development guide for certificate setup, isolated Git worktrees, server health checks, and database lifetime details.

Manual server startup

Use the reference server to explore the backend. The commands below use a local PostgreSQL container and run the application on the host. Run them from the repository root with the selected .NET SDK and Docker installed, and port 5432 available locally.

  1. Start the development database:

    docker run --detach --name flamme-postgres \
      --publish 127.0.0.1:5432:5432 \
      --env POSTGRES_USER=elsa \
      --env POSTGRES_PASSWORD=elsa \
      --env POSTGRES_DB=elsa \
      --volume flamme-postgres-17-data:/var/lib/postgresql/data \
      postgres:17-alpine

    This example uses a separate development volume and pins the PostgreSQL major version to match its data-directory layout. On later runs, use docker start flamme-postgres to reuse the container and its data.

  2. Repeat the readiness check until PostgreSQL reports that it is accepting connections:

    docker exec flamme-postgres pg_isready -h localhost -U elsa -d elsa
  3. Run the server using the checked-in local database settings:

    ASPNETCORE_ENVIRONMENT=Development \
    Http__BaseUrl=http://localhost:5001 \
    Scripting__Python__AllowHostCodeExecution=false \
    dotnet run --project src/apps/Flamme.Server.Web/Flamme.Server.Web.csproj \
      --framework net11.0 --no-launch-profile --urls http://localhost:5001

    This shell example disables Python execution so the quickstart does not require a native Python runtime. The scripting guide describes enabling it.

Endpoint Purpose
/health/live Process liveness.
/health/ready Runtime readiness, including configured dependency checks.
/elsa/api Management API route prefix; individual endpoints require authentication and authorization.

The Development configuration contains sample identities and a development signing key. Configure your own credentials, JWT signing key, and database connection for other environments; see the server configuration notes. The local sample permits single-host locks for development.

Build the solution with:

dotnet build Flamme.slnx --configuration Release

See Build, Run, And Operate for container builds and CONTRIBUTING.md for targeted builds, tests, and packaging.

Kubernetes

Kubernetes is Flamme's primary hosting target. Production hardening and deployment guidance are active roadmap priorities; the reference application and Aspire AppHost are development examples.

Use separate liveness and readiness probes, configure PostgreSQL persistence, and provide a distributed lock provider appropriate for your cluster. The reference server's local file-system locks do not coordinate pods with separate file systems. Start with the health-check guidance and distributed runtime notes, then consult the roadmap for planned operational work.

Documentation

Resource Purpose
Documentation index Guides ranked by importance, retained reference material, and documentation maintenance policy.
Project direction Fork rationale, scope, and relationship to upstream.
Roadmap Flamme's development priorities and future database plans.
Repository wiki Architecture, modules, runtime behavior, and source landmarks.
Persistence migration Removed providers and PostgreSQL configuration.
Server configuration Reference host settings, identity, and ingress rate limiting.
Aspire development Coordinated server/database startup, health checks, telemetry, and isolated worktrees.
Upstream Elsa documentation Background on inherited concepts; verify differences against Flamme's code and documentation.

Contributing

Use Flamme issues for bug reports, performance evidence, and proposals. Contributions should align with the project direction; include representative workloads and measurements when proposing performance changes. Follow the contribution guide for the development workflow and validation commands.

Report suspected vulnerabilities privately using the security policy.

License and attribution

Flamme is licensed under the MIT License and retains the original copyright notice. Thanks to the Elsa Workflows contributors for the foundation on which this fork builds.

Releases

Packages

Used by

Contributors

Languages