buildkite / buildkite/agent

Don’t retry EPERM issues relating to git-mirrors

Open
#1,480 0 comments 0 reactions 0 assignees View on GitHub
git-mirrors
Dominant language
Go
Stars
1.1k
Forks
378
Avg merge
2d 6h
Merged PRs (30d)
74

Description

See https://github.com/buildkite/agent/issues/1017#issuecomment-861906324 for context on this. This is a non-recoverable error we should detect and bail on using mirrors when it occurs.

Contributor guide

Open the contributing guide

Research direction

Start with the linked issue comment for the missing context, then locate the git-mirror retry handling in the agent. Confirm how EPERM errors are identified and verify that this case stops mirror retries rather than being treated as recoverable.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.