From 6288362957fa459455b77b291472c4e1e1743f0a Mon Sep 17 00:00:00 2001 From: Guilhem Lemouel Date: Mon, 7 Sep 2026 11:34:56 +0200 Subject: [PATCH] docs: count the home actions, and state the lazy-fetch constraint without its history MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The telemetry doc's tally is maintained by hand and main had just moved it; this PR adds a feature, so it reads 48 across eighteen with `home` in the list — verified against the pinned EE ref rather than counted by eye. The empty state's comment narrated a preload that no longer exists and the defects it caused. What a future reader needs is the constraint: `disable_hub` loads asynchronously, so a fetch from here goes out before the setting forbidding it is known. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_012fRjnaHLwjpHN84gNNxah9 --- docs/feature-telemetry.md | 6 +++--- .../src/lib/components/home/WorkspaceEmptyState.svelte | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/feature-telemetry.md b/docs/feature-telemetry.md index f5ce2357ca..9b4340e065 100644 --- a/docs/feature-telemetry.md +++ b/docs/feature-telemetry.md @@ -4,10 +4,10 @@ anonymous usage-stats payload. It answers "does anyone use this, and which variant do they pick" without any identifying data leaving the instance. -It currently carries 42 registered actions across seventeen features (`ai_session`, `ai_chat`, +It currently carries 48 registered actions across eighteen features (`ai_session`, `ai_chat`, `ai_fix`, `ai_agent`, `ai_agent_eval`, `app_sandbox`, `datatable`, `flow_editor`, `flow_run`, -`flow_step`, `run_form`, `debugger`, `trigger`, `command_script`, `hub_script`, `usage_meter`, -`sso_groups_claim`). Nearly all of the +`flow_step`, `home`, `run_form`, `debugger`, `trigger`, `command_script`, `hub_script`, +`usage_meter`, `sso_groups_claim`). Nearly all of the product is uninstrumented, so new user-facing work is the opportunity to change that. ## When to instrument diff --git a/frontend/src/lib/components/home/WorkspaceEmptyState.svelte b/frontend/src/lib/components/home/WorkspaceEmptyState.svelte index 46b5cab6e7..0222ab28a1 100644 --- a/frontend/src/lib/components/home/WorkspaceEmptyState.svelte +++ b/frontend/src/lib/components/home/WorkspaceEmptyState.svelte @@ -30,10 +30,9 @@ logFeatureUsage('home', 'empty_state_view') }) - // The catalogue is fetched when the picker opens, not warmed on render. Warming it - // meant a request nobody had asked for, which had to be gated on `disable_hub` and - // then raced that setting's own load — two problems bought for the time between this - // caption appearing and someone clicking it. The picker shows its list loading instead. + // The catalogue is fetched when the picker opens, never on render: `disable_hub` says an + // instance makes no hub requests at all, and it loads asynchronously, so anything fired + // from here goes out before the setting that forbids it is known.