Question
What good deeds saved Taksaka from Sarpa Yajna?
Answer
One reason is mentioned in answer by srimannarayana k v that Indra took exception form Brahma to save Takṣaka.
One more reason is mentioned in Śrīmad-Bhāgavatam (Bhāgavata Purāṇa) 12.6.23-24 which says that Takṣaka had drunk the Amrita so due that reason he couldn't be killed.
Note: “The question: What good deeds saved Taksaka from Sarpa Yajna?” is licensed by Stack Exchange Inc (https://hinduism.stackexchange.com/); user contributions licensed under CC BY-SA.