repo-updater: Fix nil connection panic
Created by: ryanslade
syncScheduler relied on the dbconn.Global but it was not guaranteed to be initialised by the time it was first run leading to a panic.
Instead, we use the database handle passed in with the repo updater specific store.
Merge request reports
Activity
Created by: codecov[bot]
Codecov Report
Merging #17199 (300e51c) into main (fa28c07) will increase coverage by
0.00%
. The diff coverage isn/a
.@@ Coverage Diff @@ ## main #17199 +/- ## ======================================= Coverage 51.99% 51.99% ======================================= Files 1703 1703 Lines 84804 84804 Branches 7609 7609 ======================================= + Hits 44095 44097 +2 + Misses 36807 36806 -1 + Partials 3902 3901 -1
Flag Coverage Δ *Carryforward flag go 51.04% <ø> (+<0.01%)
integration 30.51% <ø> (ø)
Carriedforward from fa28c07 storybook 30.03% <ø> (ø)
Carriedforward from fa28c07 typescript 54.30% <ø> (ø)
Carriedforward from fa28c07 unit 34.80% <ø> (ø)
Carriedforward from fa28c07 *This pull request uses carry forward flags. Click here to find out more.
Impacted Files Coverage Δ .../internal/codeintel/resolvers/graphql/locations.go 85.56% <0.00%> (+2.06%)
Please register or sign in to reply