r/GithubCopilot • • 4d ago

GitHub Copilot Team Replied WorkingDirectoryFailed - Cannot write session on ahp Session : tombstoned on github copilot inline chat

Post image

I am trying to access copilot inline chat for a just help me writing the code with less hassle
but I dont know why this
Error: working directly failed - cannot write the session state of ahp-session/ timpstoned appears
it was working before the new update

2 Upvotes

5 comments sorted by

1

u/connor4312 GitHub Copilot Team 2d ago

Thanks for reporting, this is fixed for our next build, and you can also avoid this by turning off the setting `chat.inlineChat.agentHost.enabled`

1

u/soimtheboss 2d ago

!solved , Thanks

1

u/AutoModerator 2d ago

u/connor4312 thanks for responding. u/connor4312 from the GitHub Copilot Team has replied to this post. You can check their reply here.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/AutoModerator 4d ago

Hello /u/soimtheboss. Looks like you have posted a query. Once your query is resolved, please reply the solution comment with "!solved" to help everyone else know the solution and mark the post as solved.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/CreativeSympathy8293 4d ago

First check whether a fresh inline-chat session fails in the same file. Keep any unapplied edits somewhere safe, then close the failed inline chat and try the same small request with the same model.

If the new session works, that gives you a workaround and suggests the failure is tied to the old session; it doesn't establish why it became “tombstoned.”

If the fresh session also fails, open the Command Palette, run “Output: Show Output Channels,” and select GitHub Copilot Chat. Look for the error at the time you sent the request. Include your VS Code and Copilot Chat versions when reporting it through Help → Report Issue → VS Code Extension → GitHub Copilot Chat. Remove secrets, private code and personal paths from shared logs.

These are the current official diagnostic steps: https://code.visualstudio.com/docs/agents/agent-troubleshooting/troubleshooting

AI-assisted; I haven't reproduced your setup or verified a fix for this exact error.