Artifactspublic-v0

ply

main
ply4 git calls540 ms39 KiB2 cachedprotocol v2
46 lines2.4 KiBRaw
1name: Notify ply-web
3# ply-web deploys what this announces, so a commit is announced only after ci judged it green. `push` fired before
4# anything had run: on 2026-11-11 three red commits on main were each dispatched. workflow_run fires when a ci run
5# finishes; the job below sends only for a successful run of a push to this repository's main.
6on:
7 workflow_run:
8 workflows: [ci]
9 types: [completed]
11# The dispatch uses PLY_WEB_DISPATCH_TOKEN, not GITHUB_TOKEN.
12permissions: {}
14# One dispatch at a time per judged commit; a re-run of ci for the same commit queues behind the first.
15concurrency:
16 group: notify-ply-web-${{ github.event.workflow_run.head_sha }}
17 cancel-in-progress: false
19jobs:
20 dispatch:
21 # head_branch alone is not enough: a pull request from a fork's `main` also has head_branch main. The run must be
22 # a push, in this repository, to main, and it must have succeeded (cancelled, skipped and failure all stay silent).
23 if: >-
24 github.event.workflow_run.conclusion == 'success' &&
25 github.event.workflow_run.event == 'push' &&
26 github.event.workflow_run.head_branch == 'main' &&
27 github.event.workflow_run.head_repository.full_name == github.repository
28 runs-on: ubuntu-24.04
29 steps:
30 - name: Dispatch ply-main-updated
31 env:
32 PLY_WEB_DISPATCH_TOKEN: ${{ secrets.PLY_WEB_DISPATCH_TOKEN }}
33 # The commit ci judged. In a workflow_run workflow the default sha context is main's tip when this run
34 # starts, which may be a later commit that nothing has judged yet.
35 COMMIT_SHA: ${{ github.event.workflow_run.head_sha }}
36 run: |
37 set -euo pipefail
38 [[ "${COMMIT_SHA}" =~ ^[0-9a-f]{40}$ ]] || { echo "::error::head_sha is not a 40-hex commit id: '${COMMIT_SHA}'"; exit 1; }
39 if [ -z "${PLY_WEB_DISPATCH_TOKEN}" ]; then
40 echo "::notice title=ply-web not notified::PLY_WEB_DISPATCH_TOKEN is not set. Add a fine-grained PAT with Contents: Read and write on ivarvong/ply-web. ci passed for ${COMMIT_SHA} but repository_dispatch was not sent."
41 exit 0
42 fi
43 # COMMIT_SHA is the commit ci passed. ply-web resolves main itself.
44 GH_TOKEN="${PLY_WEB_DISPATCH_TOKEN}" gh api --method POST repos/ivarvong/ply-web/dispatches --input - <<EOF
45 {"event_type":"ply-main-updated","client_payload":{"sha":"${COMMIT_SHA}"}}
46 EOF
Diagnostics4 git calls · 540 ms
CallStatusSizeTime0540 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 · 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=145
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=145
git.pkt.payload.max=76
git.ls_refs.count=2
git.ls_refs.head=refs/heads/main
fetchblob:none · deepen 1020038 KiB · hit2 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=1
git.response.bytes=38434
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=19912563f540228593df0c489082e5e2508e21e4
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=38434
git.pkt.payload.max=38339
git.sideband.band1.bytes=38338
git.sideband.band2.bytes=0
git.sideband.band3.bytes=0
git.pack.objects=63
git.pack.bytes=38338
git.pack.ofs_delta=0
git.pack.ref_delta=8
git.pack.chain.max=8
git.pack.trailer=0bc36ab7adf82d3109177f11f1ea93f1ce071f77
git.pack.full=55
Open pack map
fetch2001.2 KiB535 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=535
git.response.bytes=1179
git.response.cache=MISS
git.response.duration_ms=535
git.fetch.wants=7959112160205774a89ddd79d469285403bb4c79
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=1179
git.pkt.payload.max=1158
git.sideband.band1.bytes=1157
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.git
Ref
refs/heads/main
Commit
19912563f540228593df0c489082e5e2508e21e4
cf-ray
a5e2ee658fbd77be
Request
a008e945…
Protocol
v2 · sha1
Agent
gitty/1.0
Filter
advertised
Fetch
shallow filter sideband-all
Capabilities
agent ls-refs fetch object-format