duct

2022-05-18T09:44:31.683719Z

@megasd21 It’s been a while since I’ve done this sort of thing, but I’d take a look at how modules load and are expanded and assemble a minimal test case at that level. Also IIRC you can look at the various expansions in the config and prepped and system etc

dmegas 2022-05-18T09:46:10.796939Z

Thank you very much for the tips @rickmoynihan,that should give me some direction for further investigation

2022-05-18T09:48:37.767869Z

stuff like duct.core/prep-config duct.core/merge-configs duct.core/fold-modules etc

dmegas 2022-05-18T15:38:29.783959Z

It must be due to modules being applied to the config map after profiles. I ended up creating a module of my own to exclude the offending middleware from the middleware vector.