Skip to content

Add .DS_Store to .gitignore to prevent accidental commits #908

@fullsend-ai-retro

Description

@fullsend-ai-retro

What happened

On PR #815, the second review cycle (review run 25814799046, May 13) flagged a .DS_Store file committed to the repository root. This macOS metadata binary was the only high-severity finding and the sole reason the review agent requested changes on that cycle. The author removed it in the next push.

This cost an entire review cycle (~5 min of Opus compute + ~12 hours of wall-clock delay) for a problem that should be prevented at the git level.

What could go better

The .DS_Store commit is a preventable class of issue. Most repositories include it in .gitignore. The fullsend repo either lacks a .gitignore entry for it or the entry was missing.

Confidence: High. This is a well-understood best practice. The fix is trivial and eliminates a class of review noise permanently.

Proposed change

Add .DS_Store (and optionally other common OS metadata files like Thumbs.db, ._*) to the repo's .gitignore file. If a pre-commit hook framework is already in place, consider adding a check that rejects binary files not on an allowlist.

Alternatively, contributors can add .DS_Store to their global gitignore (~/.config/git/ignore), but relying on per-developer config is fragile — the repo-level .gitignore is the reliable fix.

Validation criteria

After the .gitignore change is merged, verify: (1) git check-ignore .DS_Store returns a match, and (2) no future PRs include .DS_Store files. This is a one-time fix with permanent effect.


Generated by retro agent from #815

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions