upgrade_base() took N-1 from `git tag --merged HEAD~1`, a first-parent
walk. A release cut as a merge loses its predecessor that way: at
v0.22.2 (first parent the release/0.22.1 tip, second parent the
published v0.22.1) it picked v0.22.0. release_tags(before=True) now
takes `--merged HEAD --no-contains HEAD` and keeps the depth-1 guard on
HEAD~1. On main both pick v0.23.0.
With no release reachable the suites skipped. On CI, where the job
fetches full history and tags, that means a broken checkout reported
green, so it now raises there.
The resolver test lives in tests/ci so PR CI runs it; the e2e-upgrade
lane runs only on release and dispatch runs.
Part of #150040