When do cyanide ligands form a tetrahedral geometry with Co2+ ?
Do they? Wikipedia (yes, I know) suggests that Co2+ forms Co(CN)53-: https://en.wikipedia.org/wiki/Cyanometalate
Ni(CN)42- is square planar, so there's nothing preventing 4 cyanides being in the same plane.