Conversation
sysinfo (+ its now-dead process-tree feature) and tower-http from the root crate, dirs + serde_json from agent-registry, rayon from agentflare-store's embeddings feature, chrono from flare-git-core, and thiserror/tokio/tower-http from flare-proxy. Confirmed zero references via grep, cargo machete, and a clean cargo build --workspace --all-features.
Confirmed no callers via ctx_callgraph (28,671-edge graph) and a full cargo test --workspace pass (773 passed, 0 failed): - doc_get_version, doc_hard_delete (agentflare-store/documents.rs) - try_daemon_tool_call_blocking (daemon_client.rs) - run_with_timeout (ipc/process.rs) - is_installed (daemon_autostart.rs) - clean_model (embedding_pipeline/download.rs) - list_for_observation (memory/relations.rs) - init_foreground_daemon, is_foreground_daemon (daemon.rs) - needs_think_parsing (flare-proxy/think.rs) - update_status (memory/sessions.rs) - url_for (agentflare-artifacts/server.rs) Also drops the now-unused imports/statics these left behind (daemon.rs's IS_FOREGROUND_DAEMON, daemon_client.rs's daemon import, ipc/process.rs's Duration import).
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (15)
💤 Files with no reviewable changes (14)
📝 WalkthroughWalkthroughThe pull request removes unused dependencies, features, and exported helpers across artifact serving, document storage, embedding downloads, daemon lifecycle, proxy parsing, IPC, and memory modules. It also replaces artifact-specific URL generation with a server base URL helper. ChangesAPI and dependency surface pruning
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
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
Applies agentflare item #239's ponytail-audit findings (2026-07-21): confident, zero-risk cuts verified via
ctx_callgraph(28,671-edge graph) andcargo machete.sysinfo(+ its deadprocess-treefeature) andtower-httpfrom the root crate,dirs/serde_jsonfrom agent-registry,rayonfrom agentflare-store'sembeddingsfeature,chronofrom flare-git-core,thiserror/tokio/tower-httpfrom flare-proxy.doc_get_version,doc_hard_delete,try_daemon_tool_call_blocking,run_with_timeout,is_installed,clean_model,list_for_observation,init_foreground_daemon,is_foreground_daemon,needs_think_parsing,update_status,url_for— plus the now-dead imports/statics they left behind.Two commits: deps, then dead functions.
Test plan
cargo machete— all 9 target deps clean (remaining flags are the audit's known false positives:eyre/rpassword/bytemuck/base64/flare-docsserde)cargo build --workspace --all-features— clean, zero warningscargo test --workspace— 773 passed, 0 failedSummary by CodeRabbit