[Git][ghc/ghc][wip/backports-9.8] Work around perf note fetch failure

Ben Gamari (@bgamari) gitlab at gitlab.haskell.org
Fri Oct 6 08:53:31 UTC 2023



Ben Gamari pushed to branch wip/backports-9.8 at Glasgow Haskell Compiler / GHC


Commits:
b238204e by Bryan Richter at 2023-10-06T04:53:24-04:00
Work around perf note fetch failure

Addresses #24055.

(cherry picked from commit 63afb701a1638d7bd32c34fb24a9fd3ff897b634)

- - - - -


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/b238204e4621f474393f4585fa1cce9c094b2885

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b238204e4621f474393f4585fa1cce9c094b2885
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/20231006/28bd8438/attachment.html>


More information about the ghc-commits mailing list