Files
Bobby Ho fb09983c77 feat: attach script order dependencies during conversion (#30556)
feat(provisioner): transport resolved script order dependencies

Attach finalized `coder_script_order` dependencies to scripts during
START imports, covering workspace agents and devcontainer subagents.
Dependencies are sorted by prerequisite address and preserve `success`
or `completion` requirements. Invalid graphs attach nothing.

- Reject Graph responses exceeding the 4 MiB DRPC limit with a readable
  error reporting the size and limit instead of a transport failure.
  This check applies to all templates.
- Preserve START-only conversion: STOP imports carry addresses but no
  dependencies. Templates without ordering rules are otherwise unchanged.
- Add tests for dependency attachment, requirement preservation, sorting,
  devcontainer scripts, and oversized responses.

Server-side consumption remains a separate follow-up.

Refs [PLAT-547](https://linear.app/codercom/issue/PLAT-547/phase-2-transport-resolved-script-dependencies-from-provisioner).
2026-10-14 16:58:19 +00:00
..
…
…