cake-build / cake-build/cake

Task Dependees don't show up using the `tree` command

Open
#4,474 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.2k
Forks
778
Avg merge
1h 15m
Merged PRs (30d)
19

Description

### Prerequisites

- [x] I have written a descriptive issue title
- [x] I have searched [issues](https://github.com/cake-build/cake/issues) to ensure it has not already been reported

### Cake runner

Cake Frosting

### Cake version

5.0.0

### Operating system

N/A

### Operating system architecture

N/A

### CI Server

_No response_

### What are you seeing?

When running the `tree` command, only Tasks registered as Dependent on others show up. Tasks registered as Dependees are missing.

### What is expected?

The `tree` command shows the entire tree of tasks regardless of how they were registered.

### Steps to Reproduce

1. Create a Frosting project
2. Create 3 Tasks, A,B,C
3. Register Task A as dependent on Task B
4. Register Task B as dependee of Task C
5. Run `--tree`

### Output log

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in a Cake Frosting project with three tasks, registering dependencies in both directions, then run the `--tree` command. Trace how task registrations are rendered and add a regression test showing that the complete task tree appears regardless of registration direction; done means both dependent and dependee relationships are displayed.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.