I've seen this in a couple of games where the assassin can attack while cloaked but won't uncloak when attacking. This doesn't make any sense and kinda game breaking since turrets won't lock on to them.
I posted here about it. turns out assassins can recloak immediately after they grapple. making turrets ineffective.