summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md2
-rwxr-xr-xdoc/invocations-http-server/server.py2
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")