Skip to content

fix(autonomy): propagate retry errors instead of swallowing in updateNodeStatus - #2789

Open
AruneshDwivedi wants to merge 1 commit into
openyurtio:masterfrom
AruneshDwivedi:fix/autonomy-update-node-status-error-2769
Open

fix(autonomy): propagate retry errors instead of swallowing in updateNodeStatus#2789
AruneshDwivedi wants to merge 1 commit into
openyurtio:masterfrom
AruneshDwivedi:fix/autonomy-update-node-status-error-2769

Conversation

@AruneshDwivedi

Copy link
Copy Markdown

Fixes #2769

When updateNodeStatus exhausts all retries without a successful node
update, the function now returns the accumulated error instead of
silently returning a stale node object. This ensures the proxy caller
is informed of the failure rather than receiving potentially outdated
node status.

…NodeStatus

When updateNodeStatus exhausts all retries without a successful node
update, the function now returns the accumulated error instead of
silently returning a stale node object. This ensures the proxy caller
is informed of the failure rather than receiving potentially outdated
node status.

Signed-off-by: Arunesh Dwivedi <arunesh.devops@gmail.com>
@AruneshDwivedi
AruneshDwivedi requested a review from a team as a code owner August 29, 2026 09:26
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] UpdateNodeStatus silently swallows errors and returns stale node on failure

1 participant