You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
refactor(compile): structure generated ado-proxy and az wrapper scripts #1833
start_ado_proxy_step currently materializes as a 200+ line generated shell body, and render_az_wrapper is a large interpolated standalone shell executable. Both are hard to review and maintain even though shellcheck and focused tests already cover the emitted behavior.
The goal is to make the generated scripts easier to reason about without changing behavior or weakening the security model.
Requirements
Split the generated shell into smaller, cohesive Rust functions instead of one oversized generated body.
Make wrapper/proxy script source independently reviewable by introducing a more structured generation path.
Investigate include_str! templates, structured script fragments/builders, or generated bundle helpers.
Keep substitutions explicitly typed and validated; do not simply move an opaque format string from one place to another.
Preserve the security constraint that proxy startup/material handover remains one atomic trusted Bash step: splitting across tasks must not persist the bearer, CA private key, leaf keys, or stdin material under /tmp, argv, environment, container layers, or runner files.
Activity