mirror of
https://github.com/coder/coder.git
synced 2026-10-16 14:48:56 +08:00
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).