[PR #2957] [MERGED] batcher: fix closed panic #2964

Closed
opened 2025-12-29 04:19:50 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/2957
Author: @kradalby
Created: 12/12/2025
Status: Merged
Merged: 12/15/2025
Merged by: @kradalby

Base: mainHead: kradalby/panic-batcher-test


📝 Commits (1)

  • 2ede61f batcher: fix closed panic

📊 Changes

2 files changed (+58 additions, -34 deletions)

View changed files

📝 hscontrol/mapper/batcher_lockfree.go (+30 -21)
📝 hscontrol/mapper/batcher_test.go (+28 -13)

📄 Description

should fix a flaky test with panics.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/2957 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 12/12/2025 **Status:** ✅ Merged **Merged:** 12/15/2025 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `kradalby/panic-batcher-test` --- ### 📝 Commits (1) - [`2ede61f`](https://github.com/juanfont/headscale/commit/2ede61fce985dbb3bd700d1ab7af17b232d2b05f) batcher: fix closed panic ### 📊 Changes **2 files changed** (+58 additions, -34 deletions) <details> <summary>View changed files</summary> 📝 `hscontrol/mapper/batcher_lockfree.go` (+30 -21) 📝 `hscontrol/mapper/batcher_test.go` (+28 -13) </details> ### 📄 Description should fix a flaky test with panics. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 04:19:50 +01:00
adam closed this issue 2025-12-29 04:19:50 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2964