Shanghai is tentatively unraveling a punishing lockdown that confined millions of people to their homes for weeks amid signs that its outbreak is coming under control, even as flareups in distant cities show how China is locked in a seemingly endless battle to ward off the hyper-infectious omicron variant.

The Chinese financial hub reported a third consecutive day of no new COVID-19 cases in the broader community, hitting a crucial milestone that authorities have said will allow them to unwind the strict curbs that hampered economic activity and curtailed almost every aspect of daily life for residents. All 16 of the city’s districts reported no community spread, officials said at a briefing today.

Meanwhile in the northern port city of Tianjin, a new flareup has emerged, likely set off by an infection from a worker at a cold-storage facility, state broadcaster CCTV reported, citing local health authorities. The city of nearly 14 million detected 28 infections during a mass testing drive, after an earlier outbreak in January caused disruptions for global carmakers Toyota Motor Corp. and Volkswagen AG.