が終わるまで

until … ends

→ が
phrase Rare #23,566
until … ends The particle が marks what is ending. When followed by に (までに), the phrase means “by the time … ends.”
JA: 映画が終わるまで、ここで待っていてください。
EN: Please wait here until the movie ends.

学校が終わるまでにそれを終えてしまいたかったのだが。

I wanted to get it done before school ended, but...

うん、休みが終わるまででいいの。

Yeah, just until the vacation is over is fine.

会議が終わるまで、誰も彼女のいないことに気がつかなかった。

No one noticed that she was missing until the meeting was over.

試合が終わるまでいようよ。

Let's stay until the game is over.

宿題が終わるまで待ってください。

Please wait until I finish my homework.

彼女はその会合が終わるまで現れなかった。

She didn’t show up until the meeting was over.

彼女は音楽会が終わるまでにはやってこなかった。

She didn't arrive until the concert was over.

彼は音楽会が終わるまでには到着しなかった。

He didn't arrive until the concert was over.