claude-code - 💡(How to fix) Fix [Bug] Compaction functionality not working [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

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#51634Fetched 2026-04-22 07:57:00
View on GitHub
Comments
2
Participants
2
Timeline
7
Reactions
0
Timeline (top)
labeled ×5commented ×2

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/thehermetist/.local/share/claude/versions/2.1.114 (expected in multi-process scenarios)\n at od$ (/$bunfs/root/src/entrypoints/cli.js:2753:2177)\n at PH6 (/$bunfs/root/src/entrypoints/cli.js:2753:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T18:27:21.126Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at GjH (/$bunfs/root/src/entrypoints/cli.js:2753:30115)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T18:27:21.138Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at GjH (/$bunfs/root/src/entrypoints/cli.js:2753:30115)\n at async Z (/$bunfs/root/src/entrypoints/cli.js:6138:11023)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T18:27:21.541Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at GjH (/$bunfs/root/src/entrypoints/cli.js:2753:30115)\n at async k (/$bunfs/root/src/entrypoints/cli.js:6138:11830)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T18:27:21.541Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at GjH (/$bunfs/root/src/entrypoints/cli.js:2753:30115)\n at async k (/$bunfs/root/src/entrypoints/cli.js:6138:11830)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T18:27:21.605Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at GjH (/$bunfs/root/src/entrypoints/cli.js:2753:30115)\n at async Z (/$bunfs/root/src/entrypoints/cli.js:6138:11023)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T18:27:21.606Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/home/thehermetist/Desktop/playground/claude-code-src/src/services/mcp'\n at c_H (/$bunfs/root/src/entrypoints/cli.js:1567:144)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T19:05:35.588Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/home/thehermetist/Desktop/aethyr/open-webui'\n at c_H (/$bunfs/root/src/entrypoints/cli.js:1567:144)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T01:44:26.957Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T15:22:17.712Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T15:23:10.064Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/home/thehermetist/Desktop/aethyr/console/src/components/integrations'\n at c_H (/$bunfs/root/src/entrypoints/cli.js:1567:144)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T15:34:52.344Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/thehermetist/.local/share/claude/versions/2.1.114 (expected in multi-process scenarios)\n    at od$ (/$bunfs/root/src/entrypoints/cli.js:2753:2177)\n    at PH6 (/$bunfs/root/src/entrypoints/cli.js:2753:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T18:27:21.126Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GjH (/$bunfs/root/src/entrypoints/cli.js:2753:30115)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T18:27:21.138Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GjH (/$bunfs/root/src/entrypoints/cli.js:2753:30115)\n    at async Z (/$bunfs/root/src/entrypoints/cli.js:6138:11023)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T18:27:21.541Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GjH (/$bunfs/root/src/entrypoints/cli.js:2753:30115)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6138:11830)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T18:27:21.541Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GjH (/$bunfs/root/src/entrypoints/cli.js:2753:30115)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6138:11830)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T18:27:21.605Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GjH (/$bunfs/root/src/entrypoints/cli.js:2753:30115)\n    at async Z (/$bunfs/root/src/entrypoints/cli.js:6138:11023)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T18:27:21.606Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/home/thehermetist/Desktop/playground/claude-code-src/src/services/mcp'\n    at c_H (/$bunfs/root/src/entrypoints/cli.js:1567:144)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T19:05:35.588Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/home/thehermetist/Desktop/aethyr/open-webui'\n    at c_H (/$bunfs/root/src/entrypoints/cli.js:1567:144)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T01:44:26.957Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T15:22:17.712Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T15:23:10.064Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/home/thehermetist/Desktop/aethyr/console/src/components/integrations'\n    at c_H (/$bunfs/root/src/entrypoints/cli.js:1567:144)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T15:34:52.344Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description Compaction is BROKEN. UNREAL!

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 2.1.114
  • Feedback ID: 784e88e4-82ac-4e0b-8c56-78d36b1bf04d

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/thehermetist/.local/share/claude/versions/2.1.114 (expected in multi-process scenarios)\n    at od$ (/$bunfs/root/src/entrypoints/cli.js:2753:2177)\n    at PH6 (/$bunfs/root/src/entrypoints/cli.js:2753:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T18:27:21.126Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GjH (/$bunfs/root/src/entrypoints/cli.js:2753:30115)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T18:27:21.138Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GjH (/$bunfs/root/src/entrypoints/cli.js:2753:30115)\n    at async Z (/$bunfs/root/src/entrypoints/cli.js:6138:11023)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T18:27:21.541Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GjH (/$bunfs/root/src/entrypoints/cli.js:2753:30115)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6138:11830)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T18:27:21.541Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GjH (/$bunfs/root/src/entrypoints/cli.js:2753:30115)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6138:11830)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T18:27:21.605Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GjH (/$bunfs/root/src/entrypoints/cli.js:2753:30115)\n    at async Z (/$bunfs/root/src/entrypoints/cli.js:6138:11023)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T18:27:21.606Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/home/thehermetist/Desktop/playground/claude-code-src/src/services/mcp'\n    at c_H (/$bunfs/root/src/entrypoints/cli.js:1567:144)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T19:05:35.588Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/home/thehermetist/Desktop/aethyr/open-webui'\n    at c_H (/$bunfs/root/src/entrypoints/cli.js:1567:144)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T01:44:26.957Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T15:22:17.712Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T15:23:10.064Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/home/thehermetist/Desktop/aethyr/console/src/components/integrations'\n    at c_H (/$bunfs/root/src/entrypoints/cli.js:1567:144)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T15:34:52.344Z"}]

extent analysis

TL;DR

Set the GITHUB_PERSONAL_ACCESS_TOKEN environment variable to resolve the mcp-config-invalid errors.

Guidance

  • The errors indicate a missing GITHUB_PERSONAL_ACCESS_TOKEN environment variable, which is required for the MCP server to function correctly.
  • Check the documentation for the MCP server to ensure that the GITHUB_PERSONAL_ACCESS_TOKEN environment variable is set correctly.
  • Verify that the GITHUB_PERSONAL_ACCESS_TOKEN environment variable is set before running the application.
  • The EISDIR errors suggest that the application is attempting to read a directory as if it were a file, which may be a separate issue.

Example

No code example is provided as the issue is related to environment variable configuration.

Notes

The provided errors suggest that there are multiple issues with the application, including the missing GITHUB_PERSONAL_ACCESS_TOKEN environment variable and the EISDIR errors. Resolving the GITHUB_PERSONAL_ACCESS_TOKEN issue may not fix all errors.

Recommendation

Apply workaround: Set the GITHUB_PERSONAL_ACCESS_TOKEN environment variable to resolve the mcp-config-invalid errors. This may require creating a GitHub personal access token and setting it as an environment variable in the application's configuration.

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] Compaction functionality not working [2 comments, 2 participants]