This repository was archived by the owner on Sep 11, 2026. It is now read-only.
Repository navigation
tauri: концерн gitignore_target — ignore <ws>/src-tauri/target/ - #164
Merged
Merged
Conversation
…target/ Реальний інцидент у nitra/task: корінний .gitignore мав owner/target/ замість owner/src-tauri/target/ (typo — воркспейс скопійований без заміни шляху), тому ~600MB/~28k файлів build-артефактів Cargo не ігнорувались і мало не потрапили в коміт через git add -A. Детектор перевикористовує findSrcTauriDirs з tauri/cargo_mutants_config і звіряє точний рядок <ws>/src-tauri/target/ у корінному .gitignore (не substring — голий target/ чи typo owner/target/ не закривають violation). T0-автофікс дописує відсутні записи в секцію "Tauri — Rust build artifacts", нічого стороннього не видаляє. Co-Authored-By: Claude Sonnet 5 <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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
tauri/gitignore_target(detector + T0-autofix), за структурою аналогічнийtauri/linux_depsтаtauri/cargo_mutants_config.nitra/task: корінний.gitignoreмавowner/target/замістьowner/src-tauri/target/(typo — воркспейс скопійований без заміни шляху), тому ~600MB / ~28k файлів build-артефактів Cargo не ігнорувались і мало не потрапили в коміт черезgit add -A.findSrcTauriDirsзtauri/cargo_mutants_config(без дублювання обходу монорепо) і звіряє точний рядок<ws>/src-tauri/target/у корінному.gitignore— не substring-пошук, тож голийtarget/чи typoowner/target/не закривають violation.linux_deps): дописує відсутні записи в секцію# Tauri — Rust build artifacts (tauri.mdc)(створює блок, якщо його ще нема), нічого стороннього не видаляє, ідемпотентний.Test plan
npx vitest run rules/tauri/gitignore_target/tests/— 12 нових тестів (detector: missing/present/typo/partial-monorepo/no-gitignore; fix: insert/idempotent/preserves-surrounding)npx vitest run rules/tauri/— усі 91 тест уtauri/зелені (регресій немає)npx @7n/rules lint(delta) — 0 порушеньnpx @7n/n ch🤖 Generated with Claude Code