elsa-core/src/modules/Elsa.Workflows.Core
Sipke Schoorstra a618337923
docs(core): give FaultSignal handlers a working completion path
Review caught that the contract advertised something that cannot work. It
offered handlers three ways to terminalize the faulted activity - cancel,
complete, or reschedule - but CompleteActivityAsync returns immediately unless
the activity is Running, and throughout the handler it is still Faulted, since
recovery runs only after the handler returns. Completing inline did nothing at
all, silently, leaving the child Running.

Measured, same container, handler completing the faulted child:

  inline complete                    -> child Running,   no output, Running/Suspended
  TransitionTo(Running), complete    -> child Completed, "after",   Finished/Finished

So a supported path exists; it just needed writing down. Document it on
FaultSignal, note that it is not licence to call RecoverFromFault (which also
rewrites the fault counts), and note that cancelling and rescheduling need no
equivalent step. Cover it with an integration test asserting that completing the
child with a substitute result fires the container's completion callback and
resumes its sequencing.

Refs #7911

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-11 22:08:44 +02:00
..
Abstractions Improving behaviour of Run Asynchronously property for the TaskActivityAttribute 2025-08-05 13:50:35 +02:00
ActivationValidators
Activities [codex] Fix ForEach completion from nested flowchart (#7702) 2026-06-08 12:04:55 +02:00
Attributes Adds activity host registration support (#7172) 2025-12-27 20:52:52 +01:00
Behaviors [codex] Fix ForEach completion from nested flowchart (#7702) 2026-06-08 12:04:55 +02:00
Builders Add named WithVariable overload (#7701) 2026-06-08 10:42:59 +02:00
CommitStates Clarify commit strategy fallback behavior in documentation; update test method signature for consistency 2025-12-16 08:01:49 -05:00
Constants [codex] Harden C# expression host-code execution (#7519) 2026-05-21 00:50:25 +02:00
Contexts Add output converter support at binding boundaries 2026-07-31 04:10:48 +02:00
Contracts Add output converter support at binding boundaries 2026-07-31 04:10:48 +02:00
Enums Add output converter support at binding boundaries 2026-07-31 04:10:48 +02:00
Exceptions Add output converter support at binding boundaries 2026-07-31 04:10:48 +02:00
Expressions Retranslating comment in english (#6910) 2025-09-15 18:49:11 +02:00
Extensions feat(core): let a container handle a child's fault via FaultSignal 2026-08-11 01:11:25 +02:00
Features Add output converter support at binding boundaries 2026-07-31 04:10:48 +02:00
Handlers
Helpers
IncidentStrategies
LogPersistence
Memory
Middleware feat(core): let a container handle a child's fault via FaultSignal 2026-08-11 01:11:25 +02:00
Models Add output converter support at binding boundaries 2026-07-31 04:10:48 +02:00
Notifications Graceful shutdown for the workflow runtime (drain, pause, recover) (#7424) 2026-05-02 19:27:08 +02:00
Options Adds activity execution call stack support (#7271) 2026-02-24 15:23:59 +01:00
Pipelines Refactors extension methods to instance methods (#7089) 2025-11-25 14:53:18 +01:00
PortResolvers
Serialization Add output converter support at binding boundaries 2026-07-31 04:10:48 +02:00
Services Harden output converter contracts 2026-07-31 13:29:01 +02:00
ShellFeatures Add output converter support at binding boundaries 2026-07-31 04:10:48 +02:00
Signals docs(core): give FaultSignal handlers a working completion path 2026-08-11 22:08:44 +02:00
State Harden output converter contracts 2026-07-31 13:29:01 +02:00
Telemetry Add OpenTelemetry workflow instrumentation (#7514) 2026-05-22 01:17:05 +02:00
UIHints Addresses warnings and enforces null safety (#7050) 2025-11-12 15:53:23 +01:00
VariableStorageDrivers Update multitenancy logic and improve Result handling: (#7281) 2026-02-11 10:11:12 +01:00
Elsa.Workflows.Core.csproj Add output converter support at binding boundaries 2026-07-31 04:10:48 +02:00
Elsa.Workflows.Core.csproj.DotSettings
FodyWeavers.xml