Skip to content

Add disk space pre-flight check before creating worktrees#123

Merged
that-github-user merged 1 commit into
mainfrom
issue-71-disk-check
Mar 29, 2026
Merged

Add disk space pre-flight check before creating worktrees#123
that-github-user merged 1 commit into
mainfrom
issue-71-disk-check

Conversation

@that-github-user

Copy link
Copy Markdown
Owner

Summary

  • Estimate repo size via git count-objects -v
  • Check free space on temp partition via statfs
  • Warn if space < attempts × repo size (non-blocking warning)
  • 3 new tests

Generated by thinktank Opus — 5 agents, 2/5 pass, Copeland: Agent #4 at +4.

Change type

  • New feature

Related issue

Closes #71

How to test

npm test  # 171 tests pass

Breaking changes

  • This PR introduces breaking changes

🤖 Generated with thinktank (Opus)

Estimates repo size via git count-objects, checks free space on temp
partition via statfs. Warns (but doesn't block) if available space
is less than attempts * repo_size. 3 new tests.

Generated by thinktank Opus (5 agents, 2 pass, Copeland: #4 at +4).

Closes #71

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@that-github-user that-github-user merged commit 6fe013c into main Mar 29, 2026
4 checks passed
@that-github-user that-github-user deleted the issue-71-disk-check branch March 29, 2026 01:24
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.

Disk space pre-flight check before creating worktrees

1 participant