Tags: uber/kraken
Tags
Add unit tests for cluster_client.go Locations function (#539) * Add unit tests for cluster_client.go Locations function - Add table-driven tests for blobclient.Locations() - Test cases: empty cluster, single node, multiple nodes, failover, all fail - Use t.Cleanup() for automatic test server cleanup - Add mock hostlist.List implementation for testing * Simplify slice comparison: replace reflect.DeepEqual with require.Equal --------- Co-authored-by: gauravk <gauravk@uber.com>
Fixing lint errors (#527) ## Summary - Fix golangci-lint errcheck violations by properly handling errors. ## Changes - Use `closers.Close()` for deferred Close() calls in non-test code - Use `require.NoError()` for error checks in test files - Update `localdb.Fixture()` to accept `*testing.T` for proper test error handling - Fix type assertion checks in `file_map.go` Signed-off-by: egorikas <egorgrishechko@gmail.com>
feat: Metrics for writeback queue (#520) * feat: Metrics for writeback queue * Update lib/persistedretry/manager.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Report metric interval * Remove 0 checks * Update --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Put images in log lines in build-index (#454) * Put images in log lines in build-index * Update build-index/tagserver/server.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Remove unneccessary fields * Remove unneccessary fields * Update build-index/tagstore/store.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update build-index/tagserver/server.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update build-index/tagserver/server.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update build-index/tagserver/server.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update build-index/tagstore/store.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update build-index/tagserver/server.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update build-index/tagserver/server.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update build-index/tagstore/store.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update build-index/tagserver/server.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update build-index/tagstore/store.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update build-index/tagstore/store.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update build-index/tagserver/server.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update build-index/tagserver/server.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update build-index/tagserver/server.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
PreviousNext