Skip to content

fix: include resource identity in single-change dyff output - #1089

Open
sean0407 wants to merge 1 commit into
databus23:masterfrom
sean0407:codex/dyff-single-resource-identity
Open

sean0407 wants to merge 1 commit into
databus23:masterfrom
sean0407:codex/dyff-single-resource-identity

Conversation

@sean0407

Copy link
Copy Markdown

Summary

When dyff compares one changed resource, its output omits the Kubernetes root description. Print the existing report key before the dyff details when there is exactly one entry.

Fixes #728.

Evidence

  • Before: An isolated probe against the unchanged base printed spec.parallelism and its old/new values without the resource identity.
  • After: The regression test confirms the output includes default, heat-trusts, Job (batch) and the field diff.
  • Validation: go test ./diff -count=1 passed.

Merge Danger

Door: Two-way

Blast Radius: Output formatting for single-entry dyff reports.

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.

Resource type and name information is omitted when there is one change in dyff output format

1 participant