From 003d036e3118e38c2ada56c24b73b124f67024e1 Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Wed, 16 Sep 2026 11:52:09 -0600 Subject: [PATCH] docs: restore the loop-tracker exemption comment Completes the loop-tracker exemption change (8be9c8e) riding this branch: the explanatory comment above LOOP_TRACKER_EXEMPT_TOOLS was dropped in that commit; restore it, updated for the new entries. --- src/function/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/function/mod.rs b/src/function/mod.rs index 638ec33..0c7d75d 100644 --- a/src/function/mod.rs +++ b/src/function/mod.rs @@ -2518,6 +2518,9 @@ fn polyfill_cmd_name>(cmd_name: &str, bin_dir: &[T]) -> String { cmd_name } +// Polling tools are expected to repeat with identical arguments (status probes, +// list views, inbox checks); recording them would also let them break up +// detection of a real loop in the calls they interleave with. const LOOP_TRACKER_EXEMPT_TOOLS: [&str; 6] = [ "job__check", "job__list",