Skip to content

chore(cabal-install-solver): remove traceTree#11651

Open
andreabedini wants to merge 1 commit intohaskell:masterfrom
andreabedini:chore/remove-trace-tree
Open

chore(cabal-install-solver): remove traceTree#11651
andreabedini wants to merge 1 commit intohaskell:masterfrom
andreabedini:chore/remove-trace-tree

Conversation

@andreabedini
Copy link
Copy Markdown
Collaborator

Remove the traceTree debugging utility and all associated DEBUG_TRACETREE CPP machinery from
Distribution.Solver.Modular.Solver.

Remove the `traceTree` debugging utility and all associated `DEBUG_TRACETREE`
CPP machinery from `Distribution.Solver.Modular.Solver`.
Copy link
Copy Markdown
Collaborator

@geekosaur geekosaur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My question is, is this simply not being used or is there some way we ought to be using it. @sebright ?

@sebright
Copy link
Copy Markdown
Collaborator

When I commented on #11179, I meant that I thought that there should be an issue for discussing removing the tracetree feature. Why does it need to be removed? It seems like a relatively small amount of code for a feature that some people have found useful for understanding the structure of the search tree. It is especially useful for parts of the tree that aren't shown in the -v3 log.

@andreabedini
Copy link
Copy Markdown
Collaborator Author

andreabedini commented Apr 7, 2026

IMHO it is not useful in the current state. It's also code that never gets compiled so we have no idea if it even works. In any case, up to you.

@sebright
Copy link
Copy Markdown
Collaborator

Why do you think that the tracetree feature isn't useful now? Is it because we stopped testing it in CI? I can open an issue for that. I'd rather keep it if it isn't too hard to update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants