Artifactspublic-v0

ply

main
ply4 git calls335 ms40 KiB2 cachedprotocol v2
71 lines3.8 KiBRaw
1// The suite Stryker runs per mutant (stryker.conf.json): the fast, mutation-killing files. Same settings as
2// vitest.config.ts; quick sizes; push-outcome's quick space on the test's own thread (PUSH_SPACE_WORKERS=0), because
3// Stryker records per-test coverage and the active mutant in the test process's main thread, and code reached only in
4// a worker would count as uncovered. MUTATION=1 skips push-outcome's two tests that are not about src (the axis
5// renderer table and the git-observed cells), which the mutation command left out before (--test-name-pattern).
6import { fileURLToPath } from 'node:url';
7import { defineConfig, mergeConfig } from 'vitest/config';
8import base from './vitest.config.ts';
10// Every test process of the mutation run gets test/stryker-parent-guard.cjs: a mutant can grow a process past 23 GB
11// (src/pktline.js:22 without out.set: the memory was node:assert's diff of two 65,516-element arrays in a test, now
12// test/bytes-assert.js, #85) or orphan it; the guard SIGKILLs a test process past 3 GB resident or once its
13// parent is gone, and Stryker counts the dead process as a detected mutant (scripts/mutate.mjs DETECTED).
14const guard = `--require=${fileURLToPath(new URL('./test/stryker-parent-guard.cjs', import.meta.url))}`;
15if (!(process.env['NODE_OPTIONS'] ?? '').includes(guard)) process.env['NODE_OPTIONS'] = [process.env['NODE_OPTIONS'], guard].filter(Boolean).join(' ');
17// mergeConfig concatenates arrays, so `include` is set on the merged result: these files only, not base's glob too.
18const MUTATION_FILES = [
19 'test/format-facts.test.js',
20 'test/prefix-closure.test.js',
21 'test/props.test.js',
22 'test/mutant-kill.test.js',
23 'test/mutant-kill-tree.test.js',
24 'test/mutant-kill-packs.test.js',
25 'test/packstream.test.js',
26 'test/pack-resolve-linear.test.js',
27 'test/delta-bound.test.js',
28 'test/packwrite.test.js',
29 'test/push-commands.test.js',
30 'test/push-unpack-host.test.js',
31 'test/http-options.test.js',
32 'test/describe-pack.test.js',
33 'test/packindex.test.js',
34 'test/space/push-outcome.test.js',
35 'test/result.test.js',
36 'test/operation-callback-contract.test.js',
37 'test/option.test.js',
38 'test/version-refname.test.js',
39 'test/uprequest.test.js',
40 'test/parse-once.test.js',
41 'test/want-oracle.test.js',
42 'test/dotnames.test.js',
43 'test/parsetree.test.js',
44 'test/otel-ended.test.js',
45 'test/sha1.test.js',
46 'test/lsrefs-step.test.js',
47 'test/path-trees-unit.test.js',
48 'test/pullstream.test.js',
49 'test/inflate-codesets.test.js',
50 'test/inflate-pos.test.js',
51 'test/transfer.test.js',
52 'test/input-validation.test.js',
53];
54// A test that hangs under a mutant fails at its own timeout, not at Stryker's per-mutant one. vitest.config.ts turns both
55// timers off (0), so a hung await ran until Stryker's timeout: 2 × the covering tests' dry-run time + 8 s
56// (stryker.conf.json timeoutFactor, timeoutMS), and for a mutant every test reaches (a static one) that is about 2 × 48 s
57// + 8 s on a CI runner. 622 of the 29,604 mutants of a full run timed out (#307: shard 5 of 3502eef held 21 of them
58// and hit the 90-minute job limit at 692/698). 60 s is 5× the slowest mutation test (push-outcome `every cell`,
59// 11.8 s on an M-series Mac, 2026-11-12) and above Stryker's own bound for any single test (2 × 11.8 + 8 s), so no
60// test a mutant leaves correct but slower is cut sooner than Stryker would cut it; a cut test is a failed test, a
61// detected mutant, exactly as a Timeout is (scripts/mutate.mjs DETECTED).
62const MUTATION_TEST_TIMEOUT_MS = 60_000;
63const config = mergeConfig(base, defineConfig({
64 test: {
65 env: { PROP_N: '4', PUSH_SPACE: 'quick', PUSH_SPACE_WORKERS: '0', MUTATION: '1' },
66 testTimeout: MUTATION_TEST_TIMEOUT_MS,
67 hookTimeout: MUTATION_TEST_TIMEOUT_MS,
68 },
69}));
70config.test = { ...config.test, include: MUTATION_FILES };
71export default config;
Diagnostics4 git calls · 335 ms
CallStatusSizeTime0335 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-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 · hit2 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=330
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.7 KiB330 ms
git.upload-pack fetch
http.response.status_code=200
git.response.bytes=1759
git.response.cache=MISS
git.response.duration_ms=330
git.fetch.wants=10c3df3a8c92a25952acad841cff4b280acb9338
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=1759
git.pkt.payload.max=1738
git.sideband.band1.bytes=1737
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
a5e176e2af242a7e
Request
50e23cd2…
Protocol
v2 · sha1
Agent
gitty/1.0
Filter
advertised
Fetch
shallow filter sideband-all
Capabilities
agent ls-refs fetch object-format