main
ply4 git calls424 ms43 KiB2 cachedprotocol v2
84 lines3.4 KiBRaw
1name: CI
3on:
4 push:
5 pull_request:
7permissions:
8 contents: read
10jobs:
11 check:
12 permissions:
13 contents: read
14 # git >= 2.50 reports a stale old oid as "incorrect old value provided".
15 # ply classifies that string as cas_conflict, same as git 2.43's
16 # "failed to update ref", so the suite runs on the image's git.
17 runs-on: ubuntu-24.04
18 env:
19 CF_SEND_TELEMETRY: "false"
20 steps:
21 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
22 with:
23 persist-credentials: false
24 - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
25 with:
26 # cf needs Node ^22.23, ^24.22 or ^26.12. A bare major can resolve to an older cached release.
27 node-version: 24.22
28 cache: npm
29 # package-lock resolves ply as git+ssh. Actions has no SSH key; the repo is public.
30 - name: Fetch GitHub git dependencies over HTTPS
31 run: |
32 git config --global url."https://github.com/".insteadOf "ssh://git@github.com/"
33 git config --global url."https://github.com/".insteadOf "git+ssh://git@github.com/"
34 git config --global url."https://github.com/".insteadOf "git@github.com:"
35 # Annotated tags in the suite need a committer. The runner has none. Do not sign.
36 - name: Git identity for the test suite
37 run: |
38 git config --global user.name "ply-web"
39 git config --global user.email "ply-web@example.com"
40 git config --global commit.gpgsign false
41 - name: Absence gate
42 run: node --experimental-strip-types scripts/absence-gate.ts
43 - name: Absence baseline does not rise
44 if: github.event_name == 'pull_request'
45 env:
46 BASE_REF: ${{ github.base_ref }}
47 run: |
48 set -euo pipefail
49 git fetch --depth=1 --no-tags origin "${BASE_REF}:refs/remotes/origin/${BASE_REF}"
50 node --experimental-strip-types scripts/absence-gate.ts --against "origin/${BASE_REF}"
51 - run: npm ci
52 - run: npm test
53 - run: npm run lint
54 - run: npm run typecheck
55 # Builds the Worker and validates the upload without credentials or API calls.
56 - run: npx cf deploy --dry-run
58 actions:
59 name: actionlint and zizmor
60 permissions:
61 contents: read
62 runs-on: ubuntu-24.04
63 steps:
64 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
65 with:
66 persist-credentials: false
67 - name: Install actionlint
68 run: |
69 set -euo pipefail
70 curl -fsSL -o /tmp/actionlint.tar.gz https://github.com/rhysd/actionlint/releases/download/v1.7.12/actionlint_1.7.12_linux_amd64.tar.gz
71 echo "8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8 /tmp/actionlint.tar.gz" | sha256sum -c -
72 tar -C /tmp -xzf /tmp/actionlint.tar.gz actionlint
73 - name: Install zizmor
74 run: |
75 set -euo pipefail
76 curl -fsSL -o /tmp/zizmor.tar.gz https://github.com/zizmorcore/zizmor/releases/download/v1.31.1/zizmor-x86_64-unknown-linux-gnu.tar.gz
77 echo "d185f726bdaf92df78273217dfdd24ebcd6b0ef48cf3ce776ff5762b6e138c99 /tmp/zizmor.tar.gz" | sha256sum -c -
78 mkdir -p /tmp/zizmor-extract
79 tar -C /tmp/zizmor-extract -xzf /tmp/zizmor.tar.gz
80 install -m 0755 /tmp/zizmor-extract/zizmor /tmp/zizmor
81 - name: actionlint
82 run: /tmp/actionlint
83 - name: zizmor
84 run: /tmp/zizmor --offline .github/workflows
Diagnostics4 git calls · 424 ms
CallStatusSizeTime0424 ms
discover200152 B3 ms
git.upload-pack discover
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=ls-refs
git.upstream.dur_ms=3
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-refs200145 B · hit5 ms
git.upload-pack ls-refs
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=ls-refs
git.upstream.dur_ms=5
git.response.bytes=145
git.response.cache=HIT
git.response.duration_ms=5
git.protocol.version=2
git.pkt.frames=3
git.pkt.data=2
git.pkt.flush=1
git.pkt.delim=0
git.pkt.bytes=145
git.pkt.payload.max=76
git.ls_refs.count=2
git.ls_refs.head=refs/heads/main
fetchblob:none · deepen 1020042 KiB · hit7 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=3
git.response.bytes=42585
git.response.cache=HIT
git.response.duration_ms=7
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=262b639aa1b258fc1777c3a66ba8f811df3a3da2
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=6
git.pkt.data=4
git.pkt.flush=1
git.pkt.delim=1
git.pkt.bytes=42585
git.pkt.payload.max=42490
git.sideband.band1.bytes=42489
git.sideband.band2.bytes=0
git.sideband.band3.bytes=0
git.pack.objects=61
git.pack.bytes=42489
git.pack.ofs_delta=0
git.pack.ref_delta=0
git.pack.chain.max=0
git.pack.trailer=7dbf576d97429022615f79aa46b440d9da603496
git.pack.full=61
Open pack map
fetch2001.4 KiB412 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=412
git.response.bytes=1427
git.response.cache=MISS
git.response.duration_ms=412
git.fetch.wants=db81d8e3a55a9689f0e6d86c91bfc8a8182c8855
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=1427
git.pkt.payload.max=1406
git.sideband.band1.bytes=1405
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/ply-web.git
Ref
refs/heads/main
Commit
262b639aa1b258fc1777c3a66ba8f811df3a3da2
cf-ray
a5e1bdefa8486c75
Request
d40ec8fb…
Protocol
v2 · sha1
Agent
gitty/1.0
Filter
advertised
Fetch
shallow filter sideband-all
Capabilities
agent ls-refs fetch object-format