2 Commits

Author SHA1 Message Date
HAL9000 fc50a068a4 test(sandbox): add coverage for TOCTOU error cleanup paths in git_worktree.py
Add BDD scenarios to git_worktree_coverage_boost.feature and corresponding
step definitions to cover the new error-path cleanup branches introduced by
the TOCTOU race condition fix:

- create() cleanup of _parent_temp_dir on TimeoutExpired during worktree add
- create() cleanup of _parent_temp_dir on CalledProcessError during worktree add
- commit() cleanup of _parent_temp_dir on TimeoutExpired
- rollback() cleanup of _parent_temp_dir on TimeoutExpired
- cleanup() OSError handler when removing parent temp directory

These branches were previously uncovered, causing the CI coverage job to
fail below the 97% threshold.

ISSUES CLOSED: #7507
2026-04-28 04:06:57 +00:00
Jeffrey Phillips Freeman 36c571db83 feat(repo): add resource repositories 2026-02-16 21:35:54 +00:00