docs: count the home actions, and state the lazy-fetch constraint without its history

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) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012fRjnaHLwjpHN84gNNxah9
This commit is contained in:
Guilhem Lemouel
2026-09-07 11:34:56 +02:00
co-authored by Claude Opus 5
parent bb2c5fd465
commit 6288362957
2 changed files with 6 additions and 7 deletions
+3 -3
View File
@@ -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
@@ -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.
</script>
<div