Skip to content

Fix null targets in kperf pipeline steps - #1372

Merged
Liyu Ma (liyu-ma) merged 1 commit into
v2from
fix/kperf-unset-target
Nov 6, 2026
Merged

Liyu Ma (liyu-ma) merged 1 commit into
v2from
fix/kperf-unset-target

Conversation

@liyu-ma

@liyu-ma Liyu Ma (liyu-ma) commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Reason for change: Azure Pipelines can interpret target: null as a container resource named null and reject the job before execution. Pipline failed to start with error msg "A container resource with name null could not be found. The container resource does not exist."
  • Fix: default target to Undefined in RunKperfBenchmark and RunKperfRunnerGroup so KCL omits the field when callers do not specify it.
  • Regenerate the cluster-health pipeline to remove 81 target: null entries.

Validation

  • Compiled both existing consumer pipelines with KCL 0.13.
  • Verified cluster-health output only loses the null fields and the configmaps pipeline output is unchanged.
  • git diff --check passed.
  • Test run in ADO performed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@xinWeiWei24 xinWeiWei24 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@liyu-ma
Liyu Ma (liyu-ma) merged commit c370c1d into v2 Nov 6, 2026
6 checks passed
@liyu-ma
Liyu Ma (liyu-ma) deleted the fix/kperf-unset-target branch November 6, 2026 00:42
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.

3 participants