RepositoryPHP
durable-workflow

durable-workflow/waterline

Operator UI for Durable Workflow runtime health, history, queues, retries, and repair.

205stars
19forks
0issues
0views

Waterline

An elegant operator UI for monitoring the technical runtime state of workflows.

Waterline is for fleet health, queues, waits, retries, failures, repair, history, and runtime diagnostics. Business dashboards should read application-owned read models projected at domain milestones, with workflow_id and run_id stored only as correlation references.

Installation

This UI is installable via Composer.

composer require \
    durable-workflow/waterline:^2.0.0-alpha@alpha \
    durable-workflow/workflow:^2.0.0-alpha@alpha

php artisan waterline:install

The @alpha stability flags are required while Waterline and its Durable Workflow runtime dependency are on the 2.0 prerelease channel. Composer only honors prerelease stability allowances from the root project, so default-stable applications must allow both packages explicitly. Drop the flags after 2.0.0 is tagged stable for both packages.

Authorization

Waterline exposes a dashboard at the /waterline URL. By default, you will only be able to access this dashboard in the local environment. However, within your app/Providers/WaterlineServiceProvider.php file, there is an authorization gate definition. This authorization gate controls access to Waterline in non-local environments.

Gate::define('viewWaterline', function ($user) {
    return in_array($user->email, [
        'admin@example.com',
    ]);
});

This will allow only the single admin user to access the Waterline UI.

Isolated observer stacks that have no application users can opt in to unauthenticated Waterline access:

WATERLINE_ALLOW_UNAUTHENTICATED=true

Configuration

Waterline can display a thin environment strip above the dashboard so production and non-production tabs are visibly distinct before an operator acts:

WATERLINE_ENV_NAME=production
WATERLINE_ENV_COLOR=#dc3545

WATERLINE_ENV_COLOR accepts hex colors. Invalid values fall back to a neutral gray.

If your workflow IDs are strings (for example UUIDs) and do not sort in a useful order, publish the config and set workflow_sort_column to a timestamp column such as created_at:

'workflow_sort_column' => 'created_at',

Operator Preferences

Waterline persists small operator view preferences through GET /waterline/api/preferences/{surface} and PUT /waterline/api/preferences/{surface}. Supported surfaces are workflow-list, run-detail, schedules-list, and workers-list; supported keys are tab, sort_direction, row_density, saved_view_id, and columns. Preferences are scoped to the authenticated Laravel user when one is available, otherwise to WATERLINE_PREFERENCES_SCOPE for local installs.

URL query parameters still win for shared links. For example, ?tab=timeline&sort=asc&density=dense&columns=workflow_id,status returns those values in effective_preferences without mutating the stored preferences.

Upgrading Waterline

When upgrading into or within the 2.0 prerelease channel, keep both root package requirements on the Durable Workflow alpha channel and publish the latest assets.

composer require --with-all-dependencies \
    durable-workflow/waterline:^2.0.0-alpha@alpha \
    durable-workflow/workflow:^2.0.0-alpha@alpha

php artisan waterline:publish

Screenshots

The v2 branch keeps repo-owned screenshots in docs/screenshots/. They are refreshed by the Screenshots workflow and mirrored into the workflow artifact for visual review.

Dashboard

Waterline dashboard

Workflow Detail

Waterline workflow detail

Development

Quick Start

Get a working Waterline dashboard in under 5 minutes:

# Clone and install
git clone https://github.com/durable-workflow/waterline.git
cd waterline
make install

# Start development environment (asset watch + server)
make dev

Open http://localhost:18280/waterline

The make dev command automatically:

  • Sets up the SQLite database with migrations
  • Builds and watches assets for changes
  • Starts the workbench server
  • Publishes assets to the correct location

Available Commands

Run make help to see all available commands:

  • make dev - Start development environment (recommended)
  • make install - Install dependencies
  • make test - Run PHPUnit test suite
  • make test-sqlite / make test-mysql / make test-pgsql / make test-mssql - Run tests on specific database
  • make clean - Clean build artifacts

Manual Setup

If you prefer to run commands manually:

  1. Install dependencies:
    composer install
    npm install
    
  2. Build assets:
    npm run production
    
  3. Publish assets to testbench:
    ./vendor/bin/testbench waterline:publish
    
  4. Run migrations:
    ./vendor/bin/testbench workbench:create-sqlite-db
    ./vendor/bin/testbench migrate:fresh --database=sqlite
    
  5. Start server:
    composer run serve
    
  6. Access dashboard at http://localhost:18280/waterline

Similar Projects

Discover other similar projects and AI models.

RepositoryPHP
durable-workflow/workflow

Core package for defining and running durable workflows and activities. Supports long-running persistent workflows, retries, queues, parallel execution, workflow monitoring, dedicated storage connections, and orchestration for microservices, data pipelines, sagas, agentic workflows, and other complex business processes.

1.3k
Nov 26, 2026
RepositoryGo
inngest/inngest

The leading workflow orchestration platform. Run stateful step functions and AI workflows on serverless, servers, or the edge.

6.1k
Dec 1, 2026
RepositoryTypeScript
vercel/workflow

Workflow SDK: Build durable, reliable, and observable apps and AI Agents in TypeScript

2.6k
Dec 1, 2026
RepositoryTypeScript
openworkflowdev/openworkflow

Open-source TypeScript framework for building durable, resumable workflows. Supports Node.js and Bun.

1.4k
Nov 25, 2026
RepositoryGo
netdata/netdata

Full-stack observability · Metrics · Logs · Traces · Flows · Topology · Infrastructure · APM · NPM · DBM · RUM · Synthetics · Cloud · AI SRE · OpenTelemetry · SNMP · NetFlow/IPFIX/sFlow · IPMI · Redfish · 2000+ integrations

81.7k
Nov 30, 2026
RepositoryTypeScript
koala73/worldmonitor

Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface

91.3k
Nov 29, 2026
RepositoryPHP
laravel/framework

Laravel is a web application framework with expressive, elegant syntax.

35.3k
Nov 30, 2026
RepositoryPHP
bagisto/bagisto

Open Source eCommerce & Multi-Vendor Marketplace Platform Built with Laravel for Enterprise-Scale Commerce, Supporting 10M+ SKUs

28.4k
Nov 25, 2026
RepositoryPHP
monicahq/monica

Personal CRM and backend for your agents. Remember everything about your friends, family and business relationships.

25.9k
Dec 1, 2026