Update dependencies#1036
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1036 +/- ##
=======================================
Coverage 75.03% 75.03%
=======================================
Files 107 107
Lines 5072 5072
=======================================
Hits 3806 3806
Misses 720 720
Partials 546 546 Continue to review full report at Codecov.
|
|
Needed to add a lock around |
|
How would you feel about |
I'm not opposed in theory, but I might want to make that as a separate change. The mutex is a quick hack to avoid the data race (which seems relatively innocuous anyway). Skipping the load each time is probably good for performance, especially for short-lived CLI use cases, but something that uses ggcr in a long-running, potentially multi-tenant scenario might unknowingly depend on the load each time, and could be surprised in a bad way if we optimized it. |
This updates our containerd dep to v1.5.2, which contains containerd/containerd@363f2c3 to only check CPU arch on-demand the first time it's needed, instead of at init-time.
Fixes #916