[Nix#9153] fetchGit
transient failure not retried, Empty reply from server #108
Labels
No labels
Area/build-packaging
Area/cli
Area/evaluator
Area/flakes
Area/language
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/store
bug
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
RFD
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
ux
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#108
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Upstream-Issue: NixOS/nix#9153
Describe the bug
Git fetching should retry if the fetcher fails after a
git fetch
/git pull
failure.Steps To Reproduce
fetchGit
with arev
that hasn't been fetched yet. (in my case,ref
was also specified, and I used an http url to a private github.com repo)This was a transient failure. The next evaluation fetched it correctly.
Expected behavior
Perform a retry of the entire fetcher if a possible network error was detected.
Approximately:
rev
(if we don't care about testing that a rev still exists - idk, configurable?)git fetch
or similar. Retry this step, because we know that we need it to work. Don't retry a missing ref or permission error.nix-env --version
output2.11
Additional context
Priorities
Add 👍 to issues you find important.