Skip to content

rts: answer a snapshot request made on a connection that is gone - #4062

Draft
marksvc wants to merge 1 commit into
masterfrom
task/conn-null
Draft

rts: answer a snapshot request made on a connection that is gone#4062
marksvc wants to merge 1 commit into
masterfrom
task/conn-null

Conversation

@marksvc

@marksvc marksvc commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

fetchSnapshotByTimestamp called through optional chaining, so when the
handle no longer named a connection the call was skipped entirely and
the
callback was never invoked. The dotnet caller awaits that callback
until it is given up on.

Check for the missing connection and answer with an error, as the
neighbouring fetchSnapshotsByTimestamp already does.


Open in Devin Review


This change is Reviewable

fetchSnapshotByTimestamp called through optional chaining, so when the
handle no longer named a connection the call was skipped entirely and
the
callback was never invoked. The dotnet caller awaits that callback
until it is given up on.

Check for the missing connection and answer with an error, as the
neighbouring fetchSnapshotsByTimestamp already does.
@marksvc
marksvc marked this pull request as draft August 19, 2026 23:34
@codecov

codecov Bot commented Aug 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.10%. Comparing base (dab7cf0) to head (9ef2fff).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4062   +/-   ##
=======================================
  Coverage   81.10%   81.10%           
=======================================
  Files         661      661           
  Lines       43060    43060           
  Branches     7033     7033           
=======================================
  Hits        34925    34925           
  Misses       6977     6977           
  Partials     1158     1158           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@marksvc
marksvc deployed to screenshot_diff August 19, 2026 23:41 — with GitHub Actions Active
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