Skip to content

re_protos: use async registration by default (protos) #9537

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

Merged
merged 1 commit into from
Apr 14, 2025

Conversation

andrea-reale
Copy link
Contributor

@andrea-reale andrea-reale commented Apr 8, 2025

Related

What

Make async dataset and partition registrations the default registration method for redap. Keep supporting synchronous registration via the ManifestRegistry direct endpoint only.

  • This is a breaking change of the redap API

@andrea-reale andrea-reale added exclude from changelog PRs with this won't show up in CHANGELOG.md dataplatform Rerun Data Platform integration labels Apr 8, 2025
Copy link

github-actions bot commented Apr 8, 2025

Web viewer built successfully. If applicable, you should also test it:

  • I have tested the web viewer
Result Commit Link Manifest
3efc862 https://rerun.io/viewer/pr/9537 +nightly +main

Note: This comment is updated whenever you push a commit.

@andrea-reale andrea-reale added the do-not-merge Do not merge this PR label Apr 8, 2025
@andrea-reale andrea-reale marked this pull request as ready for review April 8, 2025 08:37
@teh-cmc teh-cmc self-requested a review April 9, 2025 10:37
@teh-cmc
Copy link
Member

teh-cmc commented Apr 10, 2025

Update: demo team says we can merge things at will

@andrea-reale andrea-reale force-pushed the andrea/frontend_register_async branch 2 times, most recently from adaa3ea to 50d3153 Compare April 11, 2025 13:07
@andrea-reale andrea-reale force-pushed the andrea/frontend_register_async branch from 50d3153 to 3efc862 Compare April 11, 2025 13:09
@andrea-reale andrea-reale removed the do-not-merge Do not merge this PR label Apr 11, 2025
@andrea-reale andrea-reale merged commit cabb35f into main Apr 14, 2025
37 of 39 checks passed
@andrea-reale andrea-reale deleted the andrea/frontend_register_async branch April 14, 2025 07:25
andrea-reale added a commit that referenced this pull request Apr 14, 2025
…`register_with_dataset` (#9590)

### Related

* Related to: rerun-io/dataplatform#527
* Follows:
  * #9537
  * rerun-io/dataplatform#543 

### What
In rerun-io/dataplatform#543, we replaced the
synchronous register_with_dataset endpoint with an
asynchronous equivalent. The python client, however, expects the
endpoint to be synchronous.

This change is a quick-fix to make the python client block for dataset
registration task completion so that current user should not feel the
difference.

We should improve this in the future by exposing the asynchronous nature
of the endpoint directly to the client.

Signed-off-by: Andrea Reale <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dataplatform Rerun Data Platform integration exclude from changelog PRs with this won't show up in CHANGELOG.md
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants