Skip to content

Commit

Permalink
feat(CodeExecutable): Add DependenciesFailed variant to `executeReq…
Browse files Browse the repository at this point in the history
…uired`
  • Loading branch information
nokome committed Jan 13, 2022
1 parent 294e606 commit 3cde344
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion schema/CodeExecutable.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ properties:
- NeverExecuted
- SemanticsChanged
- DependenciesChanged
- DependenciesFailed
$comment: |
Derived from a comparison of `compileDigest` and `executeDigest`.
Derived from a comparison of `compileDigest` and `executeDigest` and the `executeStatus`
of dependencies.
`No`: no re-execution is required, the semantics of the code and its dependencies has not changed
since it was last executed.
`NeverExecuted`: execution is required because the code has never been executed (or any previous
Expand All @@ -57,6 +59,8 @@ properties:
last executed.
`DependenciesChanged`: the semantics of one or more dependencies (including transitive dependencies)
changed since it was last executed.
`DependenciesFailed`: one or more dependencies (including transitive dependencies) failed when it was
last executed.
executeStatus:
'@id': stencila:executeStatus
description: Status of the last execution of the code.
Expand Down

0 comments on commit 3cde344

Please sign in to comment.