I couldn't decide if I should cancel the lesson until the last minute.
I was thinking until the last minute whether I should cancel the lesson.
ご質問ありがとうございます。
表現方法はいくつかありますので、今回はその一例をご紹介しますね。
まず、「迷っていた」というのは I couldn't decide「(最後まで)決められなかった」や I was thinking「考えていた」などを使って表現することができます。
また、「直前まで」というのは until the last minute と言います。
I couldn't decide if I should cancel the lesson until the last minute.
「私は、直前までキャンセルしようかどうか迷っていた」
I was thinking until the last minute whether I should cancel the lesson.
「私は、直前までキャンセルしようかどうか考えていた」
ご参考になれば幸いです。
I was debating whether to cancel right up until the last minute.
I was debating whether to cancel right up until the last minute.
『私は直前まで、キャンセルすべきかどうか議論(検討)していました。』
debate は「議論する、真剣に検討する」という意味で、「迷う」という状態を真剣な検討として表現できます。right up until the last minute は「まさに最後の瞬間まで」「直前まで」という意味で、切迫感を伝えるのに最適です。