turbo
489d5e02 - feat: Add experimental setup command surface (#14385)

Commit
48 days ago
feat: Add experimental setup command surface (#14385) ### Summary Closes TURBO-6195. Introduce the experimental standalone setup command surface without requiring Node.js, a package manager, or a built repository-local CLI. ```text Global setup routing Native parsing/help No JS inference or local bootstrap Execution Root experimentalSetup gate Typed normalized request Honest not-implemented diagnostic ``` - Add the settled plan/check, force, frozen/no-frozen, offline, tools-only, no-lock, and update-lock controls with conflict and CI-default normalization. - Keep setup on the global command path while preserving ordinary run/handoff behavior. - Suppress profile creation before setup parsing, including help and malformed task-only tails, so plan/check cannot write through profiling startup. - Align help, configuration documentation, and the future-flag schema descriptions with the command surface. Provisioning, plan/check execution, automatic root inference, managed-run compatibility, and lock handling remain separate work. The empty backend never reports prepared success, including for `--__test-run`, and runs no tasks or installers. ### Manual verification Built the `heap-dhat` variant and exercised setup help/gates, plan/check, heap/Chrome profiling options, and malformed tails with an existing profile file, an empty `PATH`, and a loopback HTTP monitor. The fixture retained its complete filesystem snapshot and recorded no HTTP connection.
Author
Parents
Loading