Skip to content

Sort hash output#282

Merged
passsy merged 1 commit intophntmxyz:mainfrom
danielmolnar:sort-hash-output
Mar 18, 2026
Merged

Sort hash output#282
passsy merged 1 commit intophntmxyz:mainfrom
danielmolnar:sort-hash-output

Conversation

@danielmolnar
Copy link
Copy Markdown
Contributor

Sort hash output for stable CLI recompile detection

The computeHash() function in run.sh hashes source files to detect when the CLI needs recompilation. Previously, the hash depended on the order find returned files, which can vary across filesystems and platforms. This caused spurious recompiles when the file order changed but the content did not.

Adding | sort to the pipeline ensures the hash is computed over a stable, ordered list of file hashes, making recompile detection consistent across environments.

@danielmolnar danielmolnar requested a review from passsy March 18, 2026 16:05
@passsy passsy merged commit d05c6b9 into phntmxyz:main Mar 18, 2026
9 checks passed
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.

2 participants