turbo
24fbd3e2 - refactor: Remove ToolchainId runtime dispatch (#13587)

Commit
113 days ago
refactor: Remove ToolchainId runtime dispatch (#13587) ## Intent Keep `ToolchainId` as provenance while moving command-map and entrypoint behavior into explicit immutable task-contract capabilities. **Stack:** Behavioral Toolchain removal, part 4. Base = `shew/turbo-5798-remove-contributor-plumbing`. ## Changes - Add explicit command-map targets to scope task contracts. - Resolve experimental JavaScript/Rust command maps without inspecting package provenance IDs. - Add open entrypoint selection domains independent of ecosystem identity. - Project entrypoint exclusions from contract knowledge instead of grouping in the run builder by `ToolchainId`. - Isolate preference and exclusions per active domain so mixed repositories and pure root namespaces retain unrelated tasks. - Update architecture documentation and add contract/provenance and root-domain regression coverage. ## Testing - `cargo test -p turborepo-engine` (126 passed) - `cargo test -p turborepo-repository task_contracts` (3 passed) - `cargo test -p turborepo-repository test_pure_cargo_workspace_has_no_javascript` - `cargo test -p turbo --test cargo_workspace_test` (55 passed; two failures reproduced on the stacked base) - `cargo clippy -p turborepo-repository -p turborepo-engine -p turborepo-lib --all-targets -- -D warnings` - Pre-push `format` and `check:toml` hooks Advances TURBO-5798.
Author
Parents
Loading