well when do these inactive worker reset / drop forever from the wallet worker history?
Only on pool restart for the most part.
so that means almost never Please consider having a script purging inactive workers data - might optimise storage but definitely improve user experience. There's definitely a bug with workers stats section - possibly associated with renaming the workers or switching between unnamed and named workers wrt inactive workers.
Any chance inactive workers data be reset by click of a button?. Of late there seems to be issue with wrong workers showing up hashing in workers list when they are not active or some workers have hung up with a fixed number in hashrate where as lastUpdate was days ago and in fact they are not hashing. Definitely some issue wrt workers stats. When this case is present it sometimes also result in some worker fluctuations when there is no network disruptions (as per miner logs). Not sure if its a known issue. Kindly review.