Commands activated via a redstone_block/stone fill clock do not run when the worldborder shrinks to no longer contain it inside. I'm unclear as to whether or not this applies to all redstone outside the worldborder or whether or not this is intended.
Related issues
Comments

Duplicate of MC-55402
Related to MC-55588