LoS, vision and tracing

Got full invis on ACU but bradswords still tracked me. And at 29-30 min Epic's ASFs tracked my reaper that was not visible on radar in any way.
Is it working as it should?

Yes, if you give something attack order it will stay even if unit is not in vision range/became cloaked. It is used frequently to target lock transport in 1v1 for example, or you can give assist order to early bomber with your scout and it will follow it though fog of war.
Its not bug, just game engine thing that is just there and you have to live with it.

Skill issue