-
Notifications
You must be signed in to change notification settings - Fork 133
chore: rename retry -> hibernate in runner protocol #3473
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
base: 11-13-fix_udb_update_backoff_algo
Are you sure you want to change the base?
chore: rename retry -> hibernate in runner protocol #3473
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
How to use the Graphite Merge QueueAdd the label merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Code ReviewSummaryThis PR performs a straightforward renaming of the Positive Aspects ✅
Issues Found 🔍1. Unrelated Import Reordering (Minor)File: The import order change appears unrelated to the PR's purpose: -use base64::prelude::BASE64_STANDARD;
use base64::Engine;
+use base64::prelude::BASE64_STANDARD;Recommendation: This formatting change should either be:
2. Unrelated Formatting Changes (Minor)File: The multiline formatting of the -"/actors/{}/kv/keys/{}", path.actor_id, urlencoding::encode(&path.key)
+&format!(
+ "/actors/{}/kv/keys/{}",
+ path.actor_id,
+ urlencoding::encode(&path.key)
+)Recommendation: Consider reverting this change to keep the PR focused on the 3. Assert Function and Whitespace Changes (Minor)File: Multiple unrelated changes:
Recommendation: While these are generally good cleanups:
Per CLAUDE.md: "Do not run ./scripts/cargo/fix.sh. Do not format the code yourself." These formatting changes may have been unintentional. Recommendations 📝
Security & Performance ✅
Overall AssessmentThis is a clean refactoring PR that improves code clarity. The core change (rename) is well-executed and comprehensive. The only concerns are minor unrelated formatting changes that could be cleaned up to keep the PR focused. Recommendation: Approve with minor cleanup suggestions. |
9b619f4 to
267ddc0
Compare
7ec4550 to
bbe84e7
Compare
Code ReviewThank you for this PR! The rename from ✅ Strengths
🐛 Issues FoundCritical: Missing update in stringify.ts The file // Line 61-64
const { code, reason, retry } = kind.val;
const codeStr = code === null ? "null" : code.toString();
const reasonStr = reason === null ? "null" : `"${reason}"`;
return `ToServerWebSocketClose{code: ${codeStr}, reason: ${reasonStr}, retry: ${retry}}`;This should be updated to: const { code, reason, hibernate } = kind.val;
// ...
return `ToServerWebSocketClose{code: ${codeStr}, reason: ${reasonStr}, hibernate: ${hibernate}}`;Location: 📝 Minor Observations
✅ Security & Performance
🧪 Testing RecommendationGiven that this is a protocol-level change:
SummaryThis is a solid refactoring that improves code clarity. The main action item is to fix the missing rename in |
Code ReviewThis PR renames the Positives
Issues Found
SecurityNo security concerns identified. This is a straightforward rename that doesn't change the protocol's security properties. PerformanceNo performance impact - this is a pure rename. Recommendations
SummaryThis is a good refactoring that improves code clarity. However, there's at least one file (stringify.ts) that was missed and will cause a compilation error. The PR should not be merged until that's fixed. |

No description provided.