Skip to content

fix(scanner): sort kernels by filename for deterministic output#290

Merged
p-linnane merged 1 commit into
mainfrom
fix/deterministic-kernel-order
Mar 29, 2026
Merged

fix(scanner): sort kernels by filename for deterministic output#290
p-linnane merged 1 commit into
mainfrom
fix/deterministic-kernel-order

Conversation

@p-linnane
Copy link
Copy Markdown
Member

Sort kernel results after withTaskGroup to ensure consistent ordering across scan runs of the same IPSW. Without this, the kernels array order varies non-deterministically between runs.

`withTaskGroup` returns results in non-deterministic order, causing
kernel array ordering to vary between scan runs of the same IPSW.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Patrick Linnane <patrick@linnane.io>
@p-linnane p-linnane merged commit d222434 into main Mar 29, 2026
6 checks passed
@p-linnane p-linnane deleted the fix/deterministic-kernel-order branch March 29, 2026 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant