claude-code - 💡(How to fix) Fix [Bug] AutoFixEngine stops responding to setAutoFixEnabled events after update to 1.3883.0 [1 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#53001Fetched 2026-04-25 06:15:05
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
labeled ×3cross-referenced ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/pete/.local/share/claude/versions/2.1.119 (expected in multi-process scenarios)\n at mH6 (/$bunfs/root/src/entrypoints/cli.js:2736:2177)\n at E$8 (/$bunfs/root/src/entrypoints/cli.js:2736:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T20:22:35.931Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at TWH (/$bunfs/root/src/entrypoints/cli.js:2736:30496)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T20:22:35.965Z"},{"error":"Error: Tool TodoWrite not found\n at Uj7 (/$bunfs/root/src/entrypoints/cli.js:3077:31268)\n at kz (/$bunfs/root/src/entrypoints/cli.js:484:21134)\n at P1 (/$bunfs/root/src/entrypoints/cli.js:484:39900)\n at M9H (/$bunfs/root/src/entrypoints/cli.js:484:50713)\n at rZH (/$bunfs/root/src/entrypoints/cli.js:484:87780)\n at RD6 (/$bunfs/root/src/entrypoints/cli.js:484:86738)\n at iZH (/$bunfs/root/src/entrypoints/cli.js:484:86558)\n at jM_ (/$bunfs/root/src/entrypoints/cli.js:484:82889)\n at aH (/$bunfs/root/src/entrypoints/cli.js:484:6552)\n at LH (/$bunfs/root/src/entrypoints/cli.js:484:5006)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:18714:11056)","timestamp":"2026-04-24T20:22:36.891Z"},{"error":"Error: Tool TodoWrite not found\n at Uj7 (/$bunfs/root/src/entrypoints/cli.js:3077:31268)\n at kz (/$bunfs/root/src/entrypoints/cli.js:484:21134)\n at P1 (/$bunfs/root/src/entrypoints/cli.js:484:39900)\n at M9H (/$bunfs/root/src/entrypoints/cli.js:484:50713)\n at rZH (/$bunfs/root/src/entrypoints/cli.js:484:87780)\n at RD6 (/$bunfs/root/src/entrypoints/cli.js:484:86738)\n at iZH (/$bunfs/root/src/entrypoints/cli.js:484:86558)\n at jM_ (/$bunfs/root/src/entrypoints/cli.js:484:82889)\n at aH (/$bunfs/root/src/entrypoints/cli.js:484:6552)\n at LH (/$bunfs/root/src/entrypoints/cli.js:484:5006)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:18714:11056)","timestamp":"2026-04-24T20:22:36.892Z"},{"error":"Error: Tool TodoWrite not found\n at Uj7 (/$bunfs/root/src/entrypoints/cli.js:3077:31268)\n at kz (/$bunfs/root/src/entrypoints/cli.js:484:21134)\n at P1 (/$bunfs/root/src/entrypoints/cli.js:484:39900)\n at M9H (/$bunfs/root/src/entrypoints/cli.js:484:50713)\n at rZH (/$bunfs/root/src/entrypoints/cli.js:484:87780)\n at RD6 (/$bunfs/root/src/entrypoints/cli.js:484:86738)\n at iZH (/$bunfs/root/src/entrypoints/cli.js:484:86558)\n at jM_ (/$bunfs/root/src/entrypoints/cli.js:484:82889)\n at aH (/$bunfs/root/src/entrypoints/cli.js:484:6552)\n at LH (/$bunfs/root/src/entrypoints/cli.js:484:5006)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:18714:11056)","timestamp":"2026-04-24T20:22:36.921Z"},{"error":"Error: Tool TodoWrite not found\n at Uj7 (/$bunfs/root/src/entrypoints/cli.js:3077:31268)\n at kz (/$bunfs/root/src/entrypoints/cli.js:484:21134)\n at P1 (/$bunfs/root/src/entrypoints/cli.js:484:39900)\n at M9H (/$bunfs/root/src/entrypoints/cli.js:484:50713)\n at rZH (/$bunfs/root/src/entrypoints/cli.js:484:87780)\n at RD6 (/$bunfs/root/src/entrypoints/cli.js:484:86738)\n at iZH (/$bunfs/root/src/entrypoints/cli.js:484:86558)\n at jM_ (/$bunfs/root/src/entrypoints/cli.js:484:82889)\n at aH (/$bunfs/root/src/entrypoints/cli.js:484:6552)\n at LH (/$bunfs/root/src/entrypoints/cli.js:484:5006)\n…

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/pete/.local/share/claude/versions/2.1.119 (expected in multi-process scenarios)\n    at mH6 (/$bunfs/root/src/entrypoints/cli.js:2736:2177)\n    at E$8 (/$bunfs/root/src/entrypoints/cli.js:2736:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T20:22:35.931Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at TWH (/$bunfs/root/src/entrypoints/cli.js:2736:30496)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T20:22:35.965Z"},{"error":"Error: Tool TodoWrite not found\n    at Uj7 (/$bunfs/root/src/entrypoints/cli.js:3077:31268)\n    at kz (/$bunfs/root/src/entrypoints/cli.js:484:21134)\n    at P1 (/$bunfs/root/src/entrypoints/cli.js:484:39900)\n    at M9H (/$bunfs/root/src/entrypoints/cli.js:484:50713)\n    at rZH (/$bunfs/root/src/entrypoints/cli.js:484:87780)\n    at RD6 (/$bunfs/root/src/entrypoints/cli.js:484:86738)\n    at iZH (/$bunfs/root/src/entrypoints/cli.js:484:86558)\n    at jM_ (/$bunfs/root/src/entrypoints/cli.js:484:82889)\n    at aH (/$bunfs/root/src/entrypoints/cli.js:484:6552)\n    at LH (/$bunfs/root/src/entrypoints/cli.js:484:5006)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:18714:11056)","timestamp":"2026-04-24T20:22:36.891Z"},{"error":"Error: Tool TodoWrite not found\n    at Uj7 (/$bunfs/root/src/entrypoints/cli.js:3077:31268)\n    at kz (/$bunfs/root/src/entrypoints/cli.js:484:21134)\n    at P1 (/$bunfs/root/src/entrypoints/cli.js:484:39900)\n    at M9H (/$bunfs/root/src/entrypoints/cli.js:484:50713)\n    at rZH (/$bunfs/root/src/entrypoints/cli.js:484:87780)\n    at RD6 (/$bunfs/root/src/entrypoints/cli.js:484:86738)\n    at iZH (/$bunfs/root/src/entrypoints/cli.js:484:86558)\n    at jM_ (/$bunfs/root/src/entrypoints/cli.js:484:82889)\n    at aH (/$bunfs/root/src/entrypoints/cli.js:484:6552)\n    at LH (/$bunfs/root/src/entrypoints/cli.js:484:5006)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:18714:11056)","timestamp":"2026-04-24T20:22:36.892Z"},{"error":"Error: Tool TodoWrite not found\n    at Uj7 (/$bunfs/root/src/entrypoints/cli.js:3077:31268)\n    at kz (/$bunfs/root/src/entrypoints/cli.js:484:21134)\n    at P1 (/$bunfs/root/src/entrypoints/cli.js:484:39900)\n    at M9H (/$bunfs/root/src/entrypoints/cli.js:484:50713)\n    at rZH (/$bunfs/root/src/entrypoints/cli.js:484:87780)\n    at RD6 (/$bunfs/root/src/entrypoints/cli.js:484:86738)\n    at iZH (/$bunfs/root/src/entrypoints/cli.js:484:86558)\n    at jM_ (/$bunfs/root/src/entrypoints/cli.js:484:82889)\n    at aH (/$bunfs/root/src/entrypoints/cli.js:484:6552)\n    at LH (/$bunfs/root/src/entrypoints/cli.js:484:5006)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:18714:11056)","timestamp":"2026-04-24T20:22:36.921Z"},{"error":"Error: Tool TodoWrite not found\n    at Uj7 (/$bunfs/root/src/entrypoints/cli.js:3077:31268)\n    at kz (/$bunfs/root/src/entrypoints/cli.js:484:21134)\n    at P1 (/$bunfs/root/src/entrypoints/cli.js:484:39900)\n    at M9H (/$bunfs/root/src/entrypoints/cli.js:484:50713)\n    at rZH (/$bunfs/root/src/entrypoints/cli.js:484:87780)\n    at RD6 (/$bunfs/root/src/entrypoints/cli.js:484:86738)\n    at iZH (/$bunfs/root/src/entrypoints/cli.js:484:86558)\n    at jM_ (/$bunfs/root/src/entrypoints/cli.js:484:82889)\n    at aH (/$bunfs/root/src/entrypoints/cli.js:484:6552)\n    at LH (/$bunfs/root/src/entrypoints/cli.js:484:5006)\n…
RAW_BUFFERClick to expand / collapse

Bug Description After auto-updating from 1.3561.0 → 1.3883.0 on 2026-04-21 16:44, AutoFixEngine stopped responding to LocalSessions.setAutoFixEnabled=true events.

Evidence in ~/Library/Logs/Claude/main.log:

Last [AutoFixEngine] Waking on 1.3561.0: 2026-04-21 15:19:00 (PR 4121) Update downloaded: 2026-04-21 16:44:18 (Claude 1.3883.0) Since 1.3883.0: 15+ LocalSessions.setAutoFixEnabled=true events across 3+ full app restarts (04-21 22:45, 04-23 09:51), zero [AutoFixEngine] log lines in response — no "kicking", no "Waking", no errors. LocalSessions.getPrStateForBranch / getPrChecks (CI status bar polling) still works fine — polling PR #4203 every 30s today. Only AutoFixEngine's subscription is dead. gh is healthy, auth is fine, the Homebrew ENOENT errors during 04-21 20:50–04-23 13:01 are unrelated (transient brew upgrade window; feature was already broken before that).

Conclusion: regression in 1.3883.0 breaks the event path from LocalSessions.setAutoFixEnabled to AutoFixEngine. Version is still latest as of 2026-04-24 13:51 update check.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.119
  • Feedback ID: 578fe50e-e294-411f-b7ad-1f2b241db46a

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/pete/.local/share/claude/versions/2.1.119 (expected in multi-process scenarios)\n    at mH6 (/$bunfs/root/src/entrypoints/cli.js:2736:2177)\n    at E$8 (/$bunfs/root/src/entrypoints/cli.js:2736:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T20:22:35.931Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at TWH (/$bunfs/root/src/entrypoints/cli.js:2736:30496)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T20:22:35.965Z"},{"error":"Error: Tool TodoWrite not found\n    at Uj7 (/$bunfs/root/src/entrypoints/cli.js:3077:31268)\n    at kz (/$bunfs/root/src/entrypoints/cli.js:484:21134)\n    at P1 (/$bunfs/root/src/entrypoints/cli.js:484:39900)\n    at M9H (/$bunfs/root/src/entrypoints/cli.js:484:50713)\n    at rZH (/$bunfs/root/src/entrypoints/cli.js:484:87780)\n    at RD6 (/$bunfs/root/src/entrypoints/cli.js:484:86738)\n    at iZH (/$bunfs/root/src/entrypoints/cli.js:484:86558)\n    at jM_ (/$bunfs/root/src/entrypoints/cli.js:484:82889)\n    at aH (/$bunfs/root/src/entrypoints/cli.js:484:6552)\n    at LH (/$bunfs/root/src/entrypoints/cli.js:484:5006)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:18714:11056)","timestamp":"2026-04-24T20:22:36.891Z"},{"error":"Error: Tool TodoWrite not found\n    at Uj7 (/$bunfs/root/src/entrypoints/cli.js:3077:31268)\n    at kz (/$bunfs/root/src/entrypoints/cli.js:484:21134)\n    at P1 (/$bunfs/root/src/entrypoints/cli.js:484:39900)\n    at M9H (/$bunfs/root/src/entrypoints/cli.js:484:50713)\n    at rZH (/$bunfs/root/src/entrypoints/cli.js:484:87780)\n    at RD6 (/$bunfs/root/src/entrypoints/cli.js:484:86738)\n    at iZH (/$bunfs/root/src/entrypoints/cli.js:484:86558)\n    at jM_ (/$bunfs/root/src/entrypoints/cli.js:484:82889)\n    at aH (/$bunfs/root/src/entrypoints/cli.js:484:6552)\n    at LH (/$bunfs/root/src/entrypoints/cli.js:484:5006)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:18714:11056)","timestamp":"2026-04-24T20:22:36.892Z"},{"error":"Error: Tool TodoWrite not found\n    at Uj7 (/$bunfs/root/src/entrypoints/cli.js:3077:31268)\n    at kz (/$bunfs/root/src/entrypoints/cli.js:484:21134)\n    at P1 (/$bunfs/root/src/entrypoints/cli.js:484:39900)\n    at M9H (/$bunfs/root/src/entrypoints/cli.js:484:50713)\n    at rZH (/$bunfs/root/src/entrypoints/cli.js:484:87780)\n    at RD6 (/$bunfs/root/src/entrypoints/cli.js:484:86738)\n    at iZH (/$bunfs/root/src/entrypoints/cli.js:484:86558)\n    at jM_ (/$bunfs/root/src/entrypoints/cli.js:484:82889)\n    at aH (/$bunfs/root/src/entrypoints/cli.js:484:6552)\n    at LH (/$bunfs/root/src/entrypoints/cli.js:484:5006)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:18714:11056)","timestamp":"2026-04-24T20:22:36.921Z"},{"error":"Error: Tool TodoWrite not found\n    at Uj7 (/$bunfs/root/src/entrypoints/cli.js:3077:31268)\n    at kz (/$bunfs/root/src/entrypoints/cli.js:484:21134)\n    at P1 (/$bunfs/root/src/entrypoints/cli.js:484:39900)\n    at M9H (/$bunfs/root/src/entrypoints/cli.js:484:50713)\n    at rZH (/$bunfs/root/src/entrypoints/cli.js:484:87780)\n    at RD6 (/$bunfs/root/src/entrypoints/cli.js:484:86738)\n    at iZH (/$bunfs/root/src/entrypoints/cli.js:484:86558)\n    at jM_ (/$bunfs/root/src/entrypoints/cli.js:484:82889)\n    at aH (/$bunfs/root/src/entrypoints/cli.js:484:6552)\n    at LH (/$bunfs/root/src/entrypoints/cli.js:484:5006)\n…

Note: Content was truncated.

extent analysis

TL;DR

The most likely fix is to investigate and resolve the regression introduced in version 1.3883.0 that breaks the event path from LocalSessions.setAutoFixEnabled to AutoFixEngine.

Guidance

  • Review the update process and version history to identify potential changes that could have caused the regression.
  • Check the main.log for any related errors or warnings that may indicate the root cause of the issue.
  • Verify that the LocalSessions.setAutoFixEnabled events are being sent correctly and that the AutoFixEngine is properly configured to receive these events.
  • Consider downgrading to version 1.3561.0 to see if the issue is resolved, which could help confirm if the problem is indeed related to the update.

Example

No code snippet is provided as the issue seems to be related to a specific version update and configuration rather than a code-level problem.

Notes

The provided error logs seem unrelated to the main issue of AutoFixEngine not responding to LocalSessions.setAutoFixEnabled events, as they mention different errors such as "Tool TodoWrite not found" and "Lock acquisition failed". The actual cause of the regression might be hidden in the truncated part of the log or in the update process itself.

Recommendation

Apply a workaround by downgrading to version 1.3561.0 if possible, to immediately restore functionality while the root cause of the regression in version 1.3883.0 is investigated and fixed.

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] AutoFixEngine stops responding to setAutoFixEnabled events after update to 1.3883.0 [1 participants]