[docs] TauriPlatforms: Gates on the merged tree, where IndexedDB lives on Android, handover
This commit is contained in:
@@ -29,7 +29,22 @@ without visible fetches. Nothing was installed system-wide. On the tablet: only
|
||||
|
||||
Filled from the run on the branch head:
|
||||
|
||||
GATES
|
||||
Run on the branch after `main` (the sunrise, Coyhaique) was merged into it, 2026-11-17:
|
||||
|
||||
| Gate | Result |
|
||||
|:--|:--|
|
||||
| `pnpm lint`, `pnpm typecheck` | 0 problems (svelte-check 0 errors) |
|
||||
| `pnpm lint:copy` | 21 files, 0 problems |
|
||||
| `pnpm validate:library` | 0 entries; 78 candidates; 13 of 13 fixtures rejected |
|
||||
| `pnpm test` (guard 74 % → started; `turbo run test --continue`) | **529 passed**: cpu-guard 13, identity 5, schema 19, content 88, storage 65, art-prep 61, **tauri 40**, engine 174, ui 64 |
|
||||
| `pnpm test:e2e` (guard 59 %) | 22 passed |
|
||||
| `pnpm test:offline` (guard 73 %) | 1 passed |
|
||||
| `pnpm tauri:build` (merged tree) | built; NSIS 1.31 MiB; the desktop check **passed** again |
|
||||
| `pnpm tauri:android` (merged tree) | built and `aapt2`-verified. **Not re-run on the tablet:** at that moment `adb` hung on the WAVE 10C (another session had it over Wi-Fi adb, an emulator attached too), and this session left it alone. The on-device passes (3 of 5 runs, below) are of the build before the merge, whose shell and privacy were identical; the merge changed the game (the sunrise), not the shell. |
|
||||
|
||||
The first gate run, before the merge, failed one content test (`America/Coyhaique`, a zone the
|
||||
upgraded Node knows); `main` had fixed it meanwhile (`fix/coyhaique`), which is why `main` was
|
||||
merged into the branch before the final run.
|
||||
|
||||
**The app changed** (CLAUDE.md §5.4) only for the shell: the PWA's `App.svelte` now reads one
|
||||
constant that is `'web'` in its build, so the PWA behaves as before. Rebuilt by the e2e and offline
|
||||
@@ -70,8 +85,8 @@ Seen only through the check's report (`persist()` is asked; on iOS, the install
|
||||
| 3 | Test honesty | The first APK check read a meta-data value from a 300-character window after its name, which could read the next element's value and pass a wrong switch. | Fixed: it reads the value attribute on the line after the name; a test flips one switch on real `aapt2` output and expects its name; drilled. |
|
||||
| 4 | Test honesty | The first APK check let **any** `…DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION` through, another app's included. | Fixed: only `<this package>.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION`; drilled. |
|
||||
| 5 | Correctness | The first shell-build test asserted the string `"tauri"` in the bundle; the minifier folds `__ROSEA_SHELL__ === 'tauri'` away, so the assertion tested the minifier. | Removed; what the test keeps is that the constant never reaches the webview (it would throw). |
|
||||
| 6 | Correctness | The tablet's USB link dropped three times in an hour (`device offline`, transport ids 1→5), once mid-check. | The check waits for the device and retries a dropped `adb` command, and finds the device again for each visit. A failure for any other reason still fails at once. |
|
||||
| 7 | Test honesty | One tablet run timed out clicking *Her numbers* while the garden animated (Playwright never saw the button stable). | The check activates it by keyboard (focus, Enter). Then two runs in a row passed. Recorded, not hidden: 1 of 5 tablet runs failed this way, 1 on the USB drop. |
|
||||
| 6 | Correctness | The tablet's USB link dropped at least twice in an hour (`device offline`, transport ids 1 → 4 → 5), once mid-check. | The check waits for the device and retries a dropped `adb` command, and finds the device again for each visit. A failure for any other reason still fails at once. |
|
||||
| 7 | Test honesty | One tablet run timed out clicking *Her numbers* while the garden animated (Playwright never saw the button stable). | The check activates it by keyboard (focus, Enter); the run after the fix passed. Recorded, not hidden: of 5 tablet runs, 3 passed, 1 failed this way, 1 on the USB drop. |
|
||||
| 8 | Privacy | WebView2's environment variables (used by the desktop check to open a debugging port and a temporary data folder) **replace** the app's `additionalBrowserArgs` for that run. | Said in the check's header: the desktop check proves the garden, not WebView2's silence (G-T6). |
|
||||
| 9 | Correctness | Tauri creates `%LOCALAPPDATA%\cz.mareknovak.domi.rosea\` at start even when WebView2's data is elsewhere. | The check's run left that folder empty; it was removed after each run. The player's real data lives there (`EBWebView\`), as §4 says. |
|
||||
| 10 | Privacy | The Windows installer's default WebView2 mode downloads the WebView2 bootstrapper from Microsoft if WebView2 is missing. | Noted in the analysis (§3); Windows 10 and 11 ship WebView2. Not changed. |
|
||||
@@ -105,6 +120,7 @@ a word, a count, a badge or a reminder. The apps do not notify. The window has n
|
||||
| Plugins, IPC | none; no capabilities | none; no capabilities |
|
||||
| Installer | n/a | may fetch the WebView2 bootstrapper (finding 10) |
|
||||
| Crash reporting, analytics | none in `Cargo.toml` (test) or the game | same |
|
||||
| What the webview keeps on the device | `app_webview/` holds the IndexedDB, an **empty** Local Storage database Chromium creates (0-byte log: Rosea writes none), and `AwOriginVisitLoggerPrefs.xml`: hashed visit counters for WebView metrics, which are opted out and cannot leave without `INTERNET`; no backup takes them | `EBWebView\` beside the app; not inspected |
|
||||
|
||||
## Reachability
|
||||
|
||||
|
||||
Reference in New Issue
Block a user