summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-02-28Release 1.5.0~beta2v1.5.0-beta2Klaus Aehlig
2025-02-28just-lock: Parallelize cloning, subject to GILPaul Cristian Sarbu
Python's Global Interpreter Lock (GIL) hugely reduces the amount of parallelism one can achieve. However, as cloning repositories is I/O bound, the total runtime is improved by running it in parallel.
2025-02-28just-lock imports: Parallelize checkouts, subject to GILPaul Cristian Sarbu
Python's Global Interpreter Lock (GIL) hugely reduces the amount of parallelism one can achieve. However, as the checkout methods are I/O bound, the total runtime is improved by running them in parallel.
2025-02-28just-lock git-tree imports: Separate checkout logic into own methodPaul Cristian Sarbu
This will allow it to be run mostly asynchronously with other checkouts in the future.
2025-02-28just-lock archive imports: Separate checkout logic into own methodPaul Cristian Sarbu
This will allow it to be run mostly asynchronously with other checkouts in the future.
2025-02-28just-lock git imports: Separate checkout logic into own methodPaul Cristian Sarbu
This will allow it to be run mostly asynchronously with other checkouts in the future.
2025-02-28just-lock: Improve thread safety in Git operationsPaul Cristian Sarbu
Similarly to how it is done in just-mr: - lock against concurrent git-tag calls; - extend git-fetch call with arguments that ensure thread-safe operation.
2025-02-28just-lock: Always use os.environ.copy()Paul Cristian Sarbu
2025-02-28just-lock git imports: Improve cache hit ratePaul Cristian Sarbu
...by first retrieving only the desired commit id from the definitive remote in order to allow it to be checked against the local Git cache. This massively reduces the average network traffic from regenerating the just-mr configuration in justbuild projects that always require the latest version of their dependencies.
2025-02-28just-lock: Allow stderr capture and reporting when running commandsPaul Cristian Sarbu
2025-02-28just-lock: Properly format multi-line logsPaul Cristian Sarbu
2025-02-28just-lock: Fix missing fail conditionPaul Cristian Sarbu
2025-02-28just-lock clone: Fix wrong order in resolving treesPaul Cristian Sarbu
Match correctly the behavior of just-mr, i.e., resolve the special entries of the relevant subtree of the original tree instead of taking the subtree of the resolved original tree. This also means that the clones of archives can directly stage the relevant subdir of the unpacked content and forward any 'special' pragma (same as for other cloned repository types).
2025-02-28Modernize conceptsMaksim Denisov
2025-02-28Avoid rehashing content when using GitRepo::ReadTreeDataMaksim Denisov
2025-02-28GraphTraverser: Pass blobs to UploadBlobs by rvalueMaksim Denisov
...in order to avoid copying while uploading.
2025-02-28GraphTraverser: Pass artifacts, blobs and trees to BuildAndStage by rvalueMaksim Denisov
2025-02-28TreeIdGitMap: Remove unused parametersMaksim Denisov
2025-02-28TreeIdGitMap: Use ServeApi::UploadTreeMaksim Denisov
2025-02-28LogConfig: avoid returning constant valuesMaksim Denisov
...and remove an unused method.
2025-02-28Make statistics a separate libraryMaksim Denisov
2025-02-28Artifact: Use ArtifactDigestFactoryMaksim Denisov
...to remove code duplication.
2025-02-28Include ArtifactDigestFactory into "common" libraryMaksim Denisov
2025-02-27LocalApi: Create ArtifactBlobs from existing filesMaksim Denisov
2025-02-27ArtifactBlob: Support construction from an existing fileMaksim Denisov
2025-02-27ArtifactBlob: Allow different content sourcesMaksim Denisov
2025-02-27BazelNetworkReader: Remove additional validationMaksim Denisov
...since ArtifactBlob rehashes data on construction and guarantees that the digest matches the content.
2025-02-27ArtifactBlob: Remove public constructor.Maksim Denisov
2025-02-27BazelNetwork: Adapt the test that reads objects of unknown sizeMaksim Denisov
2025-02-27Remove BytestreamClient test.Maksim Denisov
ArtifactBlob rehashes content, there's no way to construct it with a wrong digest.
2025-02-27ArtifactBlob: Use static function for constructionMaksim Denisov
2025-02-27ArtifactBlob: Support construction in memoryMaksim Denisov
2025-02-27ArtifactBlob: Check access to the contentMaksim Denisov
2025-02-27ArtifactBlob: Support incremental readingMaksim Denisov
2025-02-27ArtifactBlob: Add cpp fileMaksim Denisov
2025-02-27ArtifactBlob: Convert to a classMaksim Denisov
2025-02-27ArtifactBlob: Move from execution_api/common to commonMaksim Denisov
2025-02-27GitApi: remove intermediate ArtifactBlob containerMaksim Denisov
2025-02-27BazelCasClient: Support request creation failure in InitRequest.Maksim Denisov
2025-02-26Update ChangelogKlaus Aehlig
... documenting the chanages since the first beta release. While there, also fix the structure of the document and unify use of empty lines.
2025-02-26profiling design: update logging optionsKlaus Aehlig
Reduce interference of invocation logging with regular logging operations; in particular, restrict just-mr passing the --async-profile option only to build commands and thus avoiding race conditions with calls to `analyse` that rely on having a graph available immediate after invocation.
2025-02-25just serve: allow clients to access execution endpoint with a different addressAlberto Sartori
To properly use `just serve`, both the client and the serve instance must talk to the very same execution endpoint. Typically, both the client and serve can reach out to the execution endpoint via the same IP address. However, it might be possible that the client and a serve instance know the same execution endpoint by means of differnet IP addresses. For example, the client knows the execution endpoint address through an _external_ IP address, while the serve instance, deployed within the same network infrastructure, only knows the _internal_ IP address. This patch adds the subkey `"client address"` -- of the key `"execution endpoint"` -- in the serve configuration file, to specify the alternative pair `address:port` used by the client.
2025-02-24Release 1.5.0~beta1v1.5.0-beta1Klaus Aehlig
2025-02-24git_tree_fetch_map: Improve warning messagePaul Cristian Sarbu
2025-02-24just-mr setup: Remove warnings when fallback to network is availablePaul Cristian Sarbu
2025-02-24just-lock-config(5): Update with 'generic' source typePaul Cristian Sarbu
2025-02-24end-to-end just-lock: Add basic test for generic importsPaul Cristian Sarbu
2025-02-24just-lock: Implement 'generic' source typePaul Cristian Sarbu
2025-02-24just-lock: Allow input argument for method running commandsPaul Cristian Sarbu
2025-02-24just-lock: Avoid unnecessary chances for unwanted side-effectsPaul Cristian Sarbu
...in handling mutable objects. In particular, treat mutable function variables, as well as any references they might contain, as constant.