Skip to content

Outcomes and identity

langadapter.outcomes

The outcome and the identity every result of an executing operation carries.

Each result has exactly one outcome and a reason. An execution failure is an outcome, not an exception, unless a command the operation started may still run: then the original exception is raised, and the prepared copy and its owner stay until the command is cleaned up. A value the adapter did not observe is absent (None), never zero, full coverage or success.

The identity names the target, suite, toolchain, instrument and execution, never a machine's path: files are named relative to the project or suite root and identified by their content's hash, so the same bytes and toolchain carry the same identity on any machine. Diagnostics may name absolute paths.