polylith

2025-04-12T15:26:11.464979Z

i have a “pubsub” interface with two implementations — one for dev/test that uses manifold, one for prod that uses kafka. this lets me test/develop without external processes. i can’t figure out how to run the corresponding project tests via poly in a way that loads the test implementation instead of the prod implementation. using :override-deps in the project’s :test alias isn’t sufficient to hide the prod impl (`poly test project:my-project` continues to load the prod impl) nor is isolating both impl deps to distinct profiles (with the prod impl relocated to a :+prodmode profile, poly test project:my-project +testmode complains “Error 107: Missing components in the my-project project for these interfaces: my-interface”)

tengstrand 2025-04-12T15:40:37.116989Z

Can you export the workspace with poly ws out:mack.edn and DM me the file, and I will have a look @daemianmack

🙏 1