pyinfra icon indicating copy to clipboard operation
pyinfra copied to clipboard

Cycle error in 3.5.1 and missing docs

Open robertmx opened this issue 2 months ago • 1 comments

Describe the bug

I do get a loops-cycle-error in my deploy code. I think I understand the cause of it because I use some loops. The problem is, that all documentation related to that error which should be here as per the pyinfra error message:

https://docs.pyinfra.com/en/latest/deploy-process.html#loops-cycle-errors

was removed in the 3.x branch with 236d7fe83c73a47ba11aacdc811c37af94889b55. And I am wondering if that was a mistake, because it seems the ordering in the DAG is still relevant. If that is the case, it would be prudent to restore the original documentation for that because any nontrivial setup will use loops sooner or later.

On a sidenote: The search functionality for the docs is woefully inadequate. For example searching for "loop" does not yield any relevant results, despite numerous appearances of the word "loop" in the api reference for the host module.

robertmx avatar Oct 29 '25 09:10 robertmx

@robertmx would you mind sharing your operation code? I believed the cycle errors would be impossible under v3 - clearly not!

Will restore the documentation that is a terrible experience having the link go nowhere.

Search doesn’t cover the APIs or code which is why it doesn’t show up, putting the doc back will make that show which should suffice. Apologies this been such a crappy experience.

Fizzadar avatar Nov 29 '25 09:11 Fizzadar