[2026-11-16] eagle: personal/projects/personal-os/personal-os-fixes-2026-11-13.md personal/projects/personal-os/personal-os-production-acceptance.md work/projects/cpm-wake-init-detection-tech-design-2026-11-10.md

This commit is contained in:
Alexey Martemyanov committed 2026-11-16 15:00:26 +06:00
1 parent d8520d8b38
commit 5a0a76dd21
3 files changed
+15 -3

No files matched your search

@@ -30,7 +30,7 @@ For every tab that the permanent breakage metric reports as silent, record the f
## Recommended Approach
1. After each step the extension sends the app a short notification ([extension PR #3727](https://github.com/duckduckgo/duckduckgo-privacy-extension/pull/3727)). It does not wait for the app's reply.
2. For each tab the app remembers the furthest step reached. A notification that arrives up to 2 seconds before its page commits in the app counts for that page: the notification travels through the extension, the commit is seen by the app directly.
2. For each tab the app remembers the furthest step reached ([app PR #8163](https://github.com/duckduckgo/apple-browsers/pull/8163)). The notification goes to the tabs waiting on its page, like the dashboard responses: two tabs on one page both get it. A notification that arrives up to 2 seconds before its page commits in the app counts for that page: it travels through the extension, while the commit is seen by the app directly.
3. When a tab is reported as silent, `web_extension_cpm_breakage` carries that step as a new parameter, `last_stage`:
| `last_stage` | What the app saw last |
@@ -43,7 +43,8 @@ For every tab that the permanent breakage metric reports as silent, record the f
| `site_checked` | all checks finished, no answer reached the app |
| `response_sent` | the background answered the page's `init`, no dashboard refresh followed |
4. These notifications and the parameter are temporary and are removed when the wake failures are fixed or the investigation is closed.
4. Both sides are behind the `cpmInitProgress` subfeature of `autoconsent` in the remote privacy configuration. The app ignores the notifications while it is off. The extension learns the flag from the settings answer of an init and keeps it in session storage, so it sends no notification until the app enables them; the first init after the flag turns on sends the notifications from `settings_checked` on.
5. These notifications and the parameter are temporary and are removed when the wake failures are fixed or the investigation is closed.
## Testing
@@ -55,5 +56,5 @@ Unit tests in the app and in the extension.
- **Security:** None.
- **Site Breakage:** None.
- **Experimentation:** None.
- **Operational:** None.
- **Operational:** The `cpmInitProgress` subfeature of the `autoconsent` feature in the privacy configuration enables and disables the notifications; they stay off until the configuration lists it as enabled.
- **Localization / Internationalization:** None.