Skip to content

test(box): the review test no longer fails when a commit's hash ends in 0 - #55

Merged
sean-brydon merged 1 commit into
mainfrom
fix/prreview-flaky-test
Oct 11, 2026
Merged

sean-brydon merged 1 commit into
mainfrom
fix/prreview-flaky-test

Conversation

@sean-brydon

Copy link
Copy Markdown
Collaborator

TestAReviewIsMadeAtTheConfirmedCommitAndNothingElse made an "unseen" commit by replacing the last digit of the real hash with 0. When the real hash already ended in 0, that was the same commit, the update was (rightly) not refused, and the test failed: about one run in sixteen. It failed full local runs on two unrelated branches today.

The unseen hash now differs in its last digit whatever that digit is.

Checked: go vet ./internal/box/ and the test with -race -count=40, all pass. Test-only change.

🤖 Generated with Claude Code

…in 0

It made an "unseen" commit by replacing the last digit of the real one
with 0, so one run in sixteen asked to update to the commit already
checked out and was, rightly, not refused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
berth Ready Ready Preview Oct 11, 2026 9:58pm UTC
berth-docs Ready Ready Preview Oct 11, 2026 9:58pm UTC

Request Review

@sean-brydon
sean-brydon merged commit 1f15ef5 into main Oct 11, 2026
8 checks passed
@linear-code

linear-code Bot commented Oct 11, 2026

Copy link
Copy Markdown

ENG-5894

This branch was successfully deployed

2 active deployments
Preview – berth-docs — a59f71e8 Deployed Oct 11, 2026 by vercel[bot]
Preview – berth — a59f71e8 Deployed Oct 11, 2026 by vercel[bot]
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