summaryrefslogtreecommitdiff
path: root/src/buildtool/computed_roots/evaluate.cpp
AgeCommit message (Collapse)Author
2025-06-04FileRoot: Give git-based roots access to storage configPaul Cristian Sarbu
2025-05-08Fix some typosPaul Cristian Sarbu
2025-05-08computed_roots: Fix missing return on fatal in evaluation async mapPaul Cristian Sarbu
2025-04-25just: make --dump-artifacts act cummulativelyKlaus Aehlig
2025-03-10Profiling: start collecting informations per actionsKlaus Aehlig
... so far, which actions where considered, and which of those were cached.
2025-02-19ApiBundle: Remove HashFunction.Maksim Denisov
And ensure every user obtains HashFunction from corresponding IExecutionApi
2025-01-23Computed roots: add basic progress reportingKlaus Aehlig
2025-01-23PrecomputedRoot: Remove DownloadFromServeMaksim Denisov
... and replace it with a direct call to serve.
2025-01-23PrecomputedRoots: Remove UploadToServeMaksim Denisov
... and replace it with a direct call to serve.
2025-01-22absent computed roots: obtain value from serve without fetching artifactsKlaus Aehlig
2025-01-21TreeStructure: Evaluate absent tree structure rootsMaksim Denisov
2025-01-21Implement UploadToServeMaksim Denisov
2025-01-21TreeStructure: Evaluate local tree structure roots of absent rootsMaksim Denisov
2025-01-21Implement DownloadFromServeMaksim Denisov
2025-01-21TreeStructure: move resolution logic to a separate function.Maksim Denisov
2025-01-21TreeStructure: use FileRoot as a result of resolutionMaksim Denisov
2025-01-21TreeStructureUtils: implement local computation of tree structureMaksim Denisov
2025-01-21TreeStructureUtils: export from gitMaksim Denisov
2025-01-21TreeStructureUtils: import to gitMaksim Denisov
Unify logic from evaluator of precomputed roots.
2025-01-21Rename compute_tree_structure to tree_structure_utilsMaksim Denisov
2025-01-15Use GitRepo::IsTreeInRepo during evaluation of precomputed roots.Maksim Denisov
2025-01-15Use GitRepo::ImportToGit during evaluation of precomputed roots.Maksim Denisov
2025-01-14Fix typo in log messageKlaus Aehlig
2025-01-09just build: add new option -pKlaus Aehlig
... allowing to print the unique artifact built (if any). This allows convenient inspection of the build result of targets that define precisely one artifact.
2025-01-07Implement rebuilding of StorageConfigMaksim Denisov
2024-12-19TreeStructure: evaluate roots.Maksim Denisov
2024-12-19Use PrecomputedRoots during evaluationMaksim Denisov
2024-12-12Computed roots: normalize build argumentsKlaus Aehlig
While building a computed root generally follows the way the main build is carried out, certain parameters need to be cleared. In particular, the computed root is not part of the rebuild and no build output should be dumped anywhere.
2024-12-11computed root building: synchronize log to remote in case of failureKlaus Aehlig
When materializing a computed root fails, the error is reported as a reference (in form of a blob identifier) to the log. This indirection is necessary as many roots are, in general materialized simultaneously. When building remotely, also upload the build log to remote execution; in this way, it is available in the same way as for serve-build failures (which are the other delegated builds). One particular use case is if the failure happens on a CI build; then the upload ensures the actual log is still available for the observer of the CI (provided they have access to the remote execution used by the CI).
2024-12-10Computed Roots: be aware of the serve end pointKlaus Aehlig
... as the base repository of a computed root might be absent.
2024-12-09computed-roots/evaluate: Fix typos in log messagesPaul Cristian Sarbu
2024-12-04Rehash root lookup, if building in compatible modeKlaus Aehlig
To avoid unnecessary staging and git imports of computed roots for build in compatible mode, use the rehashing functionality to allow us to compute the git tree of that root in memory.
2024-11-28computed roots: properly report failure to materialize rootsKlaus Aehlig
2024-11-27computed roots: enforce export targets of content-fixed reposKlaus Aehlig
... and look up values in cache, if possible.
2024-11-22AnalyseAndBuild: also write target-level cache entriesKlaus Aehlig
While there, also clean up the analysis result as soon as it is no longer needed.
2024-11-22Computed roots: use separate statistics for each root evaluationKlaus Aehlig
... instead of mixing up the counting with the global action count, that then would exceed the top-level discovered actions.
2024-11-21Computed-roots evaluation: improve reportingKlaus Aehlig
For subcomputations add the log to CAS and only report the blob identifier. Also, indicate at the beginning, that computed roots are to be computed. While there, simplify code by using the ToString() method of computed roots.
2024-11-21Materialize computed roots before top-level analysisKlaus Aehlig
Add a basic implementation of computed roots. So far we neither enforce nor make good use of the fact that the underlying target of a computed root has to be an export target of a content-fixed repository; instead, we always install the root to a temporary directory and pick it up from there. Still, the basic functionality is there, and it is minimally useful.