Skip to content

Handle removing resources without parents - #108

Open
Mirochill wants to merge 1 commit into
aboutcode-org:mainfrom
Mirochill:fix-84-parentless-remove-resource
Open

Mirochill wants to merge 1 commit into
aboutcode-org:mainfrom
Mirochill:fix-84-parentless-remove-resource

Conversation

@Mirochill

Copy link
Copy Markdown

Summary:

  • Skip parent child-list updates when the resource parent is no longer present in the codebase.
  • Keep removing the requested resource and its descendants in that parentless case.
  • Add a regression covering removal after the parent resource is missing.

Fixes: #84

Validation:

  • git diff --check
  • git diff --check HEAD~1..HEAD
  • Not run locally
Signed-off-by: Miro <200482516+Mirochill@users.noreply.github.com>
@Mirochill
Mirochill force-pushed the fix-84-parentless-remove-resource branch from 02cc13d to 516585b Compare May 25, 2026 19:50
@Mirochill
Mirochill marked this pull request as ready for review May 25, 2026 19:56

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant