Repository navigation
Revert learned node rates (#129) - #130
Conversation
|
ⓘ Qodo reviews are paused because your trial has ended. Ask your workspace admin to add credits to resume reviews. Manage billing |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
PR Summary by QodoRevert learned Hive node rates after production throttling
AI Description
Merge Risk
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can turn on the rule miner and Qodo learns your standards from review history |
[Medium impact] The rollback appears safe to merge, with no actionable findings beyond the explicitly deferred behavior. SummaryReverts #129 and restores the exact tree from before learned node rates were merged.
Tests were not run during this review. Reviews (1) · Last reviewed commit: "Revert "Merge pull request #129 from ece..." · Reviewed by Greptile |
Reverts #129. Reopens #128.
In production, within ten minutes of the deploy, every node's learned rate fell to the floor (0.5/s) and every node sat parked at the top of the 10/20/40/60s ladder. The share of upstream requests answered 429 rose well above what it was before #129, and fewer calls were answered.
Likely cause: when every node is parked, each call still sends one probe, with no limit across concurrent calls, so a parked node receives a stream of probes. Each probe is sent after the node's last rate decrease, so each of its 429s counts as a new signal: it halves the rate again and climbs the ladder, and the pool stays parked. The simulations ran at much lower concurrency than production and did not show this.
The tree after this revert is identical to
mainbefore the merge, the code production ran until the deploy.dotnet test EcencyApi.Tests: 894 passed.Follow-up on #128: at most one probe in flight per rate-parked node, and a 429 for a call sent into a park does not climb the ladder. Then a simulation at production concurrency before trying again.
Summary by CodeRabbit