Skip to content

fix(replay): expose capture resolution diagnostics - #21

Merged
Chinmay-KB merged 2 commits into
mainfrom
fix/replay-capture-diagnostics
Jul 25, 2026
Merged

fix(replay): expose capture resolution diagnostics#21
Chinmay-KB merged 2 commits into
mainfrom
fix/replay-capture-diagnostics

Conversation

@Chinmay-KB

@Chinmay-KB Chinmay-KB commented Jul 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

Replay captures now explain why visual evidence was fresh, reused, unavailable, cancelled, or superseded without leaking pixels, labels, route names, raw errors, or stack traces. Each logical request receives one terminal diagnostic even when multiple requests share a physical capture, so tap, route, and scroll events can be correlated to the exact capture decision instead of inferred from global failure state.

The outcome vocabulary is closed and versioned, cancellation reasons are bounded, and health polling exposes session-scoped counters with fixed growth limits. Active-readback cancellation is waiter-local: cancelling one coalesced request does not cancel or duplicate the sibling result.

Related: #11

Validation

  • flutter analyze completed with no issues.
  • The complete Tugboat package suite passed: 208 tests.
  • The deterministic diagnostics matrix covers every outcome, queued and active coalescing, per-waiter cancellation, lifecycle/session reasons, privacy fields, and bounded immutable health counts.

This PR is stacked on #20 and is merge-ready relative to that parent.

Fixes #11.

@Chinmay-KB
Chinmay-KB force-pushed the fix/replay-coherent-tap-settlement branch from 4d59b0c to de8206a Compare July 25, 2026 16:46
@Chinmay-KB
Chinmay-KB force-pushed the fix/replay-capture-diagnostics branch from 30cc20e to 2d30018 Compare July 25, 2026 16:46
@Chinmay-KB
Chinmay-KB changed the base branch from fix/replay-coherent-tap-settlement to main July 25, 2026 19:19
@Chinmay-KB
Chinmay-KB merged commit c1203cb into main Jul 25, 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.

[Replay] Expose classified capture freshness and reuse diagnostics

1 participant