fix(pb): fix pool config defaults#4774
fix(pb): fix pool config defaults#4774MasterPtato wants to merge 1 commit into04-24-fix_pb_remove_actor_sleep_ts_when_allocatedfrom
Conversation
|
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.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
1afa22c to
fd614fc
Compare
a37d543 to
ac730ee
Compare
Code ReviewThis PR makes three targeted bug fixes to pool config defaults. All changes are correct and address real issues. Some notes below. Change 1:
|
Code Review: fix(pb): fix pool config defaultsOverviewThis PR fixes three bugs in pool configuration defaults:
Analysis✅
|
| Change | Assessment |
|---|---|
drain_on_version_upgrade default → true |
✅ Correct, safer default |
drain_grace_period default → 10 |
✅ Correct unit fix |
slots_per_runner.max(1) div-by-zero guard |
✅ Correct defensive fix |
v4→v5 migration drain_grace_period: 10_000 (line 312 in namespace_runner_config.rs) |
Suggested follow-up: Update the v4→v5 migration default at engine/sdks/rust/data/src/versioned/namespace_runner_config.rs:312 from 10_000 to 10 to match this fix, or document why it should remain different. The comment on that line references the same deprecated config as justification.

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: