Skip to content

Commit

Permalink
Fix expansion.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Nov 13, 2024
1 parent df9f098 commit f4d1796
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
- Resolved the `disallowRunInCiMismatch` experiment and you can no longer have a CI based task
depend on a non-CI based task.
- Added a new task graph, that enables new granular based functionality for task related features.
- Added a new `moon task-graph` command.
- Can now control the depth of upstream (dependencies) and downstream (dependents).
- Affected information now tracks based on dependent graph connections.
- Added `--upstream` and `--downstream` options to `moon query tasks`.
Expand Down
10 changes: 5 additions & 5 deletions crates/action-graph/src/action_graph_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,12 @@ impl<'app> ActionGraphBuilder<'app> {
) -> miette::Result<()> {
// If we require dependents, then we must load all projects into the
// graph so that the edges are created!
// if downstream != DownstreamScope::None {
// debug!("Force loading all projects and tasks to determine relationships");
if downstream != DownstreamScope::None {
debug!("Force loading all projects and tasks to determine relationships");

// self.workspace_graph.get_all_projects()?;
// self.workspace_graph.get_all_tasks()?;
// }
self.workspace_graph.get_all_projects()?;
self.workspace_graph.get_all_tasks()?;
}

self.affected
.as_mut()
Expand Down

0 comments on commit f4d1796

Please sign in to comment.