Skip to content

fix: handle potential infinite recursion for canViewerDeleteAsync#605

Merged
wschurman merged 1 commit into
mainfrom
05-14-fix_handle_potential_infinite_recursion_for_canviewerdeleteasync
May 21, 2026
Merged

fix: handle potential infinite recursion for canViewerDeleteAsync#605
wschurman merged 1 commit into
mainfrom
05-14-fix_handle_potential_infinite_recursion_for_canviewerdeleteasync

Conversation

@wschurman
Copy link
Copy Markdown
Member

@wschurman wschurman commented May 14, 2026

Why

In the same way that processEntityDeletionForInboundEdgesAsync has detection for reference cycles, this preemptive check utility method needs the same detection mechanism.

How

Add the same detection mechanism as processedEntityIdentifiers

Test Plan

Add test case for this that fails before change, succeeds after.

Copy link
Copy Markdown
Member Author

wschurman commented May 14, 2026

@codecov
Copy link
Copy Markdown

codecov Bot commented May 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (b1ed31b) to head (00e3de5).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #605   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          109       109           
  Lines        17683     17694   +11     
  Branches       901       918   +17     
=========================================
+ Hits         17683     17694   +11     
Flag Coverage Δ
integration 28.65% <0.00%> (-0.02%) ⬇️
unittest 94.51% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@wschurman wschurman force-pushed the 05-14-feat_clean_up_transactional_dataloader_at_transaction_end branch from 365e471 to 72dbb4b Compare May 21, 2026 16:47
@wschurman wschurman force-pushed the 05-14-fix_handle_potential_infinite_recursion_for_canviewerdeleteasync branch from 21c2fb8 to 36968e4 Compare May 21, 2026 16:47
Copy link
Copy Markdown
Member Author

wschurman commented May 21, 2026

Merge activity

  • May 21, 4:55 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • May 21, 5:12 PM UTC: Graphite rebased this pull request as part of a merge.
  • May 21, 5:13 PM UTC: @wschurman merged this pull request with Graphite.

@wschurman wschurman changed the base branch from 05-14-feat_clean_up_transactional_dataloader_at_transaction_end to graphite-base/605 May 21, 2026 17:08
@wschurman wschurman changed the base branch from graphite-base/605 to main May 21, 2026 17:10
@wschurman wschurman force-pushed the 05-14-fix_handle_potential_infinite_recursion_for_canviewerdeleteasync branch from 36968e4 to 00e3de5 Compare May 21, 2026 17:11
@wschurman wschurman merged commit 4ac1868 into main May 21, 2026
6 checks passed
@wschurman wschurman deleted the 05-14-fix_handle_potential_infinite_recursion_for_canviewerdeleteasync branch May 21, 2026 17:13
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.

3 participants