Something I read recently is that the immune system is complex containing both an innate immune system an adaptive immune system. It's possible that in mild cases of Covid-19, it may be successfully handled by the innate immune system, which doesn't confer additional immunity. A mild case my occur if the initial infection is by a relatively small number of virus particles.