That is bad luck. I don't think anyone would ever maintain a crank pulley so you cannot blame it on neglect.
On the positive side, it failed under guarantee and the dealer has no qualms about fixing it.
Sod's Law normally states a failure like this happens just after your guarantee expires!