Make every RecordingId typed and preclude the existence of 'Defaults'#2110
Make every RecordingId typed and preclude the existence of 'Defaults'#2110
Conversation
teh-cmc
left a comment
There was a problem hiding this comment.
Looks fantastic! My only gripe is the fact that the transport implementation has a say in when and what kind of app messages get sent (a problem that predates this PR), which now results in a bunch of awkward piping of the RecordingId.
I think we can fix both problems with very little effort by putting RecordingStream in charge of the Goodbye message?
See inline comments.
|
Fixing the broken test :slow_beach_ball: |
46761b9 to
35782c5
Compare
|
This now sends a While I like it better than what we had before, I'm certainly not satisfied with this... in the future I wonder if we shouldn't have a mirrored relationship between |
jleibs
left a comment
There was a problem hiding this comment.
Nice cleanup; sending from the Stream is a much better solution. Thanks!
What
After talking over the confusing edge cases with @teh-cmc around "where/how do we end up with unknown recording types and unknown recording-ids" I decided to go ahead and force everything to be explicit. This simplifies a number of edge-cases related to blueprint-recordings.
Overall, this makes some things a bit more verbose, but generally seems to improve the clarity by reducing the number of places we end up doing work with unexpected ephemeral log-dbs for an unknown recording of an unknown type.
Checklist
PR Build Summary: https://build.rerun.io/pr/2110