mirror of
https://github.com/Hmbown/DeepSeek-TUI.git
synced 2026-09-03 06:50:13 +08:00
* chore: delete proven-dead helpers and stale dead_code allows Remove call-graph-dead builders, wrappers, and leftover identifiers from the TUI crate, and drop allow(dead_code) on items production already calls. Lower the dead-code budget 448 → 416. No behavior change. Co-authored-by: Hunter Bown <Hmbown@users.noreply.github.com> * chore: delete unused set_provider_model_selection too rustc -D dead_code proved the persist_as_default helper's only remaining callee was also unreferenced. Drop the unused import with it. Co-authored-by: Hunter Bown <Hmbown@users.noreply.github.com> * fix(tui): keep the sweep green — delete the truly dead, scope the test-used - HandleStore::retained_bytes had zero callers anywhere: deleted, not re-allowed. - TaskManager::shutdown is exercised only from automation_manager tests; scope its allow to non-test compilations so test builds stay honest. Also drops the branch-time CHANGELOG entry: entries are written to main at merge time as receipts now. * style: rustfmt after the retained_bytes deletion * fix(tui): retained_bytes is test-exercised, not dead — restore with a scoped allow The sweep's reference search missed four #[cfg(test)] callers in this file. Same treatment as TaskManager::shutdown: scoped allow, not deletion. --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Hunter Bown <Hmbown@users.noreply.github.com> Co-authored-by: CodeWhale Bot <bot@codewhale.net>
10 lines
352 B
JSON
10 lines
352 B
JSON
{
|
|
"_comment": "Ceiling for `#[allow(dead_code)]` across crates/. This number may go down freely; raising it needs a reviewer to say why in the PR. Regenerate with: python3 scripts/check-dead-code-budget.py --update",
|
|
"_issue": "https://github.com/Hmbown/CodeWhale/issues/4785",
|
|
"total": 416,
|
|
"per_crate": {
|
|
"tools": 2,
|
|
"tui": 414
|
|
}
|
|
}
|