claude-code - 💡(How to fix) Fix [Bug] Claude merging branches to master without explicit user authorization [1 participants]

Official PRs (…)
ON THIS PAGE

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52061Fetched 2026-04-23 07:37:34
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Participants
Timeline (top)
labeled ×4closed ×1

Error Message

[{"error":"Error: Failed to sync file save /home/gfreese/work/harvest-bms-fw/tests/unit/test.unit.can.protocolToggle.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n at j (/$bunfs/root/src/entrypoints/cli.js:3163:31471)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:36:19.812Z"},{"error":"Error: Failed to sync file open /home/gfreese/work/harvest-bms-fw/tests/unit/test.unit.can.protocolToggle.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n at w (/$bunfs/root/src/entrypoints/cli.js:3163:30782)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:36:19.812Z"},{"error":"Error: Failed to sync file save /home/gfreese/work/harvest-bms-fw/tests/unit/test.unit.can.protocolToggle.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n at j (/$bunfs/root/src/entrypoints/cli.js:3163:31471)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:36:19.812Z"},{"error":"Error: Failed to sync file open /home/gfreese/work/harvest-bms-fw/tests/unit/test.unit.can.protocolToggle.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n at w (/$bunfs/root/src/entrypoints/cli.js:3163:30782)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:36:19.812Z"},{"error":"Error: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n at J (/$bunfs/root/src/entrypoints/cli.js:3163:27602)\n at j (/$bunfs/root/src/entrypoints/cli.js:3163:31335)\n at call (/$bunfs/root/src/entrypoints/cli.js:3186:972)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:38:35.282Z"},{"error":"Error: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n at J (/$bunfs/root/src/entrypoints/cli.js:3163:27602)\n at w (/$bunfs/root/src/entrypoints/cli.js:3163:30617)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:38:35.282Z"},{"error":"Error: Failed to sync file save /home/gfreese/work/harvest-bms-fw/tests/hil/can_protocolToggle_test.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n at j (/$bunfs/root/src/entrypoints/cli.js:3163:31471)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:38:35.282Z"},{"error":"Error: Failed to sync file open /home/gfreese/work/harvest-bms-fw/tests/hil/can_protocolToggle_test.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n at w (/$bunfs/root/src/entrypoints/cli.js:3163:30782)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:38:35.282Z"},{"error":"Error: Failed to sync file save /home/gfreese/work/harvest-bms-fw/tests/hil/can_protocolToggle_test.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n at j (/$bunfs/root/src/entrypoints/cli.js:3163:31471)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:38:35.282Z"},{"error":"Error: Failed to sync file open /home/gfreese/work/harvest-bms-fw/tests/hil/can_protocolToggle_test.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n at w (/$bunfs/root/src/entrypoints/cli.js:3163:30782)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:38:35.282Z"},{"error":"Error: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n at J (/$bunfs/root/src/entrypoints/cli.js:3163:27602)\n at D (/$bunfs/root/src/entrypoints/cli.js:3163:31033)\n at call (/$bunfs/root/src/entrypoints/cli.js:4781:1378)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:40:12.954Z"},{"error":"Error: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n at J (/$bunfs/root/src/entrypoints/cli.js:3163:27602)\n at j (/$bunfs/root/src/entrypoints/cli.js:3163:31335)\n at call (/$bunfs/root/src/entrypoints/cli.js:4781:1486)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:40:12.954Z"},{"error":"Error: Failed to sync file change /home/gfreese/work/harvest-bms-fw/src/can/dronecan_node.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n at D (/$bunfs/root/src/entrypoints/cli.js:3163:31181)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:40:12.955Z"},{"error":"Error: Failed to sync file save /home/gfreese/work/harvest-bms…

Code Example

[{"error":"Error: Failed to sync file save /home/gfreese/work/harvest-bms-fw/tests/unit/test.unit.can.protocolToggle.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at j (/$bunfs/root/src/entrypoints/cli.js:3163:31471)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:36:19.812Z"},{"error":"Error: Failed to sync file open /home/gfreese/work/harvest-bms-fw/tests/unit/test.unit.can.protocolToggle.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at w (/$bunfs/root/src/entrypoints/cli.js:3163:30782)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:36:19.812Z"},{"error":"Error: Failed to sync file save /home/gfreese/work/harvest-bms-fw/tests/unit/test.unit.can.protocolToggle.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at j (/$bunfs/root/src/entrypoints/cli.js:3163:31471)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:36:19.812Z"},{"error":"Error: Failed to sync file open /home/gfreese/work/harvest-bms-fw/tests/unit/test.unit.can.protocolToggle.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at w (/$bunfs/root/src/entrypoints/cli.js:3163:30782)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:36:19.812Z"},{"error":"Error: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at J (/$bunfs/root/src/entrypoints/cli.js:3163:27602)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3163:31335)\n    at call (/$bunfs/root/src/entrypoints/cli.js:3186:972)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:38:35.282Z"},{"error":"Error: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at J (/$bunfs/root/src/entrypoints/cli.js:3163:27602)\n    at w (/$bunfs/root/src/entrypoints/cli.js:3163:30617)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:38:35.282Z"},{"error":"Error: Failed to sync file save /home/gfreese/work/harvest-bms-fw/tests/hil/can_protocolToggle_test.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at j (/$bunfs/root/src/entrypoints/cli.js:3163:31471)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:38:35.282Z"},{"error":"Error: Failed to sync file open /home/gfreese/work/harvest-bms-fw/tests/hil/can_protocolToggle_test.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at w (/$bunfs/root/src/entrypoints/cli.js:3163:30782)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:38:35.282Z"},{"error":"Error: Failed to sync file save /home/gfreese/work/harvest-bms-fw/tests/hil/can_protocolToggle_test.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at j (/$bunfs/root/src/entrypoints/cli.js:3163:31471)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:38:35.282Z"},{"error":"Error: Failed to sync file open /home/gfreese/work/harvest-bms-fw/tests/hil/can_protocolToggle_test.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at w (/$bunfs/root/src/entrypoints/cli.js:3163:30782)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:38:35.282Z"},{"error":"Error: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at J (/$bunfs/root/src/entrypoints/cli.js:3163:27602)\n    at D (/$bunfs/root/src/entrypoints/cli.js:3163:31033)\n    at call (/$bunfs/root/src/entrypoints/cli.js:4781:1378)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:40:12.954Z"},{"error":"Error: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at J (/$bunfs/root/src/entrypoints/cli.js:3163:27602)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3163:31335)\n    at call (/$bunfs/root/src/entrypoints/cli.js:4781:1486)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:40:12.954Z"},{"error":"Error: Failed to sync file change /home/gfreese/work/harvest-bms-fw/src/can/dronecan_node.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at D (/$bunfs/root/src/entrypoints/cli.js:3163:31181)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:40:12.955Z"},{"error":"Error: Failed to sync file save /home/gfreese/work/harvest-bms…
RAW_BUFFERClick to expand / collapse

Bug Description Claude is merging branches to master when I have a directive to not do that without specific user directions to do so. Bad clanker!

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 2.1.114
  • Feedback ID: 32769218-ce67-42c8-bf9e-09ec7f03f973

Errors

[{"error":"Error: Failed to sync file save /home/gfreese/work/harvest-bms-fw/tests/unit/test.unit.can.protocolToggle.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at j (/$bunfs/root/src/entrypoints/cli.js:3163:31471)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:36:19.812Z"},{"error":"Error: Failed to sync file open /home/gfreese/work/harvest-bms-fw/tests/unit/test.unit.can.protocolToggle.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at w (/$bunfs/root/src/entrypoints/cli.js:3163:30782)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:36:19.812Z"},{"error":"Error: Failed to sync file save /home/gfreese/work/harvest-bms-fw/tests/unit/test.unit.can.protocolToggle.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at j (/$bunfs/root/src/entrypoints/cli.js:3163:31471)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:36:19.812Z"},{"error":"Error: Failed to sync file open /home/gfreese/work/harvest-bms-fw/tests/unit/test.unit.can.protocolToggle.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at w (/$bunfs/root/src/entrypoints/cli.js:3163:30782)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:36:19.812Z"},{"error":"Error: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at J (/$bunfs/root/src/entrypoints/cli.js:3163:27602)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3163:31335)\n    at call (/$bunfs/root/src/entrypoints/cli.js:3186:972)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:38:35.282Z"},{"error":"Error: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at J (/$bunfs/root/src/entrypoints/cli.js:3163:27602)\n    at w (/$bunfs/root/src/entrypoints/cli.js:3163:30617)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:38:35.282Z"},{"error":"Error: Failed to sync file save /home/gfreese/work/harvest-bms-fw/tests/hil/can_protocolToggle_test.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at j (/$bunfs/root/src/entrypoints/cli.js:3163:31471)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:38:35.282Z"},{"error":"Error: Failed to sync file open /home/gfreese/work/harvest-bms-fw/tests/hil/can_protocolToggle_test.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at w (/$bunfs/root/src/entrypoints/cli.js:3163:30782)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:38:35.282Z"},{"error":"Error: Failed to sync file save /home/gfreese/work/harvest-bms-fw/tests/hil/can_protocolToggle_test.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at j (/$bunfs/root/src/entrypoints/cli.js:3163:31471)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:38:35.282Z"},{"error":"Error: Failed to sync file open /home/gfreese/work/harvest-bms-fw/tests/hil/can_protocolToggle_test.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at w (/$bunfs/root/src/entrypoints/cli.js:3163:30782)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:38:35.282Z"},{"error":"Error: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at J (/$bunfs/root/src/entrypoints/cli.js:3163:27602)\n    at D (/$bunfs/root/src/entrypoints/cli.js:3163:31033)\n    at call (/$bunfs/root/src/entrypoints/cli.js:4781:1378)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:40:12.954Z"},{"error":"Error: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at J (/$bunfs/root/src/entrypoints/cli.js:3163:27602)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3163:31335)\n    at call (/$bunfs/root/src/entrypoints/cli.js:4781:1486)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:40:12.954Z"},{"error":"Error: Failed to sync file change /home/gfreese/work/harvest-bms-fw/src/can/dronecan_node.cpp: Cannot send notification to LSP server 'plugin:clangd-lsp:clangd': server is running\n    at D (/$bunfs/root/src/entrypoints/cli.js:3163:31181)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T16:40:12.955Z"},{"error":"Error: Failed to sync file save /home/gfreese/work/harvest-bms…

Note: Content was truncated.

extent analysis

TL;DR

The issue seems to be related to the LSP server 'plugin:clangd-lsp:clangd' being unable to send notifications due to it already running, suggesting a potential configuration or synchronization issue.

Guidance

  • Review the configuration of the LSP server 'plugin:clangd-lsp:clangd' to ensure it is properly set up to handle multiple requests or connections.
  • Check the version of the plugin and consider updating if it's outdated, as this might be a known issue resolved in a later version.
  • Investigate if there's an option to restart or reload the LSP server without affecting the overall system, as this might resolve the "server is running" error.
  • Look into the error logs for any patterns or specific file operations that trigger these errors, which could help in pinpointing the exact cause.

Example

No specific code example can be provided without more context on the configuration or the exact setup of the LSP server and its integration with the development environment.

Notes

The provided information is truncated, which limits the ability to give a comprehensive solution. The errors seem to be related to the LSP server's inability to handle file save or open notifications, possibly due to a misconfiguration or a bug in the plugin.

Recommendation

Apply a workaround by checking the LSP server configuration and updating the plugin to the latest version if possible, as this might address known issues related to notification handling.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] Claude merging branches to master without explicit user authorization [1 participants]