I looked in to this, and I believe it is repeating, it is just that the system behaviour for repeating keys no longer does anything in most applications. Instead, pressing and holding a key is a sign to do other magic. (eg, press and hold “e” produces a popup to select various accented e’s).
Terminal still honours repeating keys, and the macro above works as expected in Terminal.