Skip to content

chore: remove the accidentally committed target-msrv/ build directory - #199

Merged
DrunkOnJava merged 1 commit into
mainfrom
fix/remove-committed-target-dir
Aug 30, 2026
Merged

DrunkOnJava merged 1 commit into
mainfrom
fix/remove-committed-target-dir

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Aug 30, 2026 •

Copy link
Copy Markdown
Owner

Summary

#197 committed target-msrv/ (a local CARGO_TARGET_DIR used for the MSRV check) along with the fix. Removes it and gitignores /target*/.

Motivation

The build output carries absolute home paths in its .d files, which the PII guard correctly flags; main's CI and #194's run have been failing on that job since #197 merged.

Testing

  • git grep -P '/Users/[a-z][a-z0-9._-]+/' over the tree after removal: no matches outside the excluded paths
  • N/A: no source changes

Note

Low Risk
Repository hygiene only: gitignore and deletion of build artifacts; no runtime or dependency behavior changes.

Overview
Removes the accidentally committed target-msrv/ tree (local CARGO_TARGET_DIR output from MSRV builds) from version control. That directory contained Cargo fingerprints, deps, and .d files with absolute paths, which triggered PII guard failures in CI.

Adds /target*/ to .gitignore so alternate root-level target dirs (e.g. target-msrv/) stay ignored even though they do not match the existing /target/ entry.

No application or library source changes.

Reviewed by Cursor Bugbot for commit e17b8fd. Configure here.

#197 ran the MSRV check with CARGO_TARGET_DIR=target-msrv inside a
worktree and swept the whole build output into the commit with `git add
-A`. It contains dependency-info files with the author's absolute home
paths, which is exactly what the PII guard exists to catch — and it has
been failing on main since. Removes the directory and gitignores every
`/target*/` so it cannot recur. The blobs remain in history; main is
protected against rewrites.
@DrunkOnJava
DrunkOnJava merged commit eccc782 into main Aug 30, 2026
@DrunkOnJava
DrunkOnJava deleted the fix/remove-committed-target-dir branch August 30, 2026 09:33
@cursor

cursor Bot commented Aug 30, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_d0d09720-f11c-46eb-a899-d60d237b7f77)

DrunkOnJava added a commit that referenced this pull request Aug 31, 2026
…#199)

## Summary
#197 committed `target-msrv/` (a local `CARGO_TARGET_DIR` used for the
MSRV check) along with the fix. Removes it and gitignores `/target*/`.

## Motivation
The build output carries absolute home paths in its `.d` files, which
the PII guard correctly flags; main's CI and #194's run have been
failing on that job since #197 merged.

## Testing
- [x] `git grep -P '/Users/[a-z][a-z0-9._-]+/'` over the tree after
removal: no matches outside the excluded paths
- N/A: no source changes
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