Artifactspublic-v0

curl

master
ply4 git calls138 ms289 KiB2 cachedprotocol v2
245 lines6.5 KiBRaw
1# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
2#
3# SPDX-License-Identifier: curl
5# This workflow contains checks at the source code level only.
7name: 'Source'
9'on':
10 push:
11 branches:
12 - master
13 - 'curl-*'
14 - '*/ci'
15 paths-ignore:
16 - 'appveyor.*'
17 - 'Dockerfile'
18 pull_request:
19 branches:
20 - master
21 - 'curl-*'
22 paths-ignore:
23 - 'appveyor.*'
24 - 'Dockerfile'
26concurrency:
27 group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
28 cancel-in-progress: true
30permissions: {}
31cache-mode: none
33env:
34 DO_NOT_TRACK: '1'
36jobs:
37 checksrc:
38 name: 'checksrc'
39 runs-on: ubuntu-slim
40 steps:
41 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
42 with:
43 persist-credentials: false
45 - name: 'check'
46 run: scripts/checksrc-all.pl
48 linters:
49 name: 'spellcheck, linters, REUSE'
50 runs-on: ubuntu-26.04-arm
51 steps:
52 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
53 with:
54 persist-credentials: false
56 - name: 'cmake options in documentation'
57 background: true
58 run: scripts/cmakeopts.sh
60 - name: 'labelercheck'
61 background: true
62 run: .github/scripts/labelercheck.sh
64 - name: 'perlcheck'
65 background: true
66 run: scripts/perlcheck.sh
68 - name: 'install brew packages'
69 background: true
70 timeout-minutes: 2
71 uses: $/.github/actions/pkg-install
72 with:
73 brew: pyrefly typos-cli
75 - name: 'install prereqs'
76 uses: $/.github/actions/pkg-install
77 with:
78 pip: |
79 -r .github/scripts/requirements.txt
80 -r tests/http/requirements.txt
82 - name: 'REUSE check'
83 background: true
84 run: |
85 source ~/venv/bin/activate
86 reuse lint
88 - name: 'cmakelint'
89 background: true
90 run: |
91 source ~/venv/bin/activate
92 scripts/cmakelint.sh
94 - name: 'ruff'
95 background: true
96 run: |
97 source ~/venv/bin/activate
98 scripts/pythonlint.sh
100 - name: 'wait-all'
101 wait-all:
103 - name: 'pyrefly'
104 background: true
105 run: |
106 eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
107 cd tests/http/
108 pyrefly check --python-version=3.8 --preset=basic --check-unannotated-defs --summary
110 - name: filter off code from all C and H files
111 run: |
112 git ls-files -z '**.[ch]' | xargs -0 -r -n1 .github/scripts/c-strip
114 - name: 'typos'
115 background: true
116 run: |
117 eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
118 typos --version
119 .github/scripts/typos.sh
121 - name: 'codespell'
122 run: |
123 source ~/venv/bin/activate
124 codespell --version
125 .github/scripts/codespell.sh
127 pytype:
128 name: 'pytype'
129 runs-on: ubuntu-24.04-arm # pytype is discontinued and requires python 3.8-3.12
130 steps:
131 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
132 with:
133 persist-credentials: false
135 - name: 'install prereqs'
136 uses: $/.github/actions/pkg-install
137 with:
138 pip: |
139 pytype==2024.10.11
140 -r .github/scripts/requirements.txt
141 -r tests/http/requirements.txt
143 - name: 'check'
144 run: |
145 source ~/venv/bin/activate
146 find . -name '*.py' -exec pytype -j auto -k -- {} +
148 complexity:
149 name: 'complexity and function sizes'
150 runs-on: ubuntu-slim
151 timeout-minutes: 3
152 steps:
153 - name: 'install pmccabe'
154 timeout-minutes: 2
155 uses: $/.github/actions/pkg-install
156 with:
157 apt: pmccabe
159 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
160 with:
161 persist-credentials: false
163 - name: 'check function complexity'
164 run: ./scripts/top-complexity
166 - name: 'check function lengths'
167 run: ./scripts/top-length
169 xmllint:
170 name: 'xmllint'
171 runs-on: ubuntu-slim
172 timeout-minutes: 3
173 steps:
174 - name: 'install prereqs'
175 timeout-minutes: 2
176 uses: $/.github/actions/pkg-install
177 with:
178 apt: libxml2-utils
180 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
181 with:
182 persist-credentials: false
184 - name: 'check'
185 run: git grep -z -i -l -E '^<\?xml' | xargs -0 -r xmllint --output /dev/null
187 miscchecks:
188 name: 'misc checks'
189 runs-on: ubuntu-26.04-arm
190 timeout-minutes: 5
191 steps:
192 - name: 'install prereqs'
193 timeout-minutes: 2
194 uses: $/.github/actions/pkg-install
195 with:
196 brew: shellcheck zizmor
198 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
199 with:
200 persist-credentials: false
202 - name: 'zizmor (prepare)'
203 # Replace custom bash-like shell designators with the standard one to make linters process them
204 run: sed -i.bak -E 's/shell\x3a .+ zizmor\x3a ignore.+$/shell\x3a bash/g' .github/workflows/*.yml
206 - name: 'zizmor GHA'
207 background: true
208 env:
209 GH_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
210 run: |
211 eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
212 git ls-files '.github/actions/**/*.yml' '.github/dependabot.yml' '.github/workflows/*.yml' -z | xargs -0 -r zizmor --persona pedantic --
214 - name: 'zizmor GHA (auditor, warning-only)'
215 background: true
216 env:
217 GH_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
218 run: |
219 eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
220 git ls-files '.github/actions/**/*.yml' '.github/dependabot.yml' '.github/workflows/*.yml' -z | xargs -0 -r zizmor --persona auditor -- || true
222 - name: 'shellcheck CI'
223 background: true
224 run: |
225 eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
226 shellcheck --version
227 .github/scripts/shellcheck-ci.sh
229 - name: 'shellcheck'
230 background: true
231 run: |
232 eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
233 shellcheck --version
234 .github/scripts/shellcheck.sh
236 - name: 'spacecheck'
237 background: true
238 run: scripts/spacecheck.pl
240 - name: 'yamlcheck'
241 background: true
242 run: .github/scripts/yamlcheck.sh
244 - name: 'badwords'
245 run: scripts/badwords-all
Diagnostics4 git calls · 138 ms
CallStatusSizeTime0138 ms
discover200152 B3 ms
git.upload-pack discover
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=2
git.response.bytes=152
git.server.agent=gitty/1.0
git.server.object_format=sha1
git.server.caps=agent ls-refs fetch object-format
git.server.fetch=shallow filter sideband-all
git.protocol.version=2
git.pkt.frames=8
git.pkt.data=6
git.pkt.flush=2
git.pkt.delim=0
git.pkt.bytes=152
git.pkt.payload.max=34
ls-refs200149 B · hit3 ms
git.upload-pack ls-refs
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=ls-refs
git.upstream.dur_ms=3
git.response.bytes=149
git.response.cache=HIT
git.response.duration_ms=3
git.protocol.version=2
git.pkt.frames=3
git.pkt.data=2
git.pkt.flush=1
git.pkt.delim=0
git.pkt.bytes=149
git.pkt.payload.max=78
git.ls_refs.count=2
git.ls_refs.head=refs/heads/master
fetchblob:none · deepen 10200287 KiB · hit2 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=133
git.response.bytes=293470
git.response.cache=HIT
git.response.duration_ms=2
git.fetch.filter=blob:none
git.fetch.filter.requested=tree:0
git.fetch.filter.fallback=blob:none
git.fetch.filter.learned=false
git.fetch.wants=31c911efe5652725e930f4d2e60c9060e5f6646d
git.fetch.haves.count=0
git.fetch.deepen=10
git.fetch.thin_pack=false
git.fetch.ofs_delta=true
git.protocol.version=2
git.pkt.frames=10
git.pkt.data=8
git.pkt.flush=1
git.pkt.delim=1
git.pkt.bytes=293470
git.pkt.payload.max=65516
git.sideband.band1.bytes=293354
git.sideband.band2.bytes=0
git.sideband.band3.bytes=0
git.pack.objects=87
git.pack.bytes=293354
git.pack.ofs_delta=0
git.pack.ref_delta=1
git.pack.chain.max=1
git.pack.trailer=6a646bcda6740bab42e321b51998b52ea15146c0
git.pack.full=86
Open pack map
fetch2001.7 KiB133 ms
git.upload-pack fetch
http.response.status_code=200
git.response.bytes=1750
git.response.cache=MISS
git.response.duration_ms=133
git.fetch.wants=e9e4741ad05b09250eb3d3975794aecb9382460b
git.fetch.haves.count=0
git.fetch.deepen=0
git.fetch.thin_pack=false
git.fetch.ofs_delta=true
git.protocol.version=2
git.pkt.frames=3
git.pkt.data=2
git.pkt.flush=1
git.pkt.delim=0
git.pkt.bytes=1750
git.pkt.payload.max=1729
git.sideband.band1.bytes=1728
git.sideband.band2.bytes=0
git.sideband.band3.bytes=0

Each row is one HTTP round trip ply made to the git server for this page, on one timeline. discover asks what the server speaks, ls-refs lists branch tips, fetch brings objects by id. A hit was served by Workers Cache. Tap a row for its wire details.

Remote
https://5ad2236b39de4c8bd8f6270ea63f3ea9.artifacts.cloudflare.net/git/public-v0/curl.git
Ref
refs/heads/master
Commit
31c911efe5652725e930f4d2e60c9060e5f6646d
cf-ray
a5e279087c77d806
Request
8dafe4e5…
Protocol
v2 · sha1
Agent
gitty/1.0
Filter
advertised
Fetch
shallow filter sideband-all
Capabilities
agent ls-refs fetch object-format