Skip to content

Conversation

timruffles
Copy link

@timruffles timruffles commented Jan 17, 2025

Leaving additional finalizers around consumes memory (to store the finalizer), and has a runtime cost (there's a single runtime go-routine which loops over all finalizers). They can be cleaned up on manual Close.

See this maintainer comment and the runtime docs.

alexeagle pushed a commit to aspect-build/aspect-gazelle that referenced this pull request Mar 13, 2025
Fix aspect-build/aspect-cli#818

See also:
 smacker/go-tree-sitter#183
 smacker/go-tree-sitter#182

---

### Changes are visible to end-users: yes

- Searched for relevant documentation and updated as needed: yes
- Breaking change (forces users to change their own code or config): no
- Suggested release notes appear below: yes

Ensure `configure` tree-sitter resources are explicitly cleaned up.

### Test plan

- Covered by existing test cases
alexeagle pushed a commit to aspect-build/aspect-gazelle that referenced this pull request Mar 17, 2025
Fix aspect-build/aspect-cli#818

See also:
 smacker/go-tree-sitter#183
 smacker/go-tree-sitter#182

---

### Changes are visible to end-users: yes

- Searched for relevant documentation and updated as needed: yes
- Breaking change (forces users to change their own code or config): no
- Suggested release notes appear below: yes

Ensure `configure` tree-sitter resources are explicitly cleaned up.

### Test plan

- Covered by existing test cases
alexeagle pushed a commit to aspect-build/aspect-gazelle that referenced this pull request Mar 18, 2025
Fix aspect-build/aspect-cli#818

See also:
 smacker/go-tree-sitter#183
 smacker/go-tree-sitter#182

---

### Changes are visible to end-users: yes

- Searched for relevant documentation and updated as needed: yes
- Breaking change (forces users to change their own code or config): no
- Suggested release notes appear below: yes

Ensure `configure` tree-sitter resources are explicitly cleaned up.

### Test plan

- Covered by existing test cases
jbedard added a commit to aspect-build/aspect-cli that referenced this pull request Apr 1, 2025
Fix #818

See also:
 smacker/go-tree-sitter#183
 smacker/go-tree-sitter#182

---

### Changes are visible to end-users: yes

- Searched for relevant documentation and updated as needed: yes
- Breaking change (forces users to change their own code or config): no
- Suggested release notes appear below: yes

Ensure `configure` tree-sitter resources are explicitly cleaned up.

### Test plan

- Covered by existing test cases

GitOrigin-RevId: 35c3509f084f0d7c2e01a9d11faa2519462dc46b
jbedard added a commit to aspect-build/aspect-cli that referenced this pull request Apr 1, 2025
Fix #818

See also:
 smacker/go-tree-sitter#183
 smacker/go-tree-sitter#182

---

### Changes are visible to end-users: yes

- Searched for relevant documentation and updated as needed: yes
- Breaking change (forces users to change their own code or config): no
- Suggested release notes appear below: yes

Ensure `configure` tree-sitter resources are explicitly cleaned up.

### Test plan

- Covered by existing test cases

GitOrigin-RevId: 35c3509f084f0d7c2e01a9d11faa2519462dc46b
jbedard added a commit to aspect-build/aspect-cli that referenced this pull request Apr 2, 2025
Fix #818

See also:
 smacker/go-tree-sitter#183
 smacker/go-tree-sitter#182

---

### Changes are visible to end-users: yes

- Searched for relevant documentation and updated as needed: yes
- Breaking change (forces users to change their own code or config): no
- Suggested release notes appear below: yes

Ensure `configure` tree-sitter resources are explicitly cleaned up.

### Test plan

- Covered by existing test cases

GitOrigin-RevId: 35c3509f084f0d7c2e01a9d11faa2519462dc46b
alexeagle pushed a commit to aspect-build/aspect-gazelle that referenced this pull request Jul 29, 2025
Fix aspect-build/aspect-cli#818

See also:
 smacker/go-tree-sitter#183
 smacker/go-tree-sitter#182

---

### Changes are visible to end-users: yes

- Searched for relevant documentation and updated as needed: yes
- Breaking change (forces users to change their own code or config): no
- Suggested release notes appear below: yes

Ensure `configure` tree-sitter resources are explicitly cleaned up.

### Test plan

- Covered by existing test cases
alexeagle pushed a commit to aspect-build/aspect-gazelle that referenced this pull request Aug 2, 2025
Fix aspect-build/aspect-cli#818

See also:
 smacker/go-tree-sitter#183
 smacker/go-tree-sitter#182

---

### Changes are visible to end-users: yes

- Searched for relevant documentation and updated as needed: yes
- Breaking change (forces users to change their own code or config): no
- Suggested release notes appear below: yes

Ensure `configure` tree-sitter resources are explicitly cleaned up.

### Test plan

- Covered by existing test cases
alexeagle pushed a commit to aspect-build/aspect-gazelle that referenced this pull request Aug 11, 2025
Fix aspect-build/aspect-cli#818

See also:
 smacker/go-tree-sitter#183
 smacker/go-tree-sitter#182

---

### Changes are visible to end-users: yes

- Searched for relevant documentation and updated as needed: yes
- Breaking change (forces users to change their own code or config): no
- Suggested release notes appear below: yes

Ensure `configure` tree-sitter resources are explicitly cleaned up.

### Test plan

- Covered by existing test cases
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.

1 participant