Skip to content

Improve view update performance and prevent deadlocks #4928

@eamodio

Description

@eamodio

Summary

Optimizes GitLens view performance by reducing unnecessary updates and preventing potential deadlocks during node loading.

Impact

  • Skips view updates when views are hidden, avoiding wasted computation
  • Refactors node loading to prevent deadlock scenarios during tree updates
  • Avoids auto-expanding multiple repositories, reducing initial load overhead

Validation

  • Verify views only refresh when visible
  • Test tree views with multiple repositories
  • Check branch, commit, and worktree node loading under heavy usage

Risk

Low - Internal optimization changes. Functional behavior preserved.

Metadata

Metadata

Assignees

Labels

area-viewsIssues or features related to (tree) viewsverified ✔Verified

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions