diff --git a/crates/action-graph/src/action_graph_builder.rs b/crates/action-graph/src/action_graph_builder.rs index 5e5483d381..7922314c58 100644 --- a/crates/action-graph/src/action_graph_builder.rs +++ b/crates/action-graph/src/action_graph_builder.rs @@ -43,7 +43,7 @@ pub struct ActionGraphBuilder<'app> { workspace_graph: &'app WorkspaceGraph, // Affected states - pub affected: Option>, + affected: Option>, touched_files: Option<&'app FxHashSet>, // Target tracking @@ -257,7 +257,7 @@ impl<'app> ActionGraphBuilder<'app> { reqs: &RunRequirements, config: Option<&TaskDependencyConfig>, ) -> miette::Result> { - // Create a new requirements object as we don't have our dependencies/ + // Create a new requirements object as we don't want our dependencies/ // dependents to check for affected or run their own dependents! let child_reqs = RunRequirements { ci: reqs.ci, diff --git a/crates/action-graph/tests/action_graph_test.rs b/crates/action-graph/tests/action_graph_test.rs index 453caeecea..46a38a87c6 100644 --- a/crates/action-graph/tests/action_graph_test.rs +++ b/crates/action-graph/tests/action_graph_test.rs @@ -888,7 +888,6 @@ mod action_graph { mod affected { use super::*; use moon_affected::AffectedBy; - use moon_test_utils2::pretty_assertions::assert_eq; #[tokio::test] async fn doesnt_graph_if_not_affected_by_touched_files() { diff --git a/crates/affected/tests/affected_tracker_test.rs b/crates/affected/tests/affected_tracker_test.rs index 64a1e5ae77..b811540ab9 100644 --- a/crates/affected/tests/affected_tracker_test.rs +++ b/crates/affected/tests/affected_tracker_test.rs @@ -201,8 +201,6 @@ mod affected_projects { #[tokio::test] async fn deep_cycle() { - use moon_test_utils2::pretty_assertions::assert_eq; - let workspace_graph = generate_workspace_graph("projects").await; let touched_files = FxHashSet::from_iter(["cycle-a/file.txt".into()]); diff --git a/crates/cli/tests/run_test.rs b/crates/cli/tests/run_test.rs index 2a08caa04c..89507e2200 100644 --- a/crates/cli/tests/run_test.rs +++ b/crates/cli/tests/run_test.rs @@ -1020,7 +1020,6 @@ mod outputs { mod hydration { use super::*; - use moon_test_utils::pretty_assertions::assert_eq; #[test] fn reuses_cache_from_previous_run() { diff --git a/crates/config/tests/inherited_tasks_config_test.rs b/crates/config/tests/inherited_tasks_config_test.rs index 6ec2f0cd81..bda4bad1fb 100644 --- a/crates/config/tests/inherited_tasks_config_test.rs +++ b/crates/config/tests/inherited_tasks_config_test.rs @@ -1113,7 +1113,6 @@ mod task_manager { use moon_common::Id; use moon_config::*; use starbase_sandbox::locate_fixture; - use starbase_sandbox::pretty_assertions::assert_eq; #[test] fn loads_pkl() {