Conversation
Reduces target/ disk usage while keeping backtrace file:line info. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Greptile SummaryThis PR sets Confidence Score: 5/5This PR is safe to merge — it is a single-line build config change with no runtime impact. The change is a well-understood Rust build profile setting, correctly placed in the workspace root No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[cargo build] --> B{profile?}
B -->|dev| C["[profile.dev]\ndebug = 1"]
B -->|release| D["[profile.release]\n(default)"]
C --> E["DWARF: line/file info only\nNo variable/type info"]
D --> F["No debug info (default)"]
E --> G["✅ Backtraces: file:line intact\n✅ RUST_BACKTRACE=1 works\n⚠️ Debugger variable inspection reduced"]
E --> H["Smaller target/ directory"]
Reviews (1): Last reviewed commit: "chore: set dev profile debug to 1" | Re-trigger Greptile |
### 🚀 Features - **(github-oauth)** add github oauth lease backend by [@jdx](https://github.com/jdx) in [#464](#464) ### 🐛 Bug Fixes - **(ci)** de-duplicate sponsor section in release notes by [@jdx](https://github.com/jdx) in [#459](#459) ### 🔍 Other Changes - **(ci)** use !cancelled() instead of always() for final job by [@jdx](https://github.com/jdx) in [#461](#461) - set dev profile debug to 1 by [@jdx](https://github.com/jdx) in [#462](#462)
Summary
Reduces
target/disk usage by setting[profile.dev] debug = 1, while keeping backtrace file:line info intact.The default
debug = 2writes full DWARF — including variable/type info that's only needed when stepping through code in a debugger (lldb/gdb). Withdebug = 1, panics,RUST_BACKTRACE=1, and error chains still resolve to file:line; only debugger variable inspection is reduced.In practice this typically shrinks
target/by a meaningful percentage, which adds up across worktrees.Test plan
cargo buildstill succeedsThis PR was generated by an AI coding assistant.
Note
Low Risk
Low risk: this only changes the Cargo dev build profile’s debug info level and should not affect runtime behavior; the main risk is reduced debugger variable/type inspection during local development.
Overview
Reduces dev build debug info by adding
[profile.dev] debug = 1inCargo.toml, which can shrinktarget/artifacts while preserving file/line backtraces.No application code changes; this only affects local/CI dev compilation settings.
Reviewed by Cursor Bugbot for commit 4d5a607. Bugbot is set up for automated code reviews on this repo. Configure here.