diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-07-01 11:57:58 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-07-01 12:20:16 +0200 |
commit | 420c2991ef5f1c788a1756c2fde5b17bd6e4fa36 (patch) | |
tree | 1cc53967bcfdc802b97a422689fb3011f14264b7 | |
parent | 9ddb30d80d9ee031771f56f2ec218a995c9c4842 (diff) | |
download | justbuild-420c2991ef5f1c788a1756c2fde5b17bd6e4fa36.tar.gz |
While our presentation shows the details of only up to 30
non-cached actions, the count reported in the heading should
still be the total count of all non-cached actions. Fix this.
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rwxr-xr-x | doc/invocations-http-server/server.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d51a7ac..47771d0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ Bug fixes on top of `1.6.0`. - `just-mr` now correctly maintains also the Git cache lock when calling `just` if repository configuration was involved, preventing any unwanted intermediary repository garbage collection. +- The invocation server now correctly reports the total number of + uncached actions. ## Release `1.6.0` (2025-06-27) diff --git a/doc/invocations-http-server/server.py b/doc/invocations-http-server/server.py index f9f57aff..e5175fc1 100755 --- a/doc/invocations-http-server/server.py +++ b/doc/invocations-http-server/server.py @@ -548,6 +548,7 @@ class InvocationServer: candidates.sort(reverse=True) non_cached = [] params["more_noncached"] = None + params["non_cached_count"] = len(candidates) if len(candidates) > 30: params["more_non_cached"] = len(candidates) - 30 candidates = candidates[:30] @@ -556,7 +557,6 @@ class InvocationServer: action["name_prefix"] = "%5.1fs" % (t,) non_cached.append(action) params["non_cached"] = non_cached - params["non_cached_count"] = len(non_cached) start_time = profile.get("start time") build_start_time = profile.get("build start time") build_stop_time = profile.get("build stop time") |