Skip to content

Conversation

@joehendrix
Copy link
Contributor

This is designed to address one of the non-deterministic build failures I've seen.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@joehendrix joehendrix marked this pull request as ready for review January 15, 2026 20:12
@joehendrix joehendrix requested a review from a team as a code owner January 15, 2026 20:12
@joehendrix joehendrix changed the title Introduce functionr for replacing StdGen in IO with known seed. Introduce function for replacing StdGen in IO with known seed. Jan 15, 2026

#guard_msgs(drop info) in
#eval do
#eval Strata.Util.withStdGenSeed 0 do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not 42?

Copy link
Contributor

@aqjune-aws aqjune-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed that this patch makes the result deterministic by randomly running the examples several times, and left a Github issue recording this

@joehendrix joehendrix enabled auto-merge January 15, 2026 21:47
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