aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* added --clean optionsb/rpc-analysisStefan Boberg2025-10-072-2/+28
|
* Merge branch 'sb/rpc-analysis' of ssh://arn-wd-l1704:2222/ue-foundation/zen ↵Stefan Boberg2025-10-071-1/+49
|\ | | | | | | into sb/rpc-analysis
| * just some intermediate stuff, switching workstationStefan Boberg2025-10-071-1/+49
| |
* | Added summaryStefan Boberg2025-10-071-0/+2
|/
* added some progress indicationStefan Boberg2025-10-061-0/+8
|
* integrated headersStefan Boberg2025-10-061-3/+2
|
* Merge remote-tracking branch 'origin/main' into sb/rpc-analysisStefan Boberg2025-10-06395-25256/+87037
|\
| * executable/version/pid log at command startup cleaned up (#557)Dan Engelbrecht2025-10-064-20/+18
| |
| * fix missing chunk in block after gc (#560)Dan Engelbrecht2025-10-061-1/+3
| | | | | | * make sure we use aligned write pos in blockstore compact when checking target block size
| * changed std::vector<bool> to std::vector<uint8_t> to avoid threading issues ↵Stefan Boberg2025-10-061-6/+7
| | | | | | | | (#561)
| * fixed issue in compactcas.restart test due to std::vector<bool> (#559)Stefan Boberg2025-10-061-2/+5
| | | | | | `std::vector<bool>` is a special container since it bit packs the values rather than just using an array of booleans. This means that updating it on multiple threads simultaneously is dangerous
| * added Hidden option to oidctoken creation with oidc token exe (#556)Dan Engelbrecht2025-10-0611-19/+47
| |
| * speed up tests (#555)Dan Engelbrecht2025-10-0610-179/+245
| | | | | | | | | | | | | | | | | | | | | | | | * faster FileSystemTraversal test * faster jobqueue test * faster NamedEvent test * faster cache tests * faster basic http tests * faster blockstore test * faster cache store tests * faster compactcas tests * more responsive zenserver launch * tweak worker pool sizes in tests
| * fix link error with operator new (#553)Stefan Boberg2025-10-042-23/+36
| |
| * move rpcrecorder out from cache subfolder (#552)Dan Engelbrecht2025-10-035-4/+4
| |
| * cacherequests helpers test only (#551)Dan Engelbrecht2025-10-0322-392/+460
| | | | | | | | * don't use cacherequests utils in cache_cmd.cpp * make zenutil/cacherequests code into test code helpers only
| * zenutil cleanup (#550)Dan Engelbrecht2025-10-038-6/+8
| | | | | | | | * move referencemetadata to zenstore * rename zenutil/windows/service to windowsservice
| * move zen vfs implementation to zenstore (#549)Dan Engelbrecht2025-10-037-93/+45
| | | | | | * move zen vfs implementation to zenstore
| * fix missing chunk (#548)Dan Engelbrecht2025-10-031-2/+12
| | | | | | | | * fix race condition where BlockStoreFile::m_CachedFileSize may be reset between check and get in FileSize()
| * remove zenutil dependency in zenremotestore (#547)Dan Engelbrecht2025-10-0336-66/+98
| | | | | | | | | | | | | | | | | | * remove dependency to zenutil/workerpools.h from remoteprojectstore.cpp * remove dependency to zenutil/workerpools.h from buildstoragecache.cpp * remove unneded include * move jupiter helpers to zenremotestore * move parallelwork to zencore * remove zenutil dependency from zenremotestore * clean up test project dependencies - use indirect dependencies
| * move chunking code to zenremotestore lib (#545)Dan Engelbrecht2025-10-0319-47/+86
| |
| * cache RPC replay fixes (minor) (#544)Stefan Boberg2025-10-032-1/+10
| | | | | | | | | | * fixes misleading server side log message when using `--onhost` * fixed `--onhost` behaviour in zen (no longer replays twice)
| * move zenutil builds code to zenremotestore (#543)Dan Engelbrecht2025-10-0314-14/+20
| | | | | | | | * move buildstorage implementations to zenremotestore lib * move builds storage to zenremotelib
| * move remoteproject to remotestorelib (#542)Dan Engelbrecht2025-10-0314-23/+18
| | | | | | * move remoteproject code to remotestorelib
| * move projectstore to zenstore (#541)Dan Engelbrecht2025-10-0211-12/+10
| |
| * fix for RPC replay issue (wrong content-type) (#536)Stefan Boberg2025-10-024-28/+28
| | | | | | | | | | likely fall-out from HttpClient refactor. The content type used to be explicit via headers but is now taken from the `IoBuffer` also fixed issue which meant the original request session ID would also not be propagated as intended
| * add zenremotestore lib (#540)Dan Engelbrecht2025-10-025-0/+91
| |
| * projectstore refactor phase 2 (#539)Dan Engelbrecht2025-10-028-1681/+1524
| | | | | | Refactor projectstore/httpprojectservice to prepare for move of projectstore to zenstore
| * Zs/OIDC exe path handling (#538)Zousar Shaker2025-10-021-4/+10
| | | | | | | | | | * Fix handling of oidc-exe-path The path was only being set if the file DIDN'T exist on the server (along with the warning about it not existing). Now set if it DOES exist, and the warning emitted if it DOESN'T.
| * Fix bug in ReplayLogEntries for large op blobs (#537)Matt Peters2025-10-011-0/+1
| | | | | | | | | | - Bugfix: Fixed issue where large ops in oplog would fail to read properly ReplayLogEntries: Fix bug in the case where an op is too big for OpBl…obsBuffer. The OpBufferView needs to be pointed to the temporary buffer.
| * skip dropped oplogs in ScanForOplogs() (#534)Dan Engelbrecht2025-09-301-0/+5
| |
| * projectstore refactor (#531)Dan Engelbrecht2025-09-304-721/+667
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * convert ProjectStore::GetProjectFiles to not use http return codes * convert ProjectStore::GetProjectChunkInfos to not use http return codes * convert ProjectStore::GetChunkInfo to not use http return codes * convert ProjectStore::GetChunkRange to not use http return codes * convert ProjectStore::GetChunk to not use http return codes * convert ProjectStore::PutChunk to not use http return codes * convert ProjectStore::WriteOplog to not use http return codes * convert ProjectStore::ReadOplog to not use http return codes
| * fix bounds check when finalizing build state (#533)Dan Engelbrecht2025-09-301-1/+2
| |
| * HttpClient support for pluggable back-ends (#532)Stefan Boberg2025-09-306-1634/+1942
| | | | | | refactored HttpClient to separate out cpr implementation into separate classes, with an abstract base class to allow plugging in multiple implementations in the future
| * parsing of `zen builds` `--log-progress` option fixed (#530)Dan Engelbrecht2025-09-291-9/+13
| |
| * more cbobject validations (#527)Dan Engelbrecht2025-09-291-5/+19
| | | | | | - Improvement: Add additional validations when reading disk cache records to get references in GC
| * split zenserver-test monolith into multiple source files (#528)Stefan Boberg2025-09-296-4602/+4701
| |
| * gracefully handle missing chunks when exporting an oplog (#526)Dan Engelbrecht2025-09-292-28/+66
| | | | | | | | - Improvement: Gracefully handle missing chunks when exporting an oplog - Bugfix: Add object validation when replaying oplog to avoid crash on malformed data
| * builds multi wildcard (#524)Dan Engelbrecht2025-09-291-50/+83
| | | | | | * allow multiple include/exclude wildcards in zen builds command
| * fix race condition in BlockStoreFile::Flush (#525)Dan Engelbrecht2025-09-291-2/+2
| | | | | | Bugfix: Flush of blockstore file could sometimes cause an error due to a race condition
| * GetCacheChunk value request respects RawHash (#518)Zousar Shaker2025-09-291-1/+3
| | | | | | When requesting a value via the GetCacheChunks rpc method, if the request specified a raw hash, only return a hit if the raw hash matches what was in the cache.
| * make cpr a HttpClient implementation detail (#517)Stefan Boberg2025-09-2919-1094/+854
| | | | | | | | | | these changes remove cpr from anything which is not `HttpClient` internals. The goal is to eventually replace cpr with a more direct curl interface to eliminate cpr since it's proven problematic due to their development practices which frequently breaks APIs and prevents us from updating vcpkg. But this PR is limited to refactoring existing cpr code to use `HttpClient` instead.
| * fixed race condition in zen::logging::Get (#519)Stefan Boberg2025-09-291-3/+12
| | | | | | if two requests for the same logger came in from different threads they could end up creating the same logger twice which causes an exception on registration
| * remove spurious cpr.h includes (#520)Stefan Boberg2025-09-296-15/+1
| |
| * fixed ParsePackageMessage error message when mismatched header magic is ↵Stefan Boberg2025-09-291-1/+1
| | | | | | | | detected (#521)
| * some bug fixes (#522)Stefan Boberg2025-09-292-3/+4
| | | | | | | | | | | | * fix for invalid regex in HttpBuildStoreService - triggers with most recent MSVC version * in GcScheduler don't wait for exit signal if exit has already been requested. this caused extended waits for shutdown in some automated tests on very fast machines, possibly also due to some behaviour change in condition_variable * speculative fix/workaround for issue with TLS teardown on secondary thread while main was tearing down trace
| * make sure trace is configured for all test drivers (#523)Stefan Boberg2025-09-296-1/+48
| |
| * more iterate chunk logging (#516)Dan Engelbrecht2025-09-263-13/+57
| | | | | | | | | | * add log warnings when we can't read payloads in cas when we thing we should have them * fix misleading option help
| * Make sure we call the previous terminate handle if present when we intercept ↵Dan Engelbrecht2025-09-266-23/+123
| | | | | | | | | | | | terminate calls (#514) Improvement: Make sure we call the previous terminate handle if present when we intercept terminate calls Improvement: Avoid allocating memory for call stack in terminate handle and assert callback
| * fix for C4244 truncation warning (#515)Stefan Boberg2025-09-261-1/+3
| | | | | | Fixes warning/error introduced with msvc cl 19.38.33145