-
Notifications
You must be signed in to change notification settings - Fork 181
fix: error caused by --skip-load-actors #6260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThe pull request removes the Changes
Sequence Diagram(s)sequenceDiagram
participant Main as Forest Main
participant Daemon as Daemon
participant Rewind as maybe_rewind_heaviest_tipset
participant Store as Actor Store
Main->>Daemon: start_services()
rect rgb(240, 248, 255)
Note over Daemon: NEW: Check stateless && skip_load_actors flags
end
alt NOT (stateless OR skip_load_actors)
Daemon->>Rewind: Call rewind
alt Success
Rewind->>Store: Access actor data
Rewind-->>Daemon: Success
else Error (e.g., missing actors)
rect rgb(255, 240, 240)
Note over Daemon: NEW: Log warning instead of fail
end
Rewind-->>Daemon: Error
Daemon->>Daemon: Log error as warning
Daemon-->>Main: Continue
end
else Stateless OR skip_load_actors
rect rgb(255, 250, 205)
Note over Daemon: NEW: Skip rewind call
end
Daemon-->>Main: Continue
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested reviewers
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
🧰 Additional context used🧠 Learnings (3)📓 Common learnings📚 Learning: 2025-09-16T12:55:26.955ZApplied to files:
📚 Learning: 2025-08-07T09:37:03.079ZApplied to files:
🧬 Code graph analysis (1)src/daemon/mod.rs (3)
⏰ 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). (6)
🔇 Additional comments (3)
Comment |
| pkill -9 forest || true | ||
| local filter_list=$1 | ||
|
|
||
| $FOREST_PATH --chain calibnet --encrypt-keystore false --log-dir "$LOG_DIRECTORY" --skip-load-actors --stateless --rpc-filter-list "$filter_list" & |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--stateless implies --skip-load-actors
Summary of changes
Changes introduced in this pull request:
Reference issue to close (if applicable)
Closes #6259
Other information and links
Change checklist
Summary by CodeRabbit
Release Notes
✏️ Tip: You can customize this high-level summary in your review settings.