[Git][ghc/ghc][wip/git-fetch-failure] Work around perf note fetch failure
Bryan R (@chreekat)
gitlab at gitlab.haskell.org
Wed Oct 4 10:49:25 UTC 2023
Bryan R pushed to branch wip/git-fetch-failure at Glasgow Haskell Compiler / GHC
Commits:
d6eb5d86 by Bryan Richter at 2023-10-04T13:48:13+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/d6eb5d8604b5972ed348c33e28a97f60c8900197
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d6eb5d8604b5972ed348c33e28a97f60c8900197
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/16b0716e/attachment.html>
More information about the ghc-commits
mailing list