fix(ci): make the relay teardown retry find and finish failed previews

The nightly retry listed labeled closed PRs, then required each one to be
unlabeled, so no teardown ever ran. Nothing removed the label either, so every
failure re-queued every night. It also tested state == CLOSED, which misses
MERGED PRs. Teardown now clears the label only after a successful destroy, so
the scheduled list holds exactly the outstanding failures. Eligibility is "not
OPEN". Every job also requires the main branch, like deploy-relay.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
4a02715004Julius Marminge committed on 10/22/2026, 10:20:45 PMparent1474563

Checks

All checks passed
1 file changedLine totals unavailable