Skip to content

fix: retry component parameters when dependencies are missing - #11050

Closed
ldming wants to merge 1 commit into
mainfrom
bugfix/componentparameter-dependency-retry
Closed

ldming wants to merge 1 commit into
mainfrom
bugfix/componentparameter-dependency-retry

Conversation

@ldming

@ldming ldming commented Nov 1, 2026

Copy link
Copy Markdown
Collaborator

配置渲染引用的 Service 尚未创建时,ComponentParameter 会忽略依赖的 NotFound,导致 Service 就绪后仍无法生成配置。将任务上下文构建错误交回控制器队列重试,保留目标 ComponentParameter 已删除时的正常退出。

现有 envtest 覆盖目标对象删除、依赖缺失和随后恢复;main 与 release-1.0 均完成红绿对照、参数控制器整包测试及构建,main lint 通过。需要 pick 到 release-1.0,测试夹具需适配。

Fixes #11049

@ldming
ldming requested a review from a team as a code owner November 1, 2026 16:37
@apecloud-bot

Copy link
Copy Markdown
Collaborator

Auto Cherry-pick Instructions

Usage:
  - /nopick: Not auto cherry-pick when PR merged.
  - /pick: release-x.x [release-x.x]: Auto cherry-pick to the specified branch when PR merged.

Example:
  - /nopick
  - /pick release-1.1

CLA Recheck Instructions

Usage:
  - /recheck-cla: Trigger a re-check of CLA status for this pull request.
Example:
  - /recheck-cla

@github-actions github-actions Bot added the size/M Denotes a PR that changes 30-99 lines. label Nov 1, 2026
@ldming ldming added the pick-1.0 Auto cherry-pick to release-1.0 when PR merged label Nov 1, 2026
@ldming ldming closed this Nov 1, 2026
@github-actions github-actions Bot added this to the Release 1.2.0 milestone Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pick-1.0 Auto cherry-pick to release-1.0 when PR merged size/M Denotes a PR that changes 30-99 lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] ComponentParameter does not retry when a referenced Service is created later

2 participants