Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • .gitlab/test-metrics.sh
    ... ... @@ -17,12 +17,14 @@ fail() {
    17 17
     
    
    18 18
     function pull() {
    
    19 19
       local ref="refs/notes/$REF"
    
    20
    -  # 2023-10-04: `git fetch` started failing, first on Darwin in CI and then on
    
    21
    -  # Linux locally, both using git version 2.40.1. See #24055. One workaround is
    
    22
    -  # to set a larger http.postBuffer, although this is definitely a workaround.
    
    23
    -  # The default should work just fine. The error could be in git, GitLab, or
    
    24
    -  # perhaps the networking tube (including all proxies etc) between the two.
    
    25
    -  run git -c http.postBuffer=2097152 fetch -f "$NOTES_ORIGIN" "$ref:$ref"
    
    20
    +
    
    21
    +  # Fetch performance notes from a dedicated promisor remote using a
    
    22
    +  # treeless filter, so that individual note blobs are fetched lazily
    
    23
    +  # as needed.
    
    24
    +  git remote add perf-notes "$NOTES_ORIGIN" || true
    
    25
    +  git config fetch.recurseSubmodules false
    
    26
    +  git config remote.perf-notes.partialclonefilter tree:0
    
    27
    +  run git fetch --force perf-notes "$ref:$ref"
    
    26 28
       echo "perf notes ref $ref is $(git rev-parse $ref)"
    
    27 29
     }
    
    28 30
     
    
    ... ... @@ -81,4 +83,3 @@ case $1 in
    81 83
       pull) pull ;;
    
    82 84
       *) fail "Invalid mode $1" ;;
    
    83 85
     esac
    84
    -