gitignore: ignore the leftover top-level worker/ dir#149
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 agit add -Awould happily sweep in those files — including, in practice, a ~1M-linexmrig.logand embedded git repos, which got rejected by GitHub's large-file hook.This ignores
/worker/(rooted, so only the top-level dir). Nothing underworker/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