Skip to content

Comments

Fix broken delete_entries and entries table not updated#11872

Merged
abey79 merged 1 commit intomainfrom
antoine/fix-entries-table
Nov 12, 2025
Merged

Fix broken delete_entries and entries table not updated#11872
abey79 merged 1 commit intomainfrom
antoine/fix-entries-table

Conversation

@abey79
Copy link
Member

@abey79 abey79 commented Nov 12, 2025

What

I noticed that the entries table wasn't updated when dataset are created and deleted. This PR fixes this.

One thing leading to another, I also discovered that delete_entry was utterly broken:

  • it would unconditionally attempt to delete a dataset (would fail to delete a table)
  • it would not cleanup associated blueprint dataset

Both fixed too.

Note: new test checked to be passing with dataplatform main.

@github-actions
Copy link

github-actions bot commented Nov 12, 2025

Web viewer built successfully.

Result Commit Link Manifest
0e5735f https://rerun.io/viewer/pr/11872 +nightly +main

View image diff on kitdiff.

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

@abey79 abey79 added 🪳 bug Something isn't working include in changelog OSS-server consider-patch PRs & issues that should be considered to be cherry-picked to a patch release branch. labels Nov 12, 2025
Copy link
Member

@IsseW IsseW left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't see any obvious issues, so approved!

self.update_entries_table()
}

pub fn create_dataset(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like these probably should have doc comments? But not required here as this is mostly a moved function

@abey79 abey79 merged commit e915426 into main Nov 12, 2025
80 of 82 checks passed
@abey79 abey79 deleted the antoine/fix-entries-table branch November 12, 2025 15:00
@IsseW IsseW removed the consider-patch PRs & issues that should be considered to be cherry-picked to a patch release branch. label Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants