What are the exact objectives and/or demands that, if met, would have the Ukrainian government state the war is over?
So far as I am aware, it is the complete expulsion of Russian forces from all internationally recognized Ukrainian territory (including Crimea), to restore the borders prior to 2014. But if we look at the rate that Ukraine is regaining territory that is a very long way off indeed, and we know also that Ukraine is paying a high cost in lives for each square foot of territory recovered, although the Ukrainian government is not forthright about exactly how many that is. Russia suffered a large reversal last autumn when Ukraine forced a rout of its forces from a large amount of territory, but before even that counter-offensive ended the rate of recovery dwindled to a very small amount. That early success has not been repeated, and commentators are reporting that Russia is defending a lot more intelligently than previously.
It is all well and good if Ukraine can achieve what it intends, but the west must make a sober assessment of the likelihood of that success. Ukraine can take all the land between Kherson and Moscow for all I care, if it can manage it on its own. But it cannot, and its ongoing war effort, with its diminishing returns, needs to be propped up by the west, possibly leading to a permanent state of war, if it doesn't escalate into global Armageddon. In order to regain the Donbas and Crimea--regions whose inhabitants do not even like the Ukrainians that much*--the cost might be so great that there will not be much of the rest of Ukraine left.
*The feeling is mutual, as the damming of the North Crimea canal after the Russian annexation in 2014 shows.