Repository navigation
feat: v1.11.0 inspector hardening and console upgrades - #105
Merged
Merged
Conversation
- Phased FPS timing (build/raster split) with adaptive jank threshold - PlatformDispatcher.onError capture alongside FlutterError.onError - Persisted alerts replay in the Alerts tab after restart - Editable network replay editor (query params only) - Bounded AlertService throttle map; safe Hive/SP sort; binary-safe responses - New public utils: sensitive_data, inspector_version; fps_service promoted
- Skip the plugin's own zero_inspector_kit.db during database scanning - Open scanned user DBs read-only without a version so sqflite stops writing PRAGMA user_version Fixes 'attempt to write a readonly database (code 8 SQLITE_READONLY)' on Android
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary / 摘要
v1.11.0 hardens the in-app inspector with phased FPS timing, adaptive jank detection, platform-level error capture, persisted alerts, and an editable network replay editor.
v1.11.0 强化应用内检查器:分阶段 FPS 耗时、自适应卡顿阈值、平台级错误捕获、告警持久化,以及可编辑的网络重放编辑器。
Changes / 变更
buildDurationUs/rasterDurationUs) with an adaptive jank threshold / 分阶段 FPS 耗时 + 自适应卡顿阈值PlatformDispatcher.onErrorcapture alongsideFlutterError.onError/ 与FlutterError.onError一并捕获PlatformDispatcher.onErrorAlertServicethrottle map, safe Hive/SharedPreferences sort, binary-safe responses /AlertService节流表有界、Hive/SharedPreferences 安全排序、二进制响应容错sensitive_data/inspector_version;fps_servicepromoted to public / 新增公共工具sensitive_data/inspector_version,fps_service提升为公开导出Context / 背景
These changes close the gaps where high-refresh displays were forgiven by a fixed 16ms threshold, platform-boundary errors escaped aggregation, and alerts were lost on restart. The replay editor and binary-safe responses also make network inspection more reliable.
本次改动填补了高刷屏被固定 16ms 阈值放过、平台边界异常未被聚合、告警重启后丢失等缺口;重放编辑器与二进制容错也提升网络检查的可靠性。
Checklist / 检查项
Test plan
flutter analyzeandflutter testpass locally / 本地flutter analyze与flutter test通过🤖 Generated with Zero Buddy