Skip to content

Conversation

@T1mn
Copy link
Contributor

@T1mn T1mn commented Jan 6, 2026

Summary

  • replace use of non-existent fs.promises.exists with an async pathExists helper
  • prevent storage migrations from throwing at startup when project/worktree paths are missing
  • keep migration flow intact for session/project data

Notes

  • This is a defensive guard; no current breakage observed, but it prevents runtime errors if the migration hits missing paths.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2026

The following comment was made by an LLM, it may be inaccurate:

I found one potentially related PR:

Related PR:

This PR appears to be related to session/migration handling and could be addressing similar concerns with the migration flow mentioned in your PR description.

However, the search results primarily return the current PR (#7051) itself. The other PRs found are not directly related to storage migration path checks.

Recommendation: Manually verify PR #3123 to confirm if it addresses the same storage migration issues, but based on the available search results, there don't appear to be any currently open duplicate PRs with the same focus on guarding storage migration path checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant