fix(app): harden view audit completion#10651
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
|
Independent validation for #10651 on head
I did not rerun the full committed |
|
Focused review/validation from my local pass on current head bun run --cwd packages/ui test -- src/components/pages/LogsView.test.tsx src/hooks/useLayoutShiftMonitor.test.ts src/retained-lazy.test.tsx src/retained-lazy.churn.test.ts
bunx @biomejs/biome check packages/app/scripts/audit-views-soak.mjs packages/ui/src/App.tsx packages/ui/src/components/apps/AppWindowRenderer.helpers.ts packages/ui/src/components/character/CharacterHubView.tsx packages/ui/src/components/pages/DocumentsView.tsx packages/ui/src/components/pages/LogsView.tsx packages/ui/src/components/pages/LogsView.test.tsx packages/ui/src/components/pages/SettingsView.tsx packages/ui/src/components/views/ViewTelemetryProfiler.tsx packages/ui/src/hooks/useLayoutShiftMonitor.ts packages/ui/src/hooks/useLayoutShiftMonitor.test.ts packages/ui/src/retained-lazy.tsx packages/ui/src/retained-lazy.test.tsx packages/ui/src/retained-lazy.churn.test.ts
bun run --cwd packages/ui typecheck
bun run --cwd packages/app typecheckResults: focused UI tests passed (4 files, 13 tests); Biome pass; Evidence caveat before using this as final #10196 closeout proof: |
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
|
Pushed What changed:
Validation:
I did not rerun the full visual/audit capture after this patch; this is script hardening plus classification of the already committed raw network log. |
|
Independent latest-head validation for #10651 on This reruns validation after the follow-up that classifies network noise in the view audit evidence. I used a fresh worktree; after Latest-head checks green:
Worktree is clean. GitHub checks remain queued/UNSTABLE; I do not see a local blocker in this pass. |
Refs #10196. Follow-up to #10603, which closed the Android WebView full-telemetry gap for this issue.
Summary
audit:viewsso the soak now records raw view runtime/render/module-cache telemetry, per-view scorecards, heap samples, frontend/network logs, screenshots, and a Playwright video, then fails on missing paths, first-run blocks, render-guard errors, missing cleanup/evictions, page errors, or unbounded heap.cacheKeytelemetry attribution so evictions/releases can be tied back to registered views and overlay apps./character/documentsrender/fetch churn, logs hydration/layout-shift attribution, and Settings title/back-button overlap.Evidence
All artifacts are committed under
.github/issue-evidence/10196-views-state/.audit:viewsreal app soak: passed 22/22 registered view paths, 44 activations, 33 runtime show events, 32 release evictions, max render count 1, 0 render-guard errors, 0 page errors, heap bounded at ~1.01x.audit:viewsraw artifacts:audit-views-runtime-telemetry.json,audit-views-render-telemetry.json,audit-views-module-cache-telemetry.json,audit-views-heap-series.json,audit-views-navigation.json,audit-views-frontend-log.json,audit-views-network-log.json,audit-views-scorecard.md/json.audit-views-soak.webm,soak-final.png, representativeview-*.png,audit-views-logs-loaded.png,audit-views-settings.png.bun run --cwd packages/app audit:apppassed 349/349. Touched/reachable views manually reviewed asgood; report/contact sheet committed asaudit-app-report.json,audit-app-manual-review.md,audit-app-reviewed-contact-sheet.png.Validation
bun install --frozen-lockfilepassed with no lockfile changes.node --check packages/app/scripts/audit-views-soak.mjspassed.bunx @biomejs/biome@2.5.1 checkon touched source/test files passed.bun run --cwd packages/ui typecheckpassed.bun run --cwd packages/app audit:apppassed: 349/349.bun run verifypassed on rebaseddevelopat 2026-07-01T03:24:41Z: 474/474 Turbo tasks plus post-audits and dist-path consumer checks.