fix(1329): share the cycle's metadata cache with the autodiscovery pass (#1335)