-
Notifications
You must be signed in to change notification settings - Fork 135
fix(pegboard): fix actors getting destroyed on runner shutdown #3499
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
Code ReviewSummaryThis PR fixes a critical bug where actors with AnalysisPrevious Behavior (Bug):
New Behavior (Fix):
Code Quality: ✅ ExcellentStrengths:
Potential Issues:
|
5552b74 to
815c918
Compare
815c918 to
986289f
Compare
0f48573 to
3b027cc
Compare
Code ReviewSummaryThis PR fixes a bug where actors with AnalysisThe Bug: match (input.crash_policy, failed) {
(CrashPolicy::Sleep, true) => { /* sleep */ }
// ...
}This meant that actors with The Fix: match input.crash_policy {
CrashPolicy::Sleep => {
if failed {
tracing::debug!("actor sleeping due to crash");
} else {
tracing::debug!("actor sleeping due to clean shutdown");
}
state.sleeping = true;
// ...
}
}✅ Strengths
🔍 Observations
Minor Suggestions
Security & Performance
VerdictLGTM 🚀 This is a good bug fix that corrects the actor lifecycle behavior. The change is minimal, focused, and improves both correctness and observability. The suggestions above are optional enhancements. The title accurately describes the fix: actors with sleep policy will no longer be incorrectly destroyed on runner shutdown. |
|
See #3501 |
Code Review - PR #3499SummaryThis PR fixes a bug where actors with ✅ Code Quality: ExcellentWhat Changed:
Why This Matters: 🎯 CorrectnessThe fix is semantically correct:
The 📊 Improvements Made
🔍 Observations & Suggestions
🔒 Security & Performance
✨ Verdict: LGTMThis is a clean, focused bug fix that addresses a critical issue in actor lifecycle management. The change is minimal, well-reasoned, and improves both correctness and observability. Recommendation: Approve and merge as part of the stack. |

No description provided.