chore: remove deprecated forest-cli send#6010
Conversation
WalkthroughRemoved the deprecated CLI "send" subcommand from the codebase: deleted its module/file, removed the Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor User
participant CLI as forest-cli
participant RPC as Node RPC
rect rgba(200,230,255,0.25)
note over User,CLI: Previous (before this change)
User->>CLI: forest-cli send --to ... --amount ...
CLI->>RPC: MpoolPushMessage(Message)
RPC-->>CLI: CID
CLI-->>User: Print CID
end
sequenceDiagram
autonumber
actor User
participant CLI as forest-cli
rect rgba(255,220,200,0.25)
note over User,CLI: Current (after this change)
User->>CLI: forest-cli send ...
CLI-->>User: Subcommand not found / unsupported
note over User,CLI: Use forest-wallet send instead
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
✅ Files skipped from review due to trivial changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (7)
✨ Finishing Touches
🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
1bd54fe to
1969f4a
Compare
There was a problem hiding this comment.
Actionable comments posted: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (4)
CHANGELOG.md(1 hunks)src/cli/main.rs(0 hunks)src/cli/subcommands/mod.rs(1 hunks)src/cli/subcommands/send_cmd.rs(0 hunks)
💤 Files with no reviewable changes (2)
- src/cli/main.rs
- src/cli/subcommands/send_cmd.rs
🧰 Additional context used
🧠 Learnings (1)
📓 Common learnings
Learnt from: LesnyRumcajs
PR: ChainSafe/forest#5907
File: src/rpc/methods/state.rs:523-570
Timestamp: 2025-08-06T15:44:33.467Z
Learning: LesnyRumcajs prefers to rely on BufWriter's Drop implementation for automatic flushing rather than explicit flush() calls in Forest codebase.
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (8)
- GitHub Check: tests
- GitHub Check: tests-release
- GitHub Check: Build forest binaries on Linux AMD64
- GitHub Check: cargo-publish-dry-run
- GitHub Check: Build Ubuntu
- GitHub Check: All lint checks
- GitHub Check: Analyze (go)
- GitHub Check: Analyze (rust)
c268a2c
Pull Request is not mergeable
Summary of changes
Changes introduced in this pull request:
forest-cli sendsubcommand was deprecated in April 2024. Time to get rid of it.Reference issue to close (if applicable)
Closes
Other information and links
Change checklist
Summary by CodeRabbit
Chores
Documentation
Notes for Users