It could be interesting to include a danger check when bin/packwerk validate fails due to cyclic dependencies.
This is a great entry point to start a conversation about what the ideal dependency order should be, so being notified about this and using it as an educational moment could be helpful.
Gusto does not have this check internally today. If there is interest, this could be a cool check to add.
Note this might require some changes upstream to permit validate to return a structured response, but I haven't yet investigated whether the validate command can already return structured objects when using the ruby (i.e. not CLI) API.
It could be interesting to include a danger check when
bin/packwerk validate
fails due to cyclic dependencies.This is a great entry point to start a conversation about what the ideal dependency order should be, so being notified about this and using it as an educational moment could be helpful.
Gusto does not have this check internally today. If there is interest, this could be a cool check to add.
Note this might require some changes upstream to permit validate to return a structured response, but I haven't yet investigated whether the validate command can already return structured objects when using the ruby (i.e. not CLI) API.