Skip to content

Conversation

@mkysel
Copy link
Collaborator

@mkysel mkysel commented Oct 3, 2025

Add a unit test in pkg/payerreport that verifies payerreport.PackSortAndHashNodeIDs returns identical hashes for different orderings of the same node IDs

Introduce a new test that computes a baseline hash from a slice of node IDs and asserts that payerreport.PackSortAndHashNodeIDs produces the same hash for multiple permutations of the same IDs.

  • Add TestNodeOrderPacksToSameHash in report_test.go to validate order-invariant hashing behavior

📍Where to Start

Start with TestNodeOrderPacksToSameHash in report_test.go.


Macroscope summarized e01d137.

@mkysel mkysel requested a review from a team as a code owner October 3, 2025 13:56
@graphite-app
Copy link

graphite-app bot commented Oct 3, 2025

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • Queue - adds this PR to the back of the merge queue
  • Hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@mkysel mkysel merged commit 40063b7 into main Oct 3, 2025
11 checks passed
@mkysel mkysel deleted the mkysel/minitest branch October 3, 2025 14:53
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.

3 participants