Skip to content

Conversation

@austb
Copy link
Contributor

@austb austb commented Jan 8, 2026

touch-parameter-value for strings could return the identical string, causing touch-parameters to produce unchanged output. This happened when empty strings were selected or random generation happened to produce the same string (which is only plausible for very short strings).

Fix by converting empty strings to single character so that the string is different and retrying up to 5 times for non-empty strings.

@austb
Copy link
Contributor Author

austb commented Jan 8, 2026

Before this commit, I hit the transient twice in 25 test runs. After this commit, I had 100 successful runs in a row.

@nmburgan
Copy link
Member

nmburgan commented Jan 8, 2026

Different transient?

touch-parameter-value for strings could return the identical string,
causing touch-parameters to produce unchanged output. This happened when
empty strings were selected or random generation happened to produce the
same string (which is only plausible for _very_ short strings).

Fix by converting empty strings to single character so that the string
is different and retrying up to 5 times for non-empty strings.
@austb austb force-pushed the fix-transient-benchmark-test branch from 80f4306 to c2362b6 Compare January 8, 2026 14:55
@austb
Copy link
Contributor Author

austb commented Jan 8, 2026

I think that transient was me missing a test that need a small tweak after my change. I think that force push should do it.

@austb austb merged commit c2362b6 into main Jan 8, 2026
28 checks passed
@austb austb deleted the fix-transient-benchmark-test branch January 8, 2026 15:14
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