[Git][ghc/ghc][wip/git-fetch-failure] Work around perf note fetch failure
Bryan R (@chreekat)
gitlab at gitlab.haskell.org
Wed Oct 4 09:14:55 UTC 2023
Bryan R pushed to branch wip/git-fetch-failure at Glasgow Haskell Compiler / GHC
Commits:
d0c09a9a by Bryan Richter at 2023-10-04T12:13:17+03:00
Work around perf note fetch failure
Addresses #24055.
- - - - -
1 changed file:
- .gitlab/test-metrics.sh
Changes:
=====================================
.gitlab/test-metrics.sh
=====================================
@@ -17,7 +17,12 @@ fail() {
function pull() {
local ref="refs/notes/$REF"
- run git fetch -f "$NOTES_ORIGIN" "$ref:$ref"
+ # 2023-10-04: `git fetch` started failing, first on Darwin in CI and then on
+ # Linux locally, both using git version 2.40.1. See #24055. One workaround is
+ # to set a larger http.postBuffer, although this is definitely a workaround.
+ # The default should work just fine. The error could be in git, GitLab, or
+ # perhaps the networking tube (including all proxies etc) between the two.
+ run git -c http.postBuffer 2097152 fetch -f "$NOTES_ORIGIN" "$ref:$ref"
echo "perf notes ref $ref is $(git rev-parse $ref)"
}
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d0c09a9a7082d1c88f23e468425c74e4f757ffa0
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d0c09a9a7082d1c88f23e468425c74e4f757ffa0
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20231004/8e6e0be2/attachment-0001.html>
More information about the ghc-commits
mailing list