So we have a use case at twitter that broke from a recent bundle change I made. I am unable to find a way to fix internally. Basically we have a target that gets constructed with TargetMacro.Factory.wrap. Inside the bundle patch there were some guards added that didn’t exist before one of them gets confused in this use case.
if vt.target in self.context.target_roots: