Skip to content

chore: 저장소에 딸려 들어간 브리지 바이너리 제거 - #52

Merged
devlikebear merged 1 commit into
mainfrom
fix/drop-stray-bridge-binary
Aug 23, 2026
Merged

chore: 저장소에 딸려 들어간 브리지 바이너리 제거#52
devlikebear merged 1 commit into
mainfrom
fix/drop-stray-bridge-binary

Conversation

@devlikebear

Copy link
Copy Markdown
Owner

Phase 4(#51)에 17MB짜리 engine/linetta-mcp.exe가 딸려 들어갔습니다. 제 실수입니다.

engine/에서 go build ./cmd/linetta-mcp-o 없이 돌리면 산출물이 작업 디렉터리에 떨어지는데, 그걸 git add -A가 쓸어 담았습니다. .gitignore가 커버하던 건 apps/desktop/src-tauri/resources/ 아래 경로뿐이었습니다.

고친 것

  • engine/linetta-mcp.exe 추적 해제 + 삭제
  • 무시 규칙 확장

.gitignore에는 이미 엔진 바이너리로 같은 사고를 겪은 흔적이 있었습니다(# Engine binary built into the repo root by accident). 다만 확장자 없는 이름만 막고 있어서 윈도우 체크아웃에서는 .exe가 그대로 통과합니다. 두 바이너리 × 두 플랫폼을 모두 덮게 했습니다.

/engine/linetta-engine
/engine/linetta-engine.exe
/engine/linetta-mcp
/engine/linetta-mcp.exe

새로 만든 engine/linetta-mcp.exegit status에 안 잡히는 것을 확인했습니다.

남는 문제

블롭은 히스토리에 그대로 남습니다. 이 PR은 워킹 트리만 정리합니다. 저장소 오브젝트 스토어에서 17MB를 완전히 지우려면 히스토리 재작성 + main 강제 푸시가 필요한데, 그건 되돌릴 수 없고 이미 받아 간 사람이 있으면 깨집니다. 판단이 필요한 사안이라 여기서는 하지 않았습니다.

🤖 Generated with Claude Code

A 17MB `engine/linetta-mcp.exe` rode into the tree with the bridge
commit: `go build ./cmd/linetta-mcp` without -o drops its output in the
working directory, and `git add -A` swept it up.

The ignore list already carried a rule for exactly this accident with
the engine binary, but only for the extensionless name, so a Windows
checkout could reproduce it for either binary. Both names now cover
both platforms.

The blob stays in history; only the working tree is cleaned.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@devlikebear
devlikebear merged commit 5e470ae into main Aug 23, 2026
6 checks passed
@devlikebear
devlikebear deleted the fix/drop-stray-bridge-binary branch August 23, 2026 13:18
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