The challenges tested the city’s infrastructure and governance, prompting innovative measures and long-term planning, albeit with mixed results.