chore: honor kbagent action retry policy#10361
Conversation
|
Auto Cherry-pick Instructions CLA Recheck Instructions |
648424a to
2225d3b
Compare
|
/nopick |
2225d3b to
52094ef
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #10361 +/- ##
==========================================
+ Coverage 61.85% 62.07% +0.22%
==========================================
Files 533 533
Lines 63621 63678 +57
==========================================
+ Hits 39354 39531 +177
+ Misses 20672 20556 -116
+ Partials 3595 3591 -4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Runtime focused validation completed for the affected Redis reconfigure path. Scope:
Result: Evidence package:
Identity and action evidence checked:
Caveat:
|
The action API defines 60s as the maximum synchronous execution timeout. Revert the constant, API comment, test, and regenerated CRDs/docs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
[P2] The PR description and validation evidence are stale after head |
|
Updated PR description for head
|
Problem
kbagent action service only used
req.RetryPolicywhen executing actions. The action-levelretryPolicydeclared in the Action definition was registered into the action table but never consulted at call time.This makes the addon-side pattern
exit non-zero + retryPolicyunreliable — the reconfigure path passes runtimeReconfigureArgsbut not a request-level retry policy, so an action-levelretryPolicywas ineffective on this path. The same issue affected non-blocking calls.Solution
Validation
Unit tests pass on head
4ef8731d82df59e58bd2c2ba7fff9c99d1480ee0:Test cases cover:
Boundary
This PR only changes action-level retry policy resolution in kbagent. It does not change
maxActionCallTimeout, CRDs, or API docs.