ccsync icon indicating copy to clipboard operation
ccsync copied to clipboard

Circular dependency in task dependencies

Open Vasist10 opened this issue 11 months ago • 2 comments

Describe the bug The current depends-on task feature does not handle circular dependencies. When tasks form a dependency cycle, they can never be completed and no error or validation prevents this state

Example: A → B
B → C
C → A

Expected behavior The system should detect circular dependencies and prevent them (or return an error).

Screenshots

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

Vasist10 avatar Dec 25 '25 18:12 Vasist10

@its-me-abhishek could you pls assign this issue to me? i have been working on the solution and will open a PR soon

Vasist10 avatar Dec 25 '25 18:12 Vasist10

@its-me-abhishek I have opened the PR, please do check and merge the PR

arjav1528 avatar Dec 25 '25 20:12 arjav1528