Marcin Czenko
|
05ab491bca
|
fixes race conditions
|
2025-10-24 04:57:10 +02:00 |
|
Marcin Czenko
|
f0aa462dc0
|
gets better completion reporting and error handling for the index downloader
|
2025-10-24 04:42:40 +02:00 |
|
Marcin Czenko
|
69b0daac1f
|
adds tests for the index downloader and refactors things a bit
|
2025-10-24 03:48:28 +02:00 |
|
Marcin Czenko
|
2b2e21bb1b
|
converts CodexClient tests to also use testify
|
2025-10-24 02:51:41 +02:00 |
|
Marcin Czenko
|
a72a1873c6
|
makes TestFetchManifestWithContext_RequestError faster
|
2025-10-24 02:27:54 +02:00 |
|
Marcin Czenko
|
626ef22d49
|
FetchManifestWithContext extracted from index downloader and added to CodexClient
|
2025-10-24 02:22:00 +02:00 |
|
Marcin Czenko
|
cad584303e
|
adds index downloader
|
2025-10-23 20:17:03 +02:00 |
|
Marcin Czenko
|
30342d82eb
|
adds remaining methods to the CodexClientInterface and regenerates the mock
|
2025-10-23 20:16:48 +02:00 |
|
Marcin Czenko
|
69e0279c35
|
Updates README
|
2025-10-23 05:21:28 +02:00 |
|
Marcin Czenko
|
c261e6807c
|
fixes unprotected write to a map in test, adding race condition detection to CI
|
2025-10-23 05:07:16 +02:00 |
|
Marcin Czenko
|
55051d99e7
|
updates go version to match local env and get rid of catching warnings
|
2025-10-23 04:58:13 +02:00 |
|
Marcin Czenko
|
e340e36d97
|
fine tunning CI
|
2025-10-23 04:54:01 +02:00 |
|
Marcin Czenko
|
bdae45907b
|
do not check the generated protobuf on the CI - this is error prone
|
2025-10-23 04:49:05 +02:00 |
|
Marcin Czenko
|
23779715e8
|
adds CI - why not...
|
2025-10-23 04:43:46 +02:00 |
|
Marcin Czenko
|
b98f3ec9cc
|
adds integration test for the archive downloader
|
2025-10-23 04:36:26 +02:00 |
|
Marcin Czenko
|
afaf8e52ab
|
adds a more robust test to test cancellation of the triggerDownload operation
|
2025-10-23 03:41:56 +02:00 |
|
Marcin Czenko
|
a3e2ad0341
|
adds tests, fixes a number of problems and adds zap logger for logging
|
2025-10-23 03:28:02 +02:00 |
|
Marcin Czenko
|
8a16db8f30
|
use go library function for sorting
|
2025-10-23 02:06:05 +02:00 |
|
Marcin Czenko
|
b1e38bc697
|
adds a callback called before download starts (helps testing the sorting of the archives)
|
2025-10-23 02:01:49 +02:00 |
|
Marcin Czenko
|
e703d06366
|
refactor the archive downloader tests to use testify in the test suite mode
|
2025-10-23 01:37:45 +02:00 |
|
Marcin Czenko
|
59c4aecaf0
|
comparing testify with native go testing
|
2025-10-22 21:56:45 +02:00 |
|
Marcin Czenko
|
3db63a3aab
|
Adds basic test for archive downloader with the mocking setup
|
2025-10-22 21:18:31 +02:00 |
|
Marcin Czenko
|
3e135f3c53
|
moves tests to a separate package to discorage testing of the implementation details and avoid import cycles in the future when using mocks
|
2025-10-22 21:02:28 +02:00 |
|
Marcin Czenko
|
57f7b873ac
|
simplifies CodexArchiveDownloader
|
2025-10-22 04:50:52 +02:00 |
|
Marcin Czenko
|
774660639b
|
Renames LocalDownload to TriggerDownload and brings back the original LocalDownload
|
2025-10-22 03:44:49 +02:00 |
|
Marcin Czenko
|
4dc98d22e3
|
Prepares archive downloader for testing - sets up the protobuf infra
|
2025-10-22 03:19:15 +02:00 |
|
Marcin Czenko
|
c47f9c4436
|
Fixes LocalDownload in CodexClient
|
2025-10-22 03:18:27 +02:00 |
|
Marcin Czenko
|
d8b762ea06
|
updates API from "has" to "exists"
|
2025-10-21 16:14:12 +02:00 |
|
Marcin Czenko
|
ca8b1dd5f6
|
updates README
|
2025-10-21 14:45:15 +02:00 |
|
Marcin Czenko
|
754215e9f7
|
adds "HasCid" and "RemoveCid" methods to CodexClient
|
2025-10-21 05:22:23 +02:00 |
|
Marcin Czenko
|
bdde71e871
|
initial commit
|
2025-10-20 02:46:50 +02:00 |
|