Skip to content

fix: sort map keys in renameExportable for deterministic codegen#666

Open
michaelhtm wants to merge 1 commit into
aws-controllers-k8s:mainfrom
michaelhtm:fix/flakycapitalization
Open

fix: sort map keys in renameExportable for deterministic codegen#666
michaelhtm wants to merge 1 commit into
aws-controllers-k8s:mainfrom
michaelhtm:fix/flakycapitalization

Conversation

@michaelhtm
Copy link
Copy Markdown
Member

@michaelhtm michaelhtm commented Feb 19, 2026

Description of changes:
Mutating maps during range causes non-deterministic re-visits of
renamed keys, overwriting OriginalMemberName. Sort before iterating.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ack-prow ack-prow Bot requested review from a-hilaly and jlbutler February 19, 2026 00:27
@ack-prow ack-prow Bot added the approved label Feb 19, 2026
@michaelhtm
Copy link
Copy Markdown
Member Author

/close

@ack-prow ack-prow Bot closed this Feb 20, 2026
@ack-prow
Copy link
Copy Markdown

ack-prow Bot commented Feb 20, 2026

@michaelhtm: Closed this PR.

Details

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@michaelhtm
Copy link
Copy Markdown
Member Author

/reopen

@ack-prow ack-prow Bot reopened this May 13, 2026
@ack-prow
Copy link
Copy Markdown

ack-prow Bot commented May 13, 2026

@michaelhtm: Reopened this PR.

Details

In response to this:

/reopen

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@michaelhtm michaelhtm force-pushed the fix/flakycapitalization branch from 42b7d00 to 0752b22 Compare May 13, 2026 18:55
@gustavodiaz7722
Copy link
Copy Markdown
Member

/LGTM

@ack-prow ack-prow Bot added the lgtm Indicates that a PR is ready to be merged. label May 13, 2026
@ack-prow
Copy link
Copy Markdown

ack-prow Bot commented May 13, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gustavodiaz7722, michaelhtm

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ack-prow ack-prow Bot removed the lgtm Indicates that a PR is ready to be merged. label May 13, 2026
@ack-prow
Copy link
Copy Markdown

ack-prow Bot commented May 13, 2026

New changes are detected. LGTM label has been removed.

Mutating maps during range causes non-deterministic re-visits of
renamed keys, overwriting OriginalMemberName. Sort before iterating.
@michaelhtm michaelhtm force-pushed the fix/flakycapitalization branch from 4aefadc to 1510527 Compare May 13, 2026 21:28
@michaelhtm
Copy link
Copy Markdown
Member Author

/retest

1 similar comment
@michaelhtm
Copy link
Copy Markdown
Member Author

/retest

@michaelhtm michaelhtm changed the title fix: flaky error message field capitalization fix: sort map keys in renameExportable for deterministic codegen May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants