user16806: I read here that on the night before the dawn of Buddhas Nirvana, the Buddha made a resolve that;

‘I shall sit under this tree and meditate upon my questions. And I
shall not move until I have my answers. Even if my skin rots and my
body decays, I shall not budge till I see the light,’ he decided.

Does this resolve go against the middle path that there should not be extreme asceticism and indulgence? I mean if He was not going to get up until He attained enlightenment then wasn't it extreme of asceticism.

user17652: I think it could be seen as a metaphorical gesture as well as a literal event. One might say it is a noble response emerging from the very tethers of samsara, where you have just had enough of the whole thing and are prepared to do anything.
One might also consider that some practitioners can sit within a samadhi state for what seems like an unnatural amount of time with little to no adverse effect on the body. Also, the Juñha Sutta describes an instance where sariputra, whilst in deep meditation, is hit over the head very hard by a yakkha, but having emerged from his meditation sariputra only reported a slight headache. The Buddha, having saw what occurred with his divine eye, said this...

Whose mind, standing like rock,
doesn't shake,
dispassionate for things that spark passion,
unprovoked by things that spark provocation:
When one's mind is developed like this,
from where can there come to him
suffering & stress?

So then, resolving to sit under the Bodi tree gave him this understanding which he then shared in various creative ways through the medium of wisdom bullets.

user254: The story of the vow is from the Jhataka (see here).
The story is impressive and much-loved, but maybe the Jataka is a slightly different category than the other suttas (see also this answer). The version in the suttas e.g. MN 26 doesn't include that detail.
As an aside, since you're interested in Zen, I wonder if the story has any parallels with Zen story Three Days More.

16806: <p>I <a href="https://jaanoandseekho.com/mahabodhi-temple-complex-in-bodh-gaya-a-world-heritage-site-facts-at-a-glance/" rel="nofollow noreferrer">read here</a> that on the night before the dawn of Buddhas Nirvana, the Buddha made a resolve that;</p>
<blockquote>
<p>‘I shall sit under this tree and meditate upon my questions. And I
shall not move until I have my answers. Even if my skin rots and my
body decays, I shall not budge till I see the light,’ he decided.</p>
</blockquote>
<p>Does this resolve go against the middle path that there should not be extreme asceticism and indulgence? I mean if He was not going to get up until He attained enlightenment then wasn't it extreme of asceticism.</p>
 17652: <p>I think it could be seen as a metaphorical gesture as well as a literal event. One might say it is a noble response emerging from the very tethers of samsara, where you have just had enough of the whole thing and are prepared to do anything.</p>
<p>One might also consider that some practitioners can sit within a samadhi state for what seems like an unnatural amount of time with little to no adverse effect on the body. Also, the <a href="https://www.accesstoinsight.org/tipitaka/kn/ud/ud.4.04.than.html" rel="nofollow noreferrer">Juñha Sutta</a> describes an instance where sariputra, whilst in deep meditation, is hit over the head very hard by a yakkha, but having emerged from his meditation sariputra only reported a slight headache. The Buddha, having saw what occurred with his divine eye, said this...</p>
<blockquote>
<p>Whose mind, standing like rock,
doesn't shake,
dispassionate for things that spark passion,
unprovoked by things that spark provocation:
When one's mind is developed like this,
from where can there come to him
suffering &amp; stress?</p>
</blockquote>
<p>So then, resolving to sit under the Bodi tree gave him this understanding which he then shared in various creative ways through the medium of wisdom bullets.</p>
 254: <p>The story of the vow is from the Jhataka (<a href="https://buddhism.stackexchange.com/a/14366/254">see here</a>).</p>
<p>The story is impressive and much-loved, but maybe the Jataka is a slightly different category than the other suttas (see also <a href="https://buddhism.stackexchange.com/a/2698/254">this answer</a>). The version in the suttas e.g. <a href="https://www.accesstoinsight.org/tipitaka/mn/mn.026.than.html" rel="nofollow noreferrer">MN 26</a> doesn't include that detail.</p>
<p>As an aside, since you're interested in Zen, I wonder if the story has any parallels with Zen story <a href="https://nkanaev.com/zen101/en/025/" rel="nofollow noreferrer">Three Days More</a>.</p>
