gerrit: Use asyncssh
Replace shelling out to ssh
with an asyncssh powered polling loop.
This change enables the gerrit task to detect connectivity issues caused
by interruption of the TCP stream from the gerrit server.
Bug: T359096
How to register an account on GitLab. To prevent spam, new accounts are locked until approved by an admin or the approver bot. You can also file an unlock request to expedite access.
Support: mw:GitLab, how to host a project on GitLab, #wikimedia-gitlab on libera.chat, #GitLab on Phabricator.
Replace shelling out to ssh
with an asyncssh powered polling loop.
This change enables the gerrit task to detect connectivity issues caused
by interruption of the TCP stream from the gerrit server.
Bug: T359096