main
ply4 git calls491 ms43 KiB1 cachedprotocol v2
53 lines3.5 KiBRaw
1{
2 "name": "ply-web",
3 "version": "0.1.0",
4 "private": true,
5 "description": "Cloudflare Worker for ply: the /v1 git API and the public /view repository viewer.",
6 "type": "module",
7 "engines": {
8 "node": "^22.23.0 || ^24.22.0 || >=26.12.0"
9 },
10 "scripts": {
11 "dev": "cf dev",
12 "build": "cf build",
13 "types": "cf workers types",
14 "smoke": "sh scripts/cd.sh smoke",
15 "publish": "node scripts/publish.mjs",
16 "worker:deploy": "node scripts/worker-deploy.mjs",
17 "worker:deploy:dry-run": "cf deploy --dry-run",
18 "cd": "sh scripts/cd.sh",
19 "absence": "node --experimental-strip-types scripts/absence-gate.ts",
20 "test": "node --experimental-strip-types scripts/absence-gate.ts && node --experimental-strip-types --test test/absence-gate.test.ts test/option.test.ts test/absent.test.ts && node test/cf-bundle.js && PLY_WEB_BUNDLE_BUILT=1 node --test --test-concurrency=1 test/worker.test.js test/public-worker.test.js test/canary-verdict.test.js test/ply-main-check.test.js && PLY_WEB_BUNDLE_BUILT=1 node --experimental-strip-types --import ./test/register-tsx.mjs --test test/write.test.ts test/rays.test.ts test/edge-trace.test.ts test/worker-spans.test.js test/viewer.test.ts test/rate.test.ts test/security.test.ts test/public.test.ts test/gitcache.test.ts test/cas-cache.test.ts test/refs-watch.test.ts test/mirror.test.ts test/pinned.test.ts test/hold-last.test.ts test/status.test.ts test/cd-slo.test.ts test/cd-policy.test.ts test/cd-ramp.test.ts test/cd-ramp-only.test.ts test/cd-lock.test.ts test/cd-telemetry-outcome-sim.test.ts test/cd-probe-loss.test.ts test/cd-probe-schedule.test.ts test/cd-harness-health.test.ts test/cd-unjudged-fail.test.ts test/cd-cleanup.test.ts test/cd-query-retry.test.ts test/cd-log.test.ts test/cd-retention.test.ts test/cd-pipeline.test.ts test/cd-reconcile.test.ts test/cd-classify.test.ts test/cd-telemetry.test.ts test/cd-o11y-rows.test.ts test/cd-span-check.test.ts test/cd-rate-gate.test.ts test/cd-cas.test.ts test/cd-traffic-gate.test.ts test/cd-preflight.test.ts test/worker-deploy.test.ts test/worker-entrypoints.test.ts test/cd-flags-smoke.test.ts test/http-machine.test.ts test/cd-forecast.test.ts test/cd-latency-sample.test.ts test/calibrate.test.ts test/calibrate-provenance.test.ts test/bench-seed.test.ts test/bench.test.ts && vitest run --config vitest.config.ts",
21 "test:flags": "vitest run --config vitest.config.ts",
22 "flags": "node --experimental-strip-types scripts/flags.ts",
23 "test:worker": "node --test test/worker.test.js",
24 "worker:test": "node --test test/worker.test.js",
25 "test:viewer": "node --experimental-strip-types --import ./test/register-tsx.mjs --test test/viewer.test.ts",
26 "typecheck": "tsc --noEmit -p tsconfig.json && cf workers types && tsc --noEmit -p tsconfig.cloudflare.json",
27 "lint": "oxlint && oxlint --type-aware -A all -D typescript/switch-exhaustiveness-check src scripts"
28 },
29 "dependencies": {
30 "@cloudflare/kumo": "^2.15.0",
31 "hono": "^4.13.14",
32 "ply": "github:ivarvong/ply#19912563f540228593df0c489082e5e2508e21e4"
33 },
34 "devDependencies": {
35 "@cloudflare/vite-plugin": "2.0.0-beta.v.5",
36 "@types/node": "^26.6.5",
37 "cf": "1.0.0-beta.23",
38 "esbuild": "^0.28.2",
39 "oxlint": "^1.22.0",
40 "oxlint-tsgolint": "^7.0.2005",
41 "parse5": "^7.3.0",
42 "typescript": "^7.0.2",
43 "vite": "^8.3.5",
44 "vitest": "^3.2.4",
45 "workerd": "1.20261018.1"
46 },
47 "license": "MIT",
48 "author": "Ivar Vong",
49 "repository": {
50 "type": "git",
51 "url": "git+https://github.com/ivarvong/ply-web.git"
52 }
Diagnostics4 git calls · 491 ms
CallStatusSizeTime0491 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 B157 ms
git.upload-pack ls-refs
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=ls-refs
git.upstream.dur_ms=157
git.response.bytes=145
git.response.cache=EXPIRED
git.response.duration_ms=157
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 · hit2 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=2
git.response.bytes=42585
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=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.3 KiB332 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=332
git.response.bytes=1300
git.response.cache=MISS
git.response.duration_ms=332
git.fetch.wants=f6c827d05e58ce63fb1c1d945ba8a668d8f8e45c
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=1300
git.pkt.payload.max=1279
git.sideband.band1.bytes=1278
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
a5e1551dbaaa90ce
Request
5944329e…
Protocol
v2 · sha1
Agent
gitty/1.0
Filter
advertised
Fetch
shallow filter sideband-all
Capabilities
agent ls-refs fetch object-format