fix: filesystem permission check#1692
Conversation
There was a problem hiding this comment.
Code Review
This pull request improves error handling during directory creation and run initialization. Specifically, safe_mkdir now immediately raises a PermissionError when permissions are insufficient, preventing misleading timeout errors. Additionally, deliver_run_start is updated to capture and include the original error message in its failure response. Unit tests have been added to verify these behaviors. Feedback is provided to use typing.List instead of the built-in list type hint to maintain compatibility with Python versions older than 3.9.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Description