Skip to content

chore(gitignore): adopt shared rust template from phenotype-tooling#59

Merged
KooshaPari merged 1 commit into
mainfrom
chore/gitignore-adopt-rust-2026-06-11
Jun 12, 2026
Merged

chore(gitignore): adopt shared rust template from phenotype-tooling#59
KooshaPari merged 1 commit into
mainfrom
chore/gitignore-adopt-rust-2026-06-11

Conversation

@KooshaPari

@KooshaPari KooshaPari commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Summary

Adopts the canonical Rust .gitignore template from phenotype-tooling (PR #115).

Why

531+ .gitignore files in the org cluster into ~7 stack-specific patterns. The 'Generated by Cargo' / /target/ pattern is the largest cluster, repeated nearly verbatim across 20+ Rust repos. Centralizing it here means future Rust-template updates (e.g. add a new build artifact) ship from one place.

Diff

Test

CI script scripts/check-gitignore-template.sh will return exit 0 (adopted) after this PR merges.

Refs: FLEET_100TASK_DAG_V4.md §85 (V14-T3-1e wave 1)


Note

Low Risk
Documentation-only ignore-list change with no runtime or security impact; minor overlap between /target/ and target/ is harmless.

Overview
Replaces the root .gitignore with the org phenotype-tooling Rust template (header + standard build/editor/OS/log ignores) and keeps prior repo-specific rules under a “Repo-specific lines preserved” section.

Adds Rust-oriented entries such as /target/, **/*.rs.bk, and Cargo.lock.bak while consolidating duplicate patterns (e.g. target/, editor/OS/log blocks) that were repeated in the old file. Unchanged ignore targets like dist/, node_modules/, .env*, and .grade-reports/ remain in the preserved block.

Reviewed by Cursor Bugbot for commit 65b673d. Bugbot is set up for automated code reviews on this repo. Configure here.

Replaces the repo's .gitignore with the canonical Rust template from
https://github.com/KooshaPari/phenotype-tooling/blob/main/templates/gitignore-rust
(see PR KooshaPari/phenotype-tooling#115).

This centralizes the standard 'Generated by Cargo' / target/ pattern across
the org so future Rust-template updates can ship from one place.

Repo-specific lines from the prior .gitignore are preserved below the
template body. See https://github.com/KooshaPari/phenotype-tooling/blob/main/docs/gitignore-adoption.md

Refs: FLEET_100TASK_DAG_V4.md §85 (V14-T3-1e wave 1)
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@codeant-ai

codeant-ai Bot commented Jun 12, 2026

Copy link
Copy Markdown

CodeAnt AI is reviewing your PR.


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@coderabbitai

coderabbitai Bot commented Jun 12, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@KooshaPari, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 51 minutes and 43 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more credits in the billing tab to continue.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 3d26803e-7c36-4b7e-9450-19e584e1eabf

📥 Commits

Reviewing files that changed from the base of the PR and between 043c922 and 65b673d.

📒 Files selected for processing (1)
  • .gitignore
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/gitignore-adopt-rust-2026-06-11
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch chore/gitignore-adopt-rust-2026-06-11

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud

Copy link
Copy Markdown

@codeant-ai

codeant-ai Bot commented Jun 12, 2026

Copy link
Copy Markdown

CodeAnt AI finished reviewing your PR.

@KooshaPari KooshaPari merged commit 485204d into main Jun 12, 2026
15 of 17 checks passed
@KooshaPari KooshaPari deleted the chore/gitignore-adopt-rust-2026-06-11 branch June 12, 2026 05:15
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