Artifactspublic-v0

ply

main
ply4 git calls218 ms39 KiB2 cachedprotocol v2
39 lines4.4 KiBRaw
1// One row per Limits key, each with the probe that sweeps it. `later` marks a key the harness knows about and does
2// not sweep yet; since the second pass (#144) there is none. A key with no row at all would be an untested parameter,
3// which the boundary test rejects, as it rejects a swept key with no cell.
4import { DEFAULT_LIMITS } from '../../src/limits.js';
6/** @typedef {{ key: keyof typeof DEFAULT_LIMITS, limit: number, probe: string | null, later: boolean }} Param */
8/** @type {Param[]} */
9export const PARAMS = [
10 { key: 'maxMergeBlobBytes', limit: DEFAULT_LIMITS.maxMergeBlobBytes, probe: 'mergeBranch of a file of that exact size', later: false },
11 { key: 'maxMergeWork', limit: DEFAULT_LIMITS.maxMergeWork, probe: 'mergeBranch of a three-line file both sides changed, with a budget of no steps and with each preset\'s', later: false },
12 { key: 'maxObjectSize', limit: DEFAULT_LIMITS.maxObjectSize, probe: 'pushTree of one file', later: false },
13 { key: 'maxHarvestBytes', limit: DEFAULT_LIMITS.maxHarvestBytes, probe: 'readLog on a server without filters, the cap around the commit and tree bytes git reports', later: false },
14 { key: 'maxPackBytes', limit: DEFAULT_LIMITS.maxPackBytes, probe: 'readFile of an incompressible blob', later: false },
15 { key: 'maxDeltaResult', limit: DEFAULT_LIMITS.maxDeltaResult, probe: 'parsePack with the cap around the largest delta git stored', later: false },
16 { key: 'maxDeltaChain', limit: DEFAULT_LIMITS.maxDeltaChain, probe: 'resolvePack of a pack-objects chain', later: false },
17 { key: 'maxInflatedTotal', limit: DEFAULT_LIMITS.maxInflatedTotal, probe: 'parsePack with the cap set around the inflated sum', later: false },
18 { key: 'maxResolveWork', limit: DEFAULT_LIMITS.maxResolveWork, probe: 'resolvePackRange of a pack-objects chain, at the default ceiling and at a ceiling of 0', later: false },
19 { key: 'maxPackObjects', limit: DEFAULT_LIMITS.maxPackObjects, probe: 'parsePack around the verify-pack count; pushTree file count', later: false },
20 { key: 'maxRefs', limit: DEFAULT_LIMITS.maxRefs, probe: 'lsRefs of N refs plus HEAD', later: false },
21 { key: 'maxRebaseCommits', limit: DEFAULT_LIMITS.maxRebaseCommits, probe: 'rebaseBranch of a K-commit branch', later: false },
22 { key: 'maxSectionLines', limit: DEFAULT_LIMITS.maxSectionLines, probe: 'fetchPack haves (acknowledgments) and deepen wants (shallow-info), counted by git', later: false },
23 { key: 'maxTreeEntries', limit: DEFAULT_LIMITS.maxTreeEntries, probe: 'listTree', later: false },
24 { key: 'maxPathDepth', limit: DEFAULT_LIMITS.maxPathDepth, probe: 'readFile of a path with that many components', later: false },
25 { key: 'maxPushBytes', limit: DEFAULT_LIMITS.maxPushBytes, probe: 'pushTree of files whose bytes sum past the cap', later: false },
26 { key: 'maxPathComponent', limit: DEFAULT_LIMITS.maxPathComponent, probe: 'readFile of a component of that length', later: false },
27 { key: 'maxMergeDepth', limit: DEFAULT_LIMITS.maxMergeDepth, probe: 'readLog limit and merge-base distance', later: false },
28 { key: 'maxReportLines', limit: DEFAULT_LIMITS.maxReportLines, probe: 'pushRepo of N branches (N + 1 report lines)', later: false },
29 { key: 'maxReportReasonBytes', limit: DEFAULT_LIMITS.maxReportReasonBytes, probe: 'pushRepo under a limit of 0: the report is still read (a cap on what is kept, not on the outcome)', later: false },
30 { key: 'maxReportProgressBytes', limit: DEFAULT_LIMITS.maxReportProgressBytes, probe: 'pushRepo under a limit of 0: band 2 is dropped, the report is still read', later: false },
31 { key: 'maxCommitParents', limit: DEFAULT_LIMITS.maxCommitParents, probe: 'readLog of an octopus commit', later: false },
32 { key: 'maxLsRefsBytes', limit: DEFAULT_LIMITS.maxLsRefsBytes, probe: 'lsRefs with the byte cap overridden', later: false },
33 { key: 'requestTimeoutMs', limit: DEFAULT_LIMITS.requestTimeoutMs, probe: 'lsRefs and readFile through a delaying or stalling shim, with the opt-in total set', later: false },
34 { key: 'firstByteTimeoutMs', limit: DEFAULT_LIMITS.firstByteTimeoutMs, probe: 'lsRefs through a delaying shim (a slow server)', later: false },
35 { key: 'idleTimeoutMs', limit: DEFAULT_LIMITS.idleTimeoutMs, probe: 'lsRefs and readFile through a stalling shim (a stalled body)', later: false },
36 { key: 'heldTimeoutMs', limit: DEFAULT_LIMITS.heldTimeoutMs, probe: 'readFile whose consumer holds the first chunk (holdMs) through the shim', later: false },
37];
39export const PARAM_BY_KEY = new Map(PARAMS.map(p => [p.key, p]));
Diagnostics4 git calls · 218 ms
CallStatusSizeTime0218 ms
discover200152 B2 ms
git.upload-pack discover
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
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 · hit2 ms
git.upload-pack ls-refs
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=ls-refs
git.upstream.dur_ms=2
git.response.bytes=145
git.response.cache=HIT
git.response.duration_ms=2
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 · hit3 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=213
git.response.bytes=38434
git.response.cache=HIT
git.response.duration_ms=3
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.4 KiB213 ms
git.upload-pack fetch
http.response.status_code=200
git.response.bytes=1412
git.response.cache=MISS
git.response.duration_ms=213
git.fetch.wants=979b57748f259c734fb190ce18451f4e2de2bdc5
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=1412
git.pkt.payload.max=1391
git.sideband.band1.bytes=1390
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
a5e2f0150c70fda9
Request
35e27631…
Protocol
v2 · sha1
Agent
gitty/1.0
Filter
advertised
Fetch
shallow filter sideband-all
Capabilities
agent ls-refs fetch object-format