-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make every RecordingId typed and preclude the existence of 'Defaults' #2110
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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