Skip to content

Commit 784a833

Browse files
deploy: b757fed
1 parent cd2c800 commit 784a833

274 files changed

Lines changed: 669 additions & 571 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2.0/llms-full.txt

Lines changed: 54 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10668,6 +10668,14 @@ container names or rollout runbooks.
1066810668
"read_roles": ["matching", "control_plane", "history_projection"]
1066910669
}
1067010670
}
10671+
},
10672+
"worker_compatibility_heartbeats": {
10673+
"mutations": {
10674+
"heartbeat": {
10675+
"owning_roles": ["execution_plane"],
10676+
"read_roles": ["matching", "history_projection", "api_ingress"]
10677+
}
10678+
}
1067110679
}
1067210680
},
1067310681
"failure_domains": {
@@ -10785,6 +10793,26 @@ container names or rollout runbooks.
1078510793
"result": "workers can partition by namespace, connection, queue, and compatibility"
1078610794
}
1078710795
]
10796+
},
10797+
"coordination_health": {
10798+
"schema": "durable-workflow.v2.coordination-health.contract",
10799+
"version": 1,
10800+
"namespace_scope": "all_namespaces",
10801+
"status": "ok",
10802+
"http_status": 200,
10803+
"warning_checks": [],
10804+
"error_checks": [],
10805+
"categories": {
10806+
"correctness": "ok"
10807+
},
10808+
"checks": [
10809+
{
10810+
"name": "worker_compatibility",
10811+
"status": "ok",
10812+
"category": "correctness",
10813+
"message": null
10814+
}
10815+
]
1078810816
}
1078910817
}
1079010818
```
@@ -10798,24 +10826,24 @@ before assuming v4-only keys such as `current_process_class`,
1079810826

1079910827
Read the fields as follows:
1080010828

10801-
- `supported_shapes` is the product contract for legal topology names. It does
10802-
not mean every published artifact starts in every shape.
10829+
- `supported_shapes` names the legal product topologies. `supported_topologies`
10830+
is the richer machine-readable map when automation also needs each shape's
10831+
`execution_mode` and exact process-class-to-role assignments.
1080310832
- `current_process_class`, `current_shape`, and `current_roles` describe the
1080410833
node you queried right now. For the published standalone server
1080510834
distribution, API nodes report `server_http_node` inside the
1080610835
`standalone_server` shape plus the server-owned roles they currently host.
1080710836
- `execution_mode` distinguishes embedded local queue execution
1080810837
(`local_queue_worker`) from standalone server worker-protocol execution
1080910838
(`remote_worker_protocol`).
10839+
- `role_catalog` tells you which plane each role belongs to, whether the
10840+
responding node currently hosts it, whether it runs user code, whether it
10841+
accepts external HTTP, and which steady-state interface owns that role.
1081010842
- `matching_role` shows whether the node still runs the in-worker wake path or
1081110843
expects a dedicated repair or matching loop to own that sweep. The same
1081210844
block freezes the `shape`, `partition_primitives`, and
1081310845
`backpressure_model` values operators should use when reasoning about ready
1081410846
task discovery and lease-based admission.
10815-
- `role_catalog` is the per-role capability map for the responding node. Use
10816-
it to see which logical roles the node hosts, whether those roles live in
10817-
the control plane or execution plane, whether they run user code, whether
10818-
they accept external HTTP, and which steady-state interface they serve.
1081910847
- `shape_assignments` maps each supported shape to the process classes and role
1082010848
bundles that shape is allowed to run.
1082110849
- `authority_surfaces` is the finer-grained mutation map. It names the durable
@@ -10832,6 +10860,10 @@ Read the fields as follows:
1083210860
when you need a stable machine-readable inventory of each supported shape's
1083310861
`execution_mode` and process-class role bundles without walking the more
1083410862
narrative `shape_assignments` list.
10863+
- `coordination_health` is the fleet-wide rollout-safety summary published from
10864+
the same discovery call. It uses `all_namespaces` scope, summarizes the
10865+
current status and HTTP posture, and lists the normalized warning/error check
10866+
names that also feed readiness health.
1083510867
- `migration_path` lists the ordered rollout steps from today's standalone
1083610868
distribution toward more isolated role boundaries without introducing a
1083710869
second engine.
@@ -10840,10 +10872,12 @@ This keeps the role split as a topology change, not a second engine or a
1084010872
separate control-plane API. When a deployment evolves from a narrow
1084110873
`standalone_server` fleet toward a more explicit `split_control_execution`
1084210874
shape, operators still read the same discovery surface. The values under
10843-
`current_shape`, `current_roles`, `execution_mode`, `matching_role`,
10844-
`shape_assignments`, `authority_boundaries`, `failure_domains`,
10845-
`scaling_boundaries`, and `migration_path` are versioned as one manifest so
10846-
rollout tooling can reason about the same topology surface the server ships.
10875+
`current_process_class`, `current_shape`, `current_roles`, `execution_mode`,
10876+
`role_catalog`, `matching_role`, `shape_assignments`,
10877+
`authority_boundaries`, `authority_surfaces`, `failure_domains`,
10878+
`scaling_boundaries`, `supported_topologies`, and `migration_path` are
10879+
versioned as one manifest so rollout tooling can reason about the same
10880+
topology surface the server ships.
1084710881

1084810882
For carrier-neutral external handlers, the same endpoint publishes
1084910883
`worker_protocol.external_execution_surface_contract`. That manifest names the
@@ -12087,12 +12121,20 @@ still honors the value.
1208712121
| --- | --- | --- | --- |
1208812122
| `DW_MODE` | `service` | Server mode: `service` makes external workers poll; `embedded` dispatches locally through the Laravel queue. | `WORKFLOW_SERVER_MODE` |
1208912123
| `DW_SERVER_ID` | `gethostname()` | Unique server instance identifier used in lease ownership and worker registration. | `WORKFLOW_SERVER_ID` |
12124+
| `DW_SERVER_TOPOLOGY_SHAPE` | `standalone_server` | Advertised topology shape for this node in cluster discovery: `embedded`, `standalone_server`, or `split_control_execution`. | `WORKFLOW_SERVER_TOPOLOGY_SHAPE` |
12125+
| `DW_SERVER_PROCESS_CLASS` | `server_http_node` | Advertised process class for this node within the selected topology shape, such as `server_http_node`, `scheduler_node`, or `matching_node`. | `WORKFLOW_SERVER_PROCESS_CLASS` |
1209012126
| `DW_SERVER_KEY` | generated at container boot | Optional server-internal runtime key. Docker images generate one automatically when unset. | - |
1209112127
| `DW_DEFAULT_NAMESPACE` | `default` | Namespace used when a request omits the namespace header. | `WORKFLOW_SERVER_DEFAULT_NAMESPACE` |
1209212128
| `DW_TASK_DISPATCH_MODE` | unset | Overrides `workflows.v2.task_dispatch_mode`; in service mode the server defaults to `poll` unless you set a different value. | `WORKFLOW_V2_TASK_DISPATCH_MODE` |
1209312129
| `DW_EXTERNAL_EXECUTOR_CONFIG_PATH` | unset | Path to a `durable-workflow.external-executor.config` JSON file for external executor handler mappings. | `WORKFLOW_SERVER_EXTERNAL_EXECUTOR_CONFIG_PATH` |
1209412130
| `DW_EXTERNAL_EXECUTOR_CONFIG_OVERLAY` | unset | Overlay name from the external executor config file to apply before server validation and discovery. | `WORKFLOW_SERVER_EXTERNAL_EXECUTOR_CONFIG_OVERLAY` |
1209512131

12132+
Use these two topology-advertisement settings only when you are intentionally
12133+
running a non-default process shape. They control what `GET /api/cluster/info`
12134+
publishes under `topology.current_shape` and `topology.current_process_class`;
12135+
see [Server Role Topology](/docs/2.0/polyglot/server-role-topology) for the
12136+
supported combinations.
12137+
1209612138
## Authentication
1209712139

1209812140
| Variable | Default | Purpose | Legacy alias |
@@ -14858,6 +14900,8 @@ Key fields to inspect:
1485814900
- `schema` and `version` tell you which topology manifest schema you are
1485914901
parsing. Treat `topology.version` as the manifest version, not as the server
1486014902
build version.
14903+
- `supported_shapes` is the product vocabulary; `supported_topologies` is the
14904+
machine-readable map of execution modes and process-class role bundles.
1486114905
- `current_process_class`, `current_shape`, and `current_roles` tell you what
1486214906
the responding node owns right now.
1486314907
- `execution_mode` distinguishes `local_queue_worker` embedded execution from

404.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313

1414

1515
<link rel="search" type="application/opensearchdescription+xml" title="Durable Workflow" href="/opensearch.xml"><link rel="stylesheet" href="/assets/css/styles.bdb910b5.css">
16-
<link rel="preload" href="/assets/js/runtime~main.46f3c133.js" as="script">
16+
<link rel="preload" href="/assets/js/runtime~main.5fdbdf42.js" as="script">
1717
<link rel="preload" href="/assets/js/main.b966ba2f.js" as="script">
1818
</head>
1919
<body class="navigation-with-keyboard">
2020
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"dark")}()</script><div id="__docusaurus">
2121
<div role="region" aria-label="Skip to main content"><a class="skipToContent_fXgn" href="#docusaurus_skipToContent_fallback">Skip to main content</a></div><nav class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/"><div class="navbar__logo"><img src="/img/logo.svg" alt="Workflow Logo" class="themedImage_ToTc themedImage--light_HNdA"><img src="/img/logo.svg" alt="Workflow Logo" class="themedImage_ToTc themedImage--dark_i4oU"></div><b class="navbar__title text--truncate">Durable Workflow</b></a><a class="navbar__item navbar__link" href="/docs/installation/">Docs</a><div class="navbar__item dropdown dropdown--hoverable"><a class="navbar__link" aria-haspopup="true" aria-expanded="false" role="button" href="/docs/introduction/">1.x</a><ul class="dropdown__menu"><li><a class="dropdown__link" href="/docs/2.0/introduction/">2.0</a></li><li><a class="dropdown__link" href="/docs/introduction/">1.x</a></li></ul></div><a class="navbar__item navbar__link" href="/blog/">Blog</a></div><div class="navbar__items navbar__items--right"><a href="https://github.com/durable-workflow/workflow" target="_blank" rel="noopener noreferrer" aria-label="Star Durable Workflow on GitHub" class="navbar-github-star-link navbar__item navbar__link" label="Star on GitHub"><svg aria-hidden="true" class="navbar-github-star-link__icon" viewBox="0 0 16 16"><path d="M8 0C3.58 0 0 3.58 0 8a8.01 8.01 0 0 0 5.47 7.59c.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.5-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82A7.56 7.56 0 0 1 8 4.76c.68 0 1.36.09 2 .27 1.53-1.03 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.28.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z"></path></svg><span class="navbar-github-star-link__count" title="GitHub stars">1.2K</span></a><a href="https://github.com/durable-workflow/workflow" target="_blank" rel="noopener noreferrer" aria-label="Star Durable Workflow on GitHub" class="navbar-github-star-link navbar__link navbar-github-star-link--mobile-topbar" label="Star on GitHub"><svg aria-hidden="true" class="navbar-github-star-link__icon" viewBox="0 0 16 16"><path d="M8 0C3.58 0 0 3.58 0 8a8.01 8.01 0 0 0 5.47 7.59c.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.5-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82A7.56 7.56 0 0 1 8 4.76c.68 0 1.36.09 2 .27 1.53-1.03 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.28.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z"></path></svg><span class="navbar-github-star-link__count" title="GitHub stars">1.2K</span></a><div class="toggle_vylO colorModeToggle_x44X"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type="button" disabled="" title="Switch between dark and light mode (currently dark mode)" aria-label="Switch between dark and light mode (currently dark mode)" aria-live="polite"><svg viewBox="0 0 24 24" width="24" height="24" class="lightToggleIcon_pyhR"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" class="darkToggleIcon_wfgR"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg></button></div><div class="searchBox_ZlJk"><button type="button" class="DocSearch DocSearch-Button" aria-label="Search"><span class="DocSearch-Button-Container"><svg width="20" height="20" class="DocSearch-Search-Icon" viewBox="0 0 20 20"><path d="M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path></svg><span class="DocSearch-Button-Placeholder">Search</span></span><span class="DocSearch-Button-Keys"></span></button></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_z2l0"><main class="container margin-vert--xl"><div class="row"><div class="col col--6 col--offset-3"><h1 class="hero__title">Page Not Found</h1><p>We could not find what you were looking for.</p><p>Please contact the owner of the site that linked you to the original URL and let them know their link is broken.</p></div></div></main></div><div><footer class="footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="col footer__col"><div class="footer__title">Docs</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/docs/introduction/">Introduction</a></li><li class="footer__item"><a class="footer__link-item" href="/docs/installation/">Installation</a></li></ul></div><div class="col footer__col"><div class="footer__title">Community</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://discord.gg/xu5aDDpqVy" target="_blank" rel="noopener noreferrer" class="footer__link-item">Discord<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://x.com/DurableWorkflow" target="_blank" rel="noopener noreferrer" class="footer__link-item">X<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div><div class="col footer__col"><div class="footer__title">More</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://durable-workflow.com/llms-full.txt" target="_blank" rel="noopener noreferrer" class="footer__link-item">LLM Docs<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://packagist.org/packages/durable-workflow/workflow" target="_blank" rel="noopener noreferrer" class="footer__link-item">Packagist<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div></div><div class="footer__bottom text--center"><div class="footer__copyright">Copyright © 2026 <a href="https://durable-workflow.com">Durable Workflow</a>.</div></div></div></footer></div></div>
22-
<script src="/assets/js/runtime~main.46f3c133.js"></script>
22+
<script src="/assets/js/runtime~main.5fdbdf42.js"></script>
2323
<script src="/assets/js/main.b966ba2f.js"></script>
2424
</body>
2525
</html>

assets/js/4b195df8.3433ffeb.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

assets/js/4b195df8.7289e05d.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/6f564fe4.49104479.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

assets/js/6f564fe4.4d8e5068.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

blog/ai-image-moderation-with-laravel-workflow/index.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)