Two dead Zed sign-ins were listed ~30 times a minute, each listing
asking Zed for a model token and getting 401 again. A models hook that
throws with signIn "expired" is now held for that sign-in (its access,
refresh or key): the listing falls back as it did, with the same error,
and the hook isn't asked until the same backoff as a failed renewal
(30s doubling to 30 minutes) has passed. Signing in again asks at once.
This is in the host, so it holds for every plugin, not only Zed.
Run: go test -run 'TestRefusedListIsNotAskedAgain|TestFetchBuildsInfoOnce|
TestPluginRenewsSignIns|TestRenewRetryBacksOff' ./internal/plugin on
mote: ok.
Broken by hand: skipping the hold makes TestRefusedListIsNotAskedAgain
red (3 listings asked 3 more times).