This bug is most noticeable if you apply a swiftness potion to a piglin. They just stop running after the player and spin in circles if the player is jumping while running away to gain some extra speed.
Linked issues
Comments 4
Could you attach a video of the issue? If the file size is too large, you can upload it somewhere else and link to it here.
Here you go https://streamable.com/0as90
Thanks! We already have another ticket for that though, see MC-172172. I've resolved your ticket as a duplicate of that one.
I also recommend you give the piglin a sword to see the issue more clearly. But the bug mainly affects piglins who spawn with swords.