Chain Evaluations¶
Completed exec jobs start evaluations and entry points.
Requirements:
- An exec app, see Declare an Exec App
1. Pick a Way¶
| Way | Effect |
|---|---|
start_evaluation action |
A new evaluation of another task in the project |
gradient/continue.json output |
More entry points in the running evaluation |
2. Start Another Task¶
- Exec jobs of the started evaluation find the starting job in
GRADIENT_PARENT_JOB.
3. Add Entry Points¶
echo '{"attributes":["packages.x86_64-linux.model"]}' > continue.json
gradient-upload continue.json gradient/continue.json
- Completed jobs add the listed attributes to their evaluation. Existing entry points stay single.
- Evaluations remain
Buildinguntil the new entry points finish. - Attribute paths stay concrete, without
*or?. Files hold at most 64 KiB. - Files from a failed attempt count for nothing. Errors fail the evaluation with
continue.json: <error>. - Tasks with Report commit status enabled report one commit status for each entry point of the exec job.
Verify Deployment¶
- Started evaluations appear on the job page.
- New entry points appear in the evaluation for the job.
Next Steps¶
- Report Phases and Upload Outputs:
gradient-upload - Declarative State: the
start_evaluationaction - Events and Webhooks:
exec_job.*events