Skip to content

Conversation

@copybara-service
Copy link

Keep packed vector configs order stable by using BTreeMap instead of HashMap

Encryption packs messages in the order of packed vector configs, and decryption assumes it's the same.
HashMap does not guarantee that the order remains stable across executions.

@copybara-service copybara-service bot force-pushed the test_852437085 branch 3 times, most recently from efcd208 to e7cfe0b Compare January 7, 2026 19:18
…HashMap

Encryption packs messages in the order of packed vector configs, and decryption assumes it's the same.
HashMap does not guarantee that the order remains stable across executions.

PiperOrigin-RevId: 853341985
@copybara-service copybara-service bot merged commit 83c763f into main Jan 7, 2026
@copybara-service copybara-service bot deleted the test_852437085 branch January 7, 2026 19:21
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