Skip to content

test: pin verify-refs fixture hashes so a digits-only prefix cannot flake it - #230

Merged
androidand merged 1 commit into
mainfrom
fix/flaky-verify-refs-test
Nov 11, 2026
Merged

androidand merged 1 commit into
mainfrom
fix/flaky-verify-refs-test

Conversation

@androidand

Copy link
Copy Markdown
Owner

The verify-refs fixture made commits with random hashes. looksLikeHash needs a digit and a letter, so about 1.5% of runs a 9-character prefix was all digits and the reference was skipped, failing TestVerifyRefsHashChecksRunWithoutAProviderLookup.

Commit dates are now pinned, so the hashes are fixed, and the fixture fails loudly if a prefix would not read as a hash. 30 consecutive runs pass.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Deploying specsync with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8fec94e
Status: ✅  Deploy successful!
Preview URL: https://150a63d1.specsync.pages.dev
Branch Preview URL: https://fix-flaky-verify-refs-test.specsync.pages.dev

View logs

@androidand
androidand merged commit 4fa1b70 into main Nov 11, 2026
2 checks passed
@androidand
androidand deleted the fix/flaky-verify-refs-test branch November 11, 2026 13:19
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