Skip to content

Conversation

@BrianBland
Copy link
Collaborator

Fixes the page orphaning logic to explicitly orphan pages as they are unreferenced, instead of doing so whenever a PointerChange::Delete is encountered.

Adds a test which previously reproduced the double-orphan bug by simultaneously deleting an Account at the root of one page, as well as its parent Branch at the root of another page.

@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Jul 22, 2025

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@BrianBland BrianBland requested review from and-cb and jjtny1 July 22, 2025 22:34
@BrianBland BrianBland force-pushed the brianbland/fix-double-orphan branch from fb6b79d to 9a555e5 Compare July 22, 2025 22:37
Copy link
Contributor

@jjtny1 jjtny1 left a comment

Choose a reason for hiding this comment

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

Great find Brian! Also very clear test

@BrianBland BrianBland force-pushed the brianbland/fix-double-orphan branch 2 times, most recently from 2f12d14 to 5abe4f2 Compare July 23, 2025 19:12
@BrianBland BrianBland force-pushed the brianbland/fix-double-orphan branch from 5abe4f2 to a18fa9e Compare July 23, 2025 20:54
@BrianBland BrianBland requested a review from jjtny1 July 23, 2025 20:55
@BrianBland BrianBland merged commit 12a6695 into main Jul 23, 2025
17 checks passed
@BrianBland BrianBland deleted the brianbland/fix-double-orphan branch July 23, 2025 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants