Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Tags: uber/kraken

Tags

v0.1.19

Toggle v0.1.19's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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 <[email protected]>

v0.1.18

Toggle v0.1.18's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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 <[email protected]>

v0.1.17

Toggle v0.1.17's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: Metrics for writeback queue (#520)

* feat: Metrics for writeback queue

* Update lib/persistedretry/manager.go

Co-authored-by: Copilot <[email protected]>

* Report metric interval

* Remove 0 checks

* Update

---------

Co-authored-by: Copilot <[email protected]>

v0.1.16

Toggle v0.1.16's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Disable caching for README badges (#516)

Co-authored-by: gauravk <[email protected]>

v0.1.15

Toggle v0.1.15's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(build-index): Add retry logic for manifest download during depend…

…ency resolution (#502)

* fix(build-index): Add retry logic for manifest download during dependency resolution

* Fix

* Fix

* Fix

* Revert log

* Test retries

* Increase timeout, fix

v0.1.14

Toggle v0.1.14's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Retry SyncExec (#496)

* Retry SyncExec

* Update to use httputil backoff

* Remove attempts

* Redundant params

v0.1.13

Toggle v0.1.13's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(lib/store): initialise BufferedReadWriter with size (#493)

v0.1.12

Toggle v0.1.12's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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 <[email protected]>

* Remove unneccessary fields

* Remove unneccessary fields

* Update build-index/tagstore/store.go

Co-authored-by: Copilot <[email protected]>

* Update build-index/tagserver/server.go

Co-authored-by: Copilot <[email protected]>

* Update build-index/tagserver/server.go

Co-authored-by: Copilot <[email protected]>

* Update build-index/tagserver/server.go

Co-authored-by: Copilot <[email protected]>

* Update build-index/tagstore/store.go

Co-authored-by: Copilot <[email protected]>

* Update build-index/tagserver/server.go

Co-authored-by: Copilot <[email protected]>

* Update build-index/tagserver/server.go

Co-authored-by: Copilot <[email protected]>

* Update build-index/tagstore/store.go

Co-authored-by: Copilot <[email protected]>

* Update build-index/tagserver/server.go

Co-authored-by: Copilot <[email protected]>

* Update build-index/tagstore/store.go

Co-authored-by: Copilot <[email protected]>

* Update build-index/tagstore/store.go

Co-authored-by: Copilot <[email protected]>

* Update build-index/tagserver/server.go

Co-authored-by: Copilot <[email protected]>

* Update build-index/tagserver/server.go

Co-authored-by: Copilot <[email protected]>

* Update build-index/tagserver/server.go

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>

v0.1.11

Toggle v0.1.11's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(lib/backend): add functionality to close clients (#451)

* feat(lib/backend): add functionality to close clients

What?
This PR aims to add functionality to close the clients and it's
resources in case the resources have closers.

Why?
There are use cases in for gcsbacknd using `storage.transfermanager` to
close the single downloader it creates. If we don't close it, there's a
possibility of leaking resources.

How?
Add `Close` to client interface and implement the method for each
client.\
Then `backend.Manager` will use them to expose a `Close()` method that
can be used by build-index and origin to close them.

* add close methods to tests for proper cleanups

* resolved comments

v0.1.10

Toggle v0.1.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add eth1 to supported interfaces (#448)

We have a use case for servers with an eth1 interface.