From 1068e8893d1eaec3446320283feefdab943b8c00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Arrufat?= Date: Sat, 26 Sep 2026 22:17:07 +0200 Subject: [PATCH] runner: use activity.total() after the merge with main d77c6fb1c dropped the total_network_activity local. --- src/browser/Runner.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/Runner.zig b/src/browser/Runner.zig index 429cec0a0..143f04adc 100644 --- a/src/browser/Runner.zig +++ b/src/browser/Runner.zig @@ -246,7 +246,7 @@ fn _tick(self: *Runner, comptime is_cdp: bool, timeout_ms: u32, conditions: []Wa const now = lp.datetime.milliTimestamp(.boot); const network_idle_held = holdsFor(&self.network_idle_since, network_idle, now); - const network_almost_idle_held = holdsFor(&self.network_almost_idle_since, total_network_activity <= 2, now); + const network_almost_idle_held = holdsFor(&self.network_almost_idle_since, activity.total() <= 2, now); // Outside the condition loop: it skips resolved conditions, but an idle // notification needs a check 500ms+ after the hold starts, and on a quiet