chore: set dev profile debug to 1#415
Merged
Merged
Conversation
Reduces target/ disk usage while keeping backtrace file:line info. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
Greptile SummarySets Confidence Score: 5/5Safe to merge — minimal, correct config change with no runtime impact. Single-line Cargo profile setting with well-documented semantics; no logic, no dependencies, no security surface. File:line backtrace info is preserved; only interactive debugger variable inspection is reduced. No files require special attention. Important Files Changed
Reviews (1): Last reviewed commit: "chore: set dev profile debug to 1" | Re-trigger Greptile |
Merged
jdx
pushed a commit
that referenced
this pull request
May 5, 2026
## 🤖 New release * `pitchfork-cli`: 2.9.1 -> 2.10.0 <details><summary><i><b>Changelog</b></i></summary><p> <blockquote> ## [2.10.0](v2.9.1...v2.10.0) - 2026-05-05 ### Added - refine startup / tailing logs display ([#420](#420)) - *(proxy)* sync slug hosts ([#418](#418)) - inject daemon running info to tera template ([#419](#419)) ### Fixed - *(boot-start)* use LaunchDaemon on MacOS ([#423](#423)) ### Other - *(build)* use serious profile to eliminate binary size ([#424](#424)) - set dev profile debug to 1 ([#415](#415)) </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/).
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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
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 build configuration tweak that only affects local dev compilation artifacts and debug symbol detail; no runtime logic changes.
Overview
Updates
Cargo.tomlto set[profile.dev] debug = 1, reducing debug info emitted in dev builds (smallertarget/output) while keeping basic file/line backtraces available.Reviewed by Cursor Bugbot for commit b9e17c3. Bugbot is set up for automated code reviews on this repo. Configure here.