Skip to content

Commit af25c0a

Browse files
author
Luka Stojanovic
committed
Making stronger promise on runtime values that platform provides
1 parent 111df5b commit af25c0a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

v1.0/concepts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ be provided:
281281
filled in by the platform after processing the Tool but before actual
282282
execution. Parameter references and expressions may only use the
283283
literal string value of the field and must not perform computation on
284-
the contents.
284+
the contents, except where noted otherwise.
285285

286286
If the value of a field has no leading or trailing non-whitespace
287287
characters around a parameter reference, the effective value of the field

v1.0/invocation.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ not perform computation on the contents.
111111
* `runtime.outdirSize`: reserved storage space available in the designated output directory
112112
* `runtime.tmpdirSize`: reserved storage space available in the designated temporary directory
113113

114+
For `cores`, `ram`, `outdirSize` and `tmpdirSize`, if an implementation can't
115+
provide the actual number of reserved cores during the expression evaluation time,
116+
it should report back the minimal requested amount.
117+
114118
See [ResourceRequirement](#ResourceRequirement) for details on how to
115119
describe the hardware resources required by a tool.
116120

0 commit comments

Comments
 (0)