TASK_CHUNKING¶
- Origin: official
- Status: supported
- Summary: Chunked integer task parameters (CHUNK[INT]).
Motivation¶
Lets a step expand an integer range into chunks rather than one task per value, so large frame ranges become a manageable number of tasks.
Schema¶
A task parameter may use the CHUNK[INT] type. The template must declare
TASK_CHUNKING in its top-level extensions list.
Validation¶
- Declaring
CHUNK[INT]withoutTASK_CHUNKINGinextensionsis rejected (/steps/{i}/parameterSpace). TASK_CHUNKINGmay be declared without usingCHUNK[INT]. Seeinternal/openjd/validate.go(validateExtensions).
Worker behavior¶
Chunked expansion is implemented in internal/openjd/expand.go; tasks carry the
chunk's range to the worker.