From c0acdd69477e85915ebbd1f2069a6d27d051ad88 Mon Sep 17 00:00:00 2001 From: chappie-daemon Date: Fri, 4 Dec 2026 16:48:41 -0500 Subject: [PATCH 1/2] chore: ignore cargo's target directory at the workspace root A release build leaves ~5 GB in the checkout, untracked and unignored, so git status reported it and any git add -A would have staged it. --- .changeset/ignore-cargo-target.md | 5 +++++ .gitignore | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 .changeset/ignore-cargo-target.md diff --git a/.changeset/ignore-cargo-target.md b/.changeset/ignore-cargo-target.md new file mode 100644 index 00000000..ee9eda4b --- /dev/null +++ b/.changeset/ignore-cargo-target.md @@ -0,0 +1,5 @@ +--- +"nostream": patch +--- + +Cargo's `target` directory at the workspace root is now in `.gitignore`. It was neither tracked nor ignored, so a release build left about 5 GB in the checkout where `git status` reported it as untracked and any `git add -A` would have staged the build tree, including object files and incremental state. A checkout that builds the Rust workspace the usual way no longer carries it into Git. diff --git a/.gitignore b/.gitignore index 66f2cb14..e37108b2 100644 --- a/.gitignore +++ b/.gitignore @@ -56,5 +56,8 @@ coverage-report/ # graphify code-graph output (regenerated, ~4 MB per run) graphify-out/ +# Rust build output (cargo writes this at the workspace root; ~5 GB after a release build) +target/ + # TLS certificates and private keys the nginx compose file mounts nginx/ssl/ From fdc373bafcc1b3583fe215e42c2b227276725288 Mon Sep 17 00:00:00 2001 From: chappie-daemon Date: Fri, 4 Dec 2026 16:53:31 -0500 Subject: [PATCH 2/2] chore: anchor the cargo target rule to the repository root target/ also matched a nested directory; the build output only ever appears at the workspace root. --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e37108b2..97b208f3 100644 --- a/.gitignore +++ b/.gitignore @@ -57,7 +57,7 @@ coverage-report/ graphify-out/ # Rust build output (cargo writes this at the workspace root; ~5 GB after a release build) -target/ +/target/ # TLS certificates and private keys the nginx compose file mounts nginx/ssl/