[2026-10-19] eagle: work/projects/cpm-pr0-episode-telemetry-summary-2026-10-16.md
This commit is contained in:
1 parent
b7898925d6
commit
21738deacf
1 file changed
+3
-3
@@ -51,7 +51,7 @@ Both platforms use `daily+count` (`.dailyAndCount`). The first completed episode
|
||||
|
||||
Ported and adapted from `alex/cpm-messaging-readiness-telemetry`:
|
||||
|
||||
- `bg_ready_after` — whether background loading is pending, failed or complete. Values: `none` (no background view), `pending`, `failed`, or completion-time buckets `under_1s`, `1s_to_4s`, `4s_to_10s`, `10s_to_30s`, `over_30s`. Separates a background still starting from one already ready.
|
||||
- `bg_ready_after` — background-load evidence at the first failure. Values: `none` (no current view and no attributed error 6 for the latest attempt), `pending`, `failed`, or completion-time buckets `under_1s`, `1s_to_4s`, `4s_to_10s`, `10s_to_30s`, `over_30s`. An attributed error 6 keeps the value `failed` after its view disappears; a replacement view/context resets that attribution.
|
||||
|
||||
- `bg_view_age` — age of the current background view: `under_4s`, `4s_to_8s`, `8s_to_30s`, `30s_to_2m`, `over_2m`. Distinguishes a fresh wake from a failure long after view creation; omitted when no current view exists.
|
||||
|
||||
@@ -61,7 +61,7 @@ Ported and adapted from `alex/cpm-messaging-readiness-telemetry`:
|
||||
|
||||
These values are captured in the first-failure snapshot and sent in the same terminal episode report, retaining `daily+count`. Unavailable values are omitted. The two error fields describe only the first newly observed error 6 for the corresponding background-load attempt. Repeated error-list notifications preserve its original time and app state; a replacement view/context clears that attribution. Errors seen before any view was created do not qualify.
|
||||
|
||||
Readiness observation shares the existing `cpmBackgroundDelegateProxy` switch. It calls the public `loadBackgroundContent` API on the next main-queue turn after a new view is created. Disabling observation invalidates pending callbacks; reenabling on an existing view leaves readiness unknown until the next view creation. Error 6 also marks the observed load failed if WebKit never completes its load callback. Later readiness changes and errors do not replace the episode's first-failure snapshot.
|
||||
Readiness observation shares the existing `cpmBackgroundDelegateProxy` switch. It calls the public `loadBackgroundContent` API on the next main-queue turn after a new view is created. Disabling observation invalidates pending callbacks; reenabling on an existing view leaves readiness unknown until the next view creation. Error 6 also marks the observed load failed if WebKit never completes its load callback. Later readiness changes and errors do not replace the episode's first-failure snapshot. `pending` means the load was still pending at that snapshot; it may complete or fail later. For example, a snapshot taken 4 seconds after view creation stays `pending` even if error 6 arrives at 30 seconds; that later error is not included when the episode is reported.
|
||||
|
||||
The added fields' combined distinguishability with the retained `bg_events` still needs checking.
|
||||
|
||||
@@ -117,5 +117,5 @@ Standard metadata remains: `appVersion` on both platforms, plus `pixelSource` an
|
||||
|
||||
**Parameters removed from transmission:**
|
||||
|
||||
`context_errors`, `network_restarted`, `critical_memory_age`, `bg_view_creations`, `bg_view_leaked_count`, `app_version_change`, `app_launch_age`, `background_graveyard_enabled` and `recovery_from`. Episode state and response attribution replace `recovery_from`. Graveyard attribution is also removed from the diagnostic model and monitor.
|
||||
`context_errors`, `network_restarted`, `critical_memory_age`, `bg_view_creations`, `bg_view_leaked_count`, `app_version_change`, `app_launch_age`, `background_graveyard_enabled` and `recovery_from`. Episode state and response attribution replace `recovery_from`. Graveyard attribution is also removed from the diagnostic model and monitor, including the unused attribution state and methods. The graveyard mitigation itself is unchanged. The retired parameter encoder is removed so only the episode report builds the transmitted payload. App tests added for the dropped open/loading-tab measurements are removed with their project entries.
|
||||
|
||||
Reference in new issue
Block a user