source-controller/pkg
Sunny 7f7490ebf0
libgit2/managed: fix race issues in ssh transport
Race conditions in ssh smart subtransport caused some goroutines to
panic, resulting in crashing the whole controller, mostly evident in
image-automation-controller CI runs. Panic recovery in the main thread
do not handle goroutine panics. So, the existing panic recovery code in
libgit2 Checkout() methods weren't able to handle it.

This change groups the fields in ssh smart subtransport that may be
accessed by multiple goroutines into a new struct with a mutex. Also
adds panic recovery in the created goroutine to handle any other
possible panics.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2022-06-03 01:45:18 +05:30
..
azure build: properly wire integration tests 2022-03-11 10:43:35 +01:00
gcp test: use `T.TempDir` to create temporary test directory 2022-04-29 23:01:39 +08:00
git libgit2/managed: fix race issues in ssh transport 2022-06-03 01:45:18 +05:30
minio Remove minio region 2022-05-10 14:28:54 +01:00
sourceignore test: use `T.TempDir` to create temporary test directory 2022-04-29 23:01:39 +08:00