summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-05-28Invocation server: also show the build timeKlaus Aehlig
Also show only the build time in the invocations overview, as only for the build phase detailled timing information will be available in the log of a particular information.
2025-05-28GitRepo: Methods expected to use a logger should do so...Paul Cristian Sarbu
...in all return paths, including in reporting caught exceptions. In this way give the opportunity for any calling AsyncMap to receive an expected fatal logger call on failure and thus be able to shut down gracefully. This is in line with the AsyncMap design, where the loggers are assumed to be safe to call by a consumer.
2025-05-28rules documentation: Fix typosPaul Cristian Sarbu
2025-05-26Update cli11 to 2.5.0Klaus Aehlig
2025-05-26profile: include time of build startKlaus Aehlig
When using a serve end point, the analysis phase might take quite long if serve has to actually build a delegated target or, at least, has to synchronize artifacts with the remote end point. Therefore, also record the time the build phase started (if building is requested) as an additional time stamp in the profile.
2025-05-23tutorial: Update example outputs in all chaptersPaul Cristian Sarbu
...to match the ones produces by latest binaries and rules.
2025-05-23tutorial computed: Fix source of non-reproducibility in example scriptPaul Cristian Sarbu
While there, update outputs to what is expected with current released binaries and rules. Co-authored-by: Klaus Aehlig <klaus.aehlig@huawei.com>
2025-05-23tutorial: Add DWP and ADD_DEBUGFLAGSPaul Cristian Sarbu
...to example export targets and defaults.
2025-05-23tutorial debugging: Use ADD_COMPILE_FLAGSPaul Cristian Sarbu
...instead of replacing CFLAGS and CXXFLAGS, thus also fixing a mismatch introduced in c008c07656fff528c80add260397c7c7702aa2a8.
2025-05-23Extend tutorial on cross compiling showing how to use ["test", "matrix"]Klaus Aehlig
2025-05-22invocation server: add presentation of invocation wall-clock timeSascha Roloff
2025-05-22profile: add start/stop timeSascha Roloff
2025-05-22just-mr: Fix wrong setup root being picked upPaul Cristian Sarbu
This fixes a bug in which the setup root was falsely being changed by unconditionally searching early for a default configuration files, despite one being explicitly provided at the command line.
2025-05-21shell-test runner: explicitly set HOMEKlaus Aehlig
... to a value that is a non-existent directory. Too many tools try search for rc-files in the user's home directory. To make things worth, the shell as well as many tools take an unset HOME variable as instruction to look up the the user's home directory in the system configuration. While it is good practise to write tests in such a way that they explcitly do not depend on such machine-specific defaults, still be on the safe side by explictly setting HOME to a directory in the action directory we know our rules will no create. Co-authored-by: Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> Co-authored-by: Sascha Roloff <sascha.roloff@huawei.com>
2025-05-21tree_strcuture test: provide launcher also for just-mrKlaus Aehlig
While there, remove tray cat whitesapce and redetermine the working directory instead of relying on the environment.
2025-05-21invocation server: fix download linksKlaus Aehlig
... to include only the basename of the requested artifact.
2025-05-20invocation server: add critical-path computationSascha Roloff
2025-05-20invocation server: move show_action macro into separate template fileSascha Roloff
... to allow reuse.
2025-05-20invocation server: move action_data function out of do_get_invocation methodSascha Roloff
... to allow reuse.
2025-05-20invocation server: fix typoSascha Roloff
2025-05-20Add end-to-end test that serve can handle canceled requestsKlaus Aehlig
This test actually tests the serve process brought in by the ["end-to-end", "with serve"] rule. It starts several requests to serve and, while serve is still building those, stops the clients. The serve service should handle those aborted requests gracefully and afterwards still be ready to take on a new requests.
2025-05-20end-to-end tests with serve: also keep serve build rootKlaus Aehlig
... if serve is used and remote-execution is a separate service.
2025-05-20end-to-end tests: use ["test", "matrix"]Klaus Aehlig
... instead of manually configuring and staging the various test branches.
2025-05-20serve service: log every incoming request at debug levelKlaus Aehlig
... so that at this level, the full activity of the serve service can be monitored.
2025-05-19Update CHANGELOGKlaus Aehlig
2025-05-19Update fmt to 11.2.0Klaus Aehlig
2025-05-16profile test: also verify --dump-plain-graph is handled correctlyKlaus Aehlig
2025-05-16rc parsing: fix graph/plain graph confusionKlaus Aehlig
2025-05-16man pages: add missing artifact type in the intro paragraphSascha Roloff
2025-05-16Update grpc to 1.70.2Klaus Aehlig
... as this contains a bug fix with respect to the currently-used version 1.70.1, see release notes https://github.com/grpc/grpc/releases/tag/v1.70.2
2025-05-15extend basic profiling testKlaus Aehlig
Verify more keys in the profile file and also verify basic properties of the other invocation-specific files that can be requested.
2025-05-15just-mr: support invocation-specific artifacts-to-build loggingKlaus Aehlig
It is already supported to ask just-mr (via the rc file) to log for each invocation the artifacts that were built. Add a similar option for the artifacts that were to be built, i.e., for dumping the intensional description of the output artifacts. That information can be used, e.g., to compute the critical path.
2025-05-15Make --dump-artifacts-to-build act cummulativelyKlaus Aehlig
2025-05-15invocation server: fix isintance statementKlaus Aehlig
2025-05-15Invocation server: add target filterSascha Roloff
2025-05-15Invocation server: add remote-execution address filterSascha Roloff
2025-05-15Invocation server: lexicographically sort filter keysSascha Roloff
2025-05-15Invocation server: print nothing for empty remote-execution propertiesSascha Roloff
2025-05-15Invocation server: print only non-empty dispatch listsSascha Roloff
2025-05-15Invocation server: add missing HTML-escape filters in templatesSascha Roloff
2025-05-15Invocation server: uncollapse first failed actionSascha Roloff
2025-05-15tutorial invocation logging: include --dump-artifactsKlaus Aehlig
A typical invocation logging would also include a value for "--dump-artifacts". Mention this in the tutorial.
2025-05-14tutorial, test: recommend ["test", "suite"] for combining testsKlaus Aehlig
... as this also works together with, e.g., linting. While there, also rerun the examples to get the latest output messages.
2025-05-14Invocation server: make command-line collapsibleSascha Roloff
2025-05-13Invocation server: load more invocations with reduced informationSascha Roloff
2025-05-13Invocation server: adapt styleSascha Roloff
2025-05-13Invocation server: lexicographically sort filter valuesSascha Roloff
2025-05-13Invocation server: include commandline when describing actionsKlaus Aehlig
2025-05-13Invocation server: show actions with console output separatelyKlaus Aehlig
Normally, actions are supposed to work silently, i.e., without writing to stdout/stderr. So, if an action produces console output, it is definitely worth looking at, even for cached actions. Therefore, add a section after the failed actions showing those actions (if not in the previous action). Also, always show duration (if known) and if an action is cached (which can happen for the ones producing console output).
2025-05-13Top-level test target: support test matrixKlaus Aehlig
By supporting test matrix top-level of our test, which affects both the ALL and the UNIT_TESTS target, it is easy to run all tests for different tool chains, flags, or CC_TEST_LAUNCHER values.