Skip to content

Harden the SDK and add power-user inspection features - #58

Merged
Shakibuzzaman3104 merged 2 commits into
mainfrom
improve/overhaul
Nov 9, 2026
Merged

Shakibuzzaman3104 merged 2 commits into
mainfrom
improve/overhaul

Conversation

@Shakibuzzaman3104

Copy link
Copy Markdown
Collaborator

What

Stability, performance and correctness work across the SDK, inspector and dashboard, plus a set of power-user inspection features.

Stability

  • Host-crash and OOM hardening, safer destructive actions, build-variant safety checks.
  • Durable history across runs and server restart rebinding.
  • Stream race fix: subscribe before server.welcome.

UI/UX

  • Inspector performance, liveness and state fixes.
  • Dashboard correctness, empty states, deep links, plurals and phone layout.

Features

  • Mocks: sequence, map-remote and throttle actions, predicates, rule import/export, Ktor-client mocks.
  • Network: body search, endpoint latency stats, JWT/form/GraphQL decoders, resend/edit-resend, HAR import viewer (local only, never uploads).
  • Capture control: pause/resume and purge in the inspector and dashboard.
  • Sockets: send WebSocket frames and MQTT publishes (topic/QoS/retained).
  • Remote Config: durable per-key overrides with provider fallback, in-app and dashboard editors. The audit records value length only, never the value.
  • Logs: Timber / DevConsoleLog bridge (new logs-timber module).
  • Crash fingerprint grouping.

Verification

Not yet run for this PR; the Verify workflow is the first check on it.

  • ./gradlew testDebugUnitTest — passing
  • ./gradlew ktlintCheck detekt — clean (or new detekt findings are justified, not baselined away)
  • ./gradlew apiCheck — clean, or apiDump is included in this diff because the public API changed
  • If this touches a debug/release or protected-variant boundary: sample assemble/verify commands run for the affected sample(s)

Checklist

  • Capture-path code (network/socket/push) never throws into the host app
  • No new sensitive data is captured, logged, or exported without going through RedactionEngine first
  • Docs updated if behavior, an API, or a config field changed
  • This PR is scoped to one logical change (it is not: 231 files in a single commit)

Anything reviewers should look at closely

The new outbound actions (resend/edit-resend, WebSocket and MQTT send) and the durable Remote Config overrides, since they add ways to change app behaviour from the inspector.

shakibuzzaman and others added 2 commits November 4, 2026 09:30
Stability: host-crash and OOM hardening, safer destructive actions, build-variant
safety checks, durable history across runs, server restart rebinding and a stream
race fix (subscribe before server.welcome).

UI/UX: inspector perf, liveness and state fixes; dashboard correctness, empty
states, deep links, plurals and phone layout.

Features:
- Mocks: sequence, map-remote and throttle actions, predicates, rule import/export,
  Ktor-client mocks.
- Network: body search, endpoint latency stats, JWT/form/GraphQL decoders,
  resend/edit-resend, HAR import viewer (local only, never uploads).
- Capture control: pause/resume and purge in the inspector and dashboard.
- Sockets: send WebSocket frames and MQTT publishes (topic/QoS/retained).
- Remote Config: durable per-key overrides with provider fallback, in-app and
  dashboard editors; audit records value length only, never the value.
- Logs: Timber / DevConsoleLog bridge (new logs-timber module).
- Crash fingerprint grouping.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DDXGgZyopa182KG5tsBz3T
Bring in the location ping tracker from #56 alongside this branch's capture
controls, retained run tools and dashboard hardening.

- Keep both sides of the facade, dashboard, inspector and API additions
- Read the location ping toggle body through receiveTextWithin
- Carry locationPingStreams through withSnapshot
- Move withSnapshot out of InspectorViewModel to stay under the class size limit
- Regenerate the binary compatibility snapshots
@Shakibuzzaman3104
Shakibuzzaman3104 merged commit ababe10 into main Nov 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant