What is the ruling on tasting food while fasting?
Tasting food while fasting is disliked (makruh). However, if any part of the food reaches the body cavity (jauf), the fast becomes invalid.
What is the semi-circular structure attached to the Holy Kabah?
The semi-circular structure attached to the Holy Kabah is Hijr Al-Kabah (is a low wall originally part of the Kabah) and passing behind it is an obligation while making Tawaf because it is a part of the Holy Kabah. And Allah Knows Best.
Does undergoing an endoscopy during the day in Ramadan affect the validity of fasting?
Undergoing an endoscopic procedure during the day in Ramadan—whether through the mouth, nose, front private part, or back private part—invalidates the fast.
Whoever undergoes such a procedure must refrain from eating and drinking for the rest of the day out of respect for the sacred month and make up for that day after Ramadan.
What is the ruling of Islamic Law on eating or drinking during the circumambulation?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
It is disliked (makrūh) to eat or drink during the circumambulation (ṭawāf).
Shaykh al-Islām Imām al-Nawawī states in al-Majmūʿ: "It is disliked to eat or drink during ṭawāf, and the dislikedness of drinking is lighter. Neither of them, nor both together, invalidates the ṭawāf. Al-Shāfiʿī said: 'There is no objection to drinking water during ṭawāf, and I do not consider it sinful; however, I prefer that it be avoided, as refraining from it is more befitting in terms of proper conduct.' Among those who explicitly stated the dislikedness of eating and drinking, and that drinking is the lesser of the two, is the author of al-Ḥāwī."
If, however, a person is in genuine need of drinking, then there is no dislikedness in doing so. In any case, the ṭawāf itself remains valid. And Allah the Almighty knows best.