Skip to content

Conversation

davidporter-id-au
Copy link
Member

@davidporter-id-au davidporter-id-au commented Oct 11, 2025

What changed?

in some of the integration-tests, they were not failing over a domain's cluster-attributes correctly. This was due to a bug in the merging-cluster-attributes code which didn't correctly flag the attributes as having changed when they should have. The whole section needs both better validation and more test coverage. I've a few followup PRs for this.

As an aside, there actual input-data is quite weird, so I think there's both some test setup problems which I've not identified and possibly a strange/possibly wrong assumption in the previous attributesByRegion code. But since it's going away maybe that doesn't matter.

Why?

How did you test it?

Potential risks

Release notes

Documentation Changes

_, existsAlready := mergedActiveClusters.AttributeScopes[newScope]
if !existsAlready {
mergedActiveClusters.AttributeScopes[newScope] = newScopeData
isChanged = true
Copy link
Member Author

Choose a reason for hiding this comment

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

the actual fix

@davidporter-id-au davidporter-id-au changed the title Bugfix/fix arr update fix: correct cluster attributes being set when both legacy and new are passed in Oct 11, 2025
@davidporter-id-au davidporter-id-au marked this pull request as ready for review October 11, 2025 18:30
@davidporter-id-au davidporter-id-au enabled auto-merge (squash) October 11, 2025 18:30
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.

1 participant