Skip to content

fix(gitignore): owner/target/ is the real Cargo output#10

Merged
vitaliytv merged 4 commits into
mainfrom
fix/main-drift-post-llm-cascade
Jul 21, 2026
Merged

fix(gitignore): owner/target/ is the real Cargo output#10
vitaliytv merged 4 commits into
mainfrom
fix/main-drift-post-llm-cascade

Conversation

@vitaliytv

Copy link
Copy Markdown
Member

Summary

owner/src-tauri became a workspace member (owner/Cargo.toml, members = ["src-tauri", "owner-llm"]) when llm-cascade landed in #9. .gitignore was correctly pointing at owner/target/ in that PR, but a follow-up commit (3cb0df3) flipped it back to owner/src-tauri/target/ based on a stale directory listing, not cargo metadata.

Verified directly:

$ cd owner/src-tauri && cargo metadata --format-version 1 --no-deps | jq -r .target_directory
/…/owner/target

owner/src-tauri/target/ doesn't exist at all on disk after a build — only owner/target/ does. Left un-fixed, owner/target/ (real build output, can be large) is not gitignored.

Test plan

  • cargo check --workspace from owner/ — clean.
  • Re-confirmed cargo metadata's target_directory resolves to owner/target on latest main.

🤖 Generated with Claude Code

vitaliytv and others added 4 commits July 20, 2026 17:44
…-tauri/target/

owner/src-tauri became a workspace member (owner/Cargo.toml, members =
["src-tauri", "owner-llm"]) when llm-cascade landed — confirmed via
`cargo metadata --format-version 1` from owner/src-tauri, which resolves
target_directory to owner/target. An earlier commit (3cb0df3) flipped
this the wrong way based on a stale on-disk listing rather than asking
cargo directly; owner/src-tauri/target/ doesn't exist at all.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
… workspace root

Swatinem/rust-cache takes `workspaces:` literally as `<path>/target`
(no cargo-metadata resolution, verified in its source) — since
owner/Cargo.toml became the workspace root when llm-cascade landed
(ac3451e), `workspaces: owner/src-tauri` was caching a directory that
doesn't exist. owner's Rust build has been recompiling every dependency
from scratch on every release run instead of hitting cache.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…a/7n-rules#179)

Плагіни: lang-rust 0.7.0 (новий концерн workspace_root — один кореневий
Cargo workspace на репо), lang-js 0.12.0, ci-github 1.9.0. Виправлені
tauri/gitignore_target (target dir від фактичної workspace-топології,
не суфікс-конвенції) і core_test_isolation (валідний приклад layout).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…_root

Аналог кореневого package.json для Rust: кореневий Cargo.toml
(members = app/src-tauri, owner/src-tauri, owner/owner-llm; resolver 2;
[profile.dev] у корені), один Cargo.lock і один target/ на репо —
єдиний пін mt-core/llm-cascade для обох продуктів.

Супутнє:
- .gitignore → target/; rust-cache у release*.yml → дефолтний корінь
- lint-rust.yml: bare cargo fmt/clippy з кореня — нарешті покриває owner
  (раніше лінтився лише app/src-tauri) + канон rust/lint_rust_yml
- FakeOmlxProvider у owner-llm тестах (канон-іменування
  core_test_isolation); cargo fmt по всьому workspace
- порт авто-фіксів lint --full (oxfmt, canonical lint-воркфлоу
  включно з новими lint-k8s/lint-repo, vitest pool: forks, зайва
  root-залежність) + mt-вузли беклогу manual-фіксів
- .cargo/mutants.toml + deny.toml базлайни (rust-канон; deny.toml
  переписано на валідні секції cargo-deny замість LLM-стабу)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vitaliytv
vitaliytv merged commit 3ed8366 into main Jul 21, 2026
2 of 7 checks passed
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