-
Notifications
You must be signed in to change notification settings - Fork 369
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
Defaulting the RecordingId to authkey()
should be opt-in
#3793
Comments
I put this on the 0.9.1 milestone but it's ok to move if it's too hard to get in in time. |
This works: fn main() -> Result<(), Box<dyn std::error::Error>> {
let rec =
rerun::RecordingStreamBuilder::new("test").connect(rerun::default_server_addr(), None)?;
let rec =
rerun::RecordingStreamBuilder::new("test").connect(rerun::default_server_addr(), None)?;
Ok(())
} This works: int main() {
{
auto rec = rr::RecordingStream("test");
rec.connect("127.0.0.1:9876").throw_on_failure();
}
{
auto rec = rr::RecordingStream("test");
rec.connect("127.0.0.1:9876").throw_on_failure();
}
} This doesn't work: rr.init("test")
rr.connect()
rr.init("test")
rr.connect() This doesn't work: rr.init("test", spawn=True)
rr.init("test", spawn=True) This doesn't work: rr.new_recording(application_id="test", make_default=True, spawn=True)
rr.new_recording(application_id="test", make_default=True, spawn=True) This doesn't work: rec = rr.new_recording(application_id="test", make_default=True)
rec.connect()
rec = rr.new_recording(application_id="test", make_default=True)
rec.connect() This works: rec = rr.new_recording(application_id="test1", make_default=True, spawn=True)
rec = rr.new_recording(application_id="test2", make_default=True, spawn=True) And most importantly, this works: rec = rr.new_recording(application_id="test", recording_id="a", make_default=True, spawn=True)
rec = rr.new_recording(application_id="test", recording_id="b", make_default=True, spawn=True) |
This actually behaves as expected, it's just surprising that the recording ID defaults to the process' authkey: this should be opt-in. Decision:
|
authkey()
should be opt-in
I suggest we do this at the same time as we refactor |
UPDATE:
authkey()
should be opt-in #3793 (comment)Describe the bug
When I create two recordings with the same application id using the python SDK, only a single recording is shown in the viewer.
To Reproduce
Expected behavior
The viewer should show two recordings with the application id "test"
Screenshots
It only shows a single recording
Rerun version
0.9
The text was updated successfully, but these errors were encountered: