From 49fe646298a92364ea199bb7fca50f86dd112ed2 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Thu, 6 Jun 2024 17:04:41 +0200 Subject: Update documentation about tc writing in the presence of serve --- doc/concepts/service-target-cache.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/concepts/service-target-cache.md') diff --git a/doc/concepts/service-target-cache.md b/doc/concepts/service-target-cache.md index 19db3ef8..8821cfad 100644 --- a/doc/concepts/service-target-cache.md +++ b/doc/concepts/service-target-cache.md @@ -379,3 +379,13 @@ This includes In this way, `just-mr` can be used to fill the CAS from one central point with all the information the clients need to treat all content-fixed roots as absent. + +### Target-level cache writing in the presence of some targets served + +When building, `just` normally does not create an entry for +target-level cache hit received from `just serve`. However, it +might happen that `just` has to analyse an eligible `export` +target locally, as the `just serve` instance cannot provide it, and +during that analysis `export` targets provided by `just serve` are +encountered. In this case, the writing of the export targets depending +on served targets is skipped. -- cgit v1.2.3