RestartJobByID looked the job up with a job_id CompCondition, which the store never evaluates, and restarted jqueryReply[0] -- the first stored job -- for any ID, including unknown ones. It now parses the ID with ParseIdentitySelection, fetches the rows by key and matches them with foundJob, as ControlJobByID does: an ordinary job or <array-id>[k] is restarted, an unknown job or element is not found, and a bare array identity (several elements) is refused. Restart goes through the generateJobID/submitJob seams so the handler fixture can test it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| autoscaler | ||
| configs | ||
| controller | ||
| docs | ||
| frontend | ||
| harness | ||
| include | ||
| lib | ||
| nixSupport | ||
| scheduler | ||
| schema | ||
| tools | ||
| worker | ||
| xceadmin | ||
| flake.lock | ||
| flake.nix | ||
| meson.build | ||
| meson.options | ||