Skip to content

test(key-recovery): deterministic non-OneHook QR case - #26

Merged
pushpsood merged 1 commit into
mainfrom
fix/key-recovery-test-deterministic
Nov 4, 2026
Merged

pushpsood merged 1 commit into
mainfrom
fix/key-recovery-test-deterministic

Conversation

@pushpsood

Copy link
Copy Markdown
Owner

Fixes the flaky test that failed the frontend pipeline run for 310f4a0. Random 120-byte input produced a base45 string starting/ending with a space ~2.4% of the time (119/5000, all with an edge space); open() trims, so it decoded as 'corrupt'. Test-only change.

Random bytes failed ~2.4% of runs: base45 includes a space and open() trims the scanned text, so a
random code with a leading/trailing space decoded misaligned ('corrupt'). Use fixed foreign bytes.
@pushpsood
pushpsood merged commit 08ed20e into main Nov 4, 2026
1 check passed
@pushpsood
pushpsood deleted the fix/key-recovery-test-deterministic branch November 4, 2026 20:46
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.

1 participant