polylith 2026-07-23

One of my bricks tests is failing in only one of my projects. I can only think of a difference in dependencies that is causing this. Is there a command that can show me the diff of dependencies for this brick between projects?

There is clj -m:poly libs but is a bit overwhelming plus it doesn't give differences in version numbers of individual libs (I think?)

Visually inspecting the following command in the projects

clj -X:deps list :aliases '[:test]'
gave me a potential suspect Maybe there is a better way

poly libs should show if you had multiple, different versions of a library in different projects. But, yes, it is a bit overwhelming.

Ah, you are right when both projects have different direct dependencies! It doesn't seem to pick up indirect dependencies. I just verified this. So I had one project with an old indirect dependency on com.stuartsierra/component and the other projects have a direct dependency on a new version of com.stuartsierra/component. The older version didn't support the protocol extension via metadata. So this test actually never passed for this project, but for some reason it wasn't triggered before (not sure why). Maybe I marked things stable when they weren't.

Ah, interesting...