Flaky worktree test: TestForgeHTTPAuthentication/same_origin fails with non-fast-forward push #1553

Closed
opened 2026-10-27 13:40:51 +00:00 by sam · 1 comment
Owner

Under task check, internal/worktree TestForgeHTTPAuthentication/same_origin sometimes fails at http_test.go:134 with 'push feat/1-test: non-fast-forward update: refs/heads/feat/1-test'. It passes when re-run alone. The test likely shares a remote or branch name with a parallel case. Done when the test passes 50 runs under -count=50 -race.

Close reason

Closed


Imported from beads archie-core-rqzy4 · GitHub #1576 · type bug · priority P3 · created 2026-10-10 · closed 2026-10-10

Under task check, internal/worktree TestForgeHTTPAuthentication/same_origin sometimes fails at http_test.go:134 with 'push feat/1-test: non-fast-forward update: refs/heads/feat/1-test'. It passes when re-run alone. The test likely shares a remote or branch name with a parallel case. Done when the test passes 50 runs under -count=50 -race. ### Close reason Closed --- _Imported from beads `archie-core-rqzy4` · GitHub #1576 · type bug · priority P3 · created 2026-10-10 · closed 2026-10-10_
sam added the lowbug labels 2026-10-27 13:40:51 +00:00
sam self-assigned this 2026-10-27 13:40:51 +00:00
sam closed this issue 2026-10-27 13:40:51 +00:00
Author
Owner

sam wrote (originally 2026-10-10):

Fixed in 5124bfd4: each transport subtest now uses its own issue number, so each gets its own branch and worktree instead of all pushing feat/1-test into the shared bare repo. Acceptance met: go test -short -run TestForgeHTTPAuthentication -count=50 -race ./internal/worktree/ -> ok (10.4s).

_sam wrote (originally 2026-10-10):_ Fixed in 5124bfd4: each transport subtest now uses its own issue number, so each gets its own branch and worktree instead of all pushing feat/1-test into the shared bare repo. Acceptance met: go test -short -run TestForgeHTTPAuthentication -count=50 -race ./internal/worktree/ -> ok (10.4s).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1553