[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:03:52 UTC 2023



Bryan R pushed to branch wip/git-fetch-failure at Glasgow Haskell Compiler / GHC


Commits:
bd94e760 by Bryan Richter at 2023-10-04T12:03:33+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 fetch -c http.postBuffer 2097152 -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/bd94e760a9ffec436c5c44cd18f34126876720df

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/bd94e760a9ffec436c5c44cd18f34126876720df
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/4be17a89/attachment-0001.html>


More information about the ghc-commits mailing list