I was waiting for a final interview / offer letter from X company in India. Meanwhile I joined another company Y (also in India) because the offer was going to expire before company X could give me a final offer.
One month after joining Y company, I got final offer from X company which was much better than Y company. I resigned and got relieving letter from Y company.
I did not inform X company about joining/leaving Y company. Do I need to tell company Y about my stint at company X? Are there any risks if I choose to disclose?