Skip to content

fix(power-agent): cherry-pick keep apiVersion off SPDX comment (#12651) - #12652

Merged
pvijayakrish merged 2 commits into
release/1.4.0from
cherry-pick/release-1.4.0/12651
Aug 5, 2026
Merged

fix(power-agent): cherry-pick keep apiVersion off SPDX comment (#12651)#12652
pvijayakrish merged 2 commits into
release/1.4.0from
cherry-pick/release-1.4.0/12651

Conversation

@kaim-eng

@kaim-eng kaim-eng commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Cherry-pick of both commits from #12651 onto release/1.4.0:

  • 4bb3761f85 — fix the whitespace trim and add the regression suite
  • cafb4f55e6 — remove internal ticket references and bump chart version to 1.3.1

Clears P1 NVBug 6555989 / DYN-3741: the power-agent chart's default DaemonSet path cannot be installed after selecting the required image because a whitespace-trim action glues apiVersion onto the SPDX comment. The same issue affects the opt-in dev-pod path.

Both commits were cherry-picked with -x. Their stable patch IDs match the source commits, and the final deploy/helm/charts/power-agent/ subtree is identical to the #12651 source-branch tip. Actual diff: 4 files, +56/-3.

Main PR

#12651

Validation

  • Both source commits cherry-picked with -x
  • Final power-agent chart subtree matches fix(power-agent): keep apiVersion off SPDX comment line #12651 source tip cafb4f55e6
  • make -C deploy/helm/charts/power-agent lint test passes in release-branch CI: 5 suites, 50 tests
  • Full PR workflow and its status gates pass
  • Pre-merge checks pass

The separate lychee docs-link check is red on two 404 links in untouched docs/fern/features/diffusion/text-to-text/README.md; this PR changes no documentation.

Related

@kaim-eng
kaim-eng requested a review from a team as a code owner August 4, 2026 18:50
@copy-pr-bot

copy-pr-bot Bot commented Aug 4, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions github-actions Bot added fix deployment::k8s Relates to dynamo deployment in kubernetes labels Aug 4, 2026

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Devin Review found 2 potential issues.

Open in Devin Review

Comment on lines +4 to +6
# Regression for DYN-3741 / NVBug 6555989: a right-trim (`-}}`) on the
# silent validateTerminationGracePeriod include ate the newline before
# `apiVersion`, gluing it onto the SPDX comment:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Internal ticket reference included in a shipped test file

An internal-only tracker ID is written into the new chart test file's comment (DYN-3741 at deploy/helm/charts/power-agent/tests/api_version_whitespace_test.yaml:4), which the repository rules forbid in source that ships to main because outside readers cannot resolve it.

Impact: External contributors see a reference they cannot look up, and the repo's ticket-reference policy is violated.

Rule source: .ai/linear-ticket-refs.md via .coderabbit.yaml path instructions

.coderabbit.yaml instructs flagging any <PROJECT>-NNNN Linear ID in added lines of *.yaml files, and .ai/linear-ticket-refs.md says source in the working tree must not carry DYN-XXXX references; they should be replaced with a public GitHub issue number (GH-NNNN / #NNNN). Only *.md docs are exempt. The added comment block also cites the internal NVBug number.

Suggested change
# Regression for DYN-3741 / NVBug 6555989: a right-trim (`-}}`) on the
# silent validateTerminationGracePeriod include ate the newline before
# `apiVersion`, gluing it onto the SPDX comment:
# Regression for GitHub issue #12651: a right-trim (`-}}`) on the
# silent validateTerminationGracePeriod include ate the newline before
# `apiVersion`, gluing it onto the SPDX comment:
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

Comment thread deploy/helm/charts/power-agent/templates/daemonset.yaml
@kaim-eng

kaim-eng commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test 0383183

@datadog-official

This comment has been minimized.

Drop the trailing whitespace-trim on the silent
validateTerminationGracePeriod include so helm does not glue
apiVersion onto the SPDX comment (DYN-3741 / NVBug 6555989).
Add isAPIVersion helm-unittest coverage; template/lint stay green
on the broken render and the old suite did not catch it.

Signed-off-by: Kai Ma <kaim@nvidia.com>
(cherry picked from commit 4bb3761)
Rewrite the regression-test comment without Linear/NVBug IDs and
bump the chart patch version so the install-blocking apiVersion fix
is a distinct chart artifact on main and release/1.4.0.

Signed-off-by: Kai Ma <kaim@nvidia.com>
(cherry picked from commit cafb4f5)
@kaim-eng
kaim-eng force-pushed the cherry-pick/release-1.4.0/12651 branch from 0383183 to 8f4cf2f Compare August 4, 2026 23:53
@kaim-eng

kaim-eng commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test 8f4cf2f

@pvijayakrish
pvijayakrish merged commit a1f5703 into release/1.4.0 Aug 5, 2026
105 of 106 checks passed
@pvijayakrish
pvijayakrish deleted the cherry-pick/release-1.4.0/12651 branch August 5, 2026 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deployment::k8s Relates to dynamo deployment in kubernetes fix size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants