In December 1774, a Siamese supported rebellion broke out at Lampang in Lan Na, and soon spread. On 15 January 1775, the rebels took Chiang Mai, and overthrew the Burmese installed government. In November 1775, two Burmese armies of 35,000 were to invade Lan Na and Siam. But because of a mutiny by a senior commander, the southern army lost a significant portion of the troops. The remaining Burmese armies fought their way in. The northern army managed to capture Chiang Mai, albeit at a great cost, and the southern army took Sukhothai and Phitsanulok in central Siam. However, the invasion forces were too small to overcome the Siamese defences, and were bogged down. The armies withdrew in June 1776 after Hsinbyushin died. Hsinbyushin's successor Singu stopped the war with Siam, and demobilised much of the army. The decision was well received by the war-torn country. The people had grown tired of constant conscriptions to fight in "ever-lasting wars" in remote regions they had never heard of. But the king had unwittingly given up Chiang Mai, which proved to be the end of two centuries of Burmese rule there. Likewise, Singu took no action in 1778 when Vientiane and Luang Prabang stopped paying tribute, and came under Siam's sphere of influence.
Which happened first, the rebels took Chiang Mai or  Singu took no action when Vientiane and Luang Prabang stopped paying tribute?
the rebels took Chiang Mai