Skip to content

gitignore: ignore the leftover top-level worker/ dir#149

Merged
VijitSingh97 merged 2 commits into
mainfrom
claude/gitignore-worker
Jun 4, 2026
Merged

gitignore: ignore the leftover top-level worker/ dir#149
VijitSingh97 merged 2 commits into
mainfrom
claude/gitignore-worker

Conversation

@VijitSingh97
Copy link
Copy Markdown
Collaborator

The worker kit was extracted to the RigForge repo (#71 / #74), but a stale top-level worker/ dir can linger locally with miner runtime logs/state until that cutover cleanup is finished. It wasn't in .gitignore, so a git add -A would happily sweep in those files — including, in practice, a ~1M-line xmrig.log and embedded git repos, which got rejected by GitHub's large-file hook.

This ignores /worker/ (rooted, so only the top-level dir). Nothing under worker/ is tracked (git ls-files worker/ is empty), so this is purely a guard — no tracked files are affected.

Tech-debt note: the leftover worker/ files should eventually be deleted locally once the RigForge cutover is complete; this just prevents accidental commits in the meantime.

🤖 Generated with Claude Code

VijitSingh97 and others added 2 commits June 4, 2026 08:23
The worker kit was extracted to the RigForge repo (#71/#74), but a stale worker/ dir
can linger locally with miner runtime logs/state until that cutover is finished.
It wasn't ignored, so `git add -A` would sweep in those (sometimes very large) files.
Nothing under worker/ is tracked, so ignoring it is safe.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@VijitSingh97 VijitSingh97 merged commit 86c228a into main Jun 4, 2026
@VijitSingh97 VijitSingh97 deleted the claude/gitignore-worker branch June 4, 2026 13:32
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