GitLabgitlab-org

cli

main
ply7 git calls370 ms93 KiB5 cachedprotocol v2
39 lines1.5 KiBRaw
1# .gitlab/duo/agent-config.yml
2#
3# Configures the CI/CD environment for GitLab Duo coding agent flows.
4# Mirrors the project's standard development setup using mise to manage
5# the full toolchain from .tool-versions.
7# Base image — lightweight Debian base; all tooling (including Go) is
8# installed by mise from .tool-versions, so we don't need the golang image.
9image: debian:bookworm-slim
11# Bootstrap the development environment before the flow executes.
12setup_script:
13 # Install system dependencies required by mise and the build toolchain, and ruby,
14 # which the MR Risk Labeler's run_command steps use
15 - apt-get update && apt-get install -y --no-install-recommends curl git make ca-certificates ruby && rm -rf /var/lib/apt/lists/*
16 # Install mise — the project's tool version manager
17 - curl -fsSL https://mise.run | sh
18 - export PATH="$HOME/.local/bin:$PATH"
19 # Install all tools pinned in .tool-versions
20 - mise install
21 - eval "$(mise activate bash)"
22 # Install commitlint dependencies (validates conventional commit messages)
23 - cd scripts/commit-lint && npm install && cd ../..
24 # Pre-download Go module dependencies
25 - go mod download
26 # Activate git hooks — gives the agent automatic validation on commit/push
27 - lefthook install
29# Cache dependencies and tools between flow runs.
30cache:
31 key:
32 files:
33 - go.sum
34 - .tool-versions
35 paths:
36 # Go module cache (GOPATH defaults to ~/go when installed via mise)
37 - /root/go/pkg/mod/
38 # mise tool installations
39 - /root/.local/share/mise/
Diagnostics7 git calls · 370 ms
CallStatusSizeTime0370 ms
discover200185 B111 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=185
git.server.agent=git/2.56.g1891de4-Linux
git.server.object_format=sha1
git.server.caps=agent ls-refs fetch server-option object-format
git.server.fetch=shallow wait-for-done filter
git.protocol.version=2
git.pkt.frames=9
git.pkt.data=7
git.pkt.flush=2
git.pkt.delim=0
git.pkt.bytes=185
git.pkt.payload.max=35
ls-refs20058 KiB · hit120 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=59849
git.response.cache=HIT
git.response.duration_ms=9
git.protocol.version=2
git.pkt.frames=731
git.pkt.data=730
git.pkt.flush=1
git.pkt.delim=0
git.pkt.bytes=59849
git.pkt.payload.max=143
git.ls_refs.count=730
git.ls_refs.head=refs/heads/main
fetchtree:0 · deepen 1020032 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=32926
git.response.cache=HIT
git.response.duration_ms=7
git.fetch.filter=tree:0
git.fetch.wants=0dd7574dce9e385c5c30540e6c15657adc6bdce9
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=22
git.pkt.data=20
git.pkt.flush=1
git.pkt.delim=1
git.pkt.bytes=32926
git.pkt.payload.max=32046
git.sideband.band1.bytes=32046
git.sideband.band2.bytes=0
git.sideband.band3.bytes=0
git.pack.objects=80
git.pack.bytes=32046
git.pack.ofs_delta=36
git.pack.ref_delta=0
git.pack.chain.max=2
git.pack.trailer=cb0bad5d7ffc514895d8b21c4dd470327f90bc91
git.pack.full=44
Open pack map
fetchtree:02001.1 KiB · hit4 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=4
git.response.bytes=1112
git.response.cache=HIT
git.response.duration_ms=4
git.fetch.filter=tree:0
git.fetch.wants=fed5065f0120a857fec6fa567dcdacfd34c3187b
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=4
git.pkt.data=3
git.pkt.flush=1
git.pkt.delim=0
git.pkt.bytes=1112
git.pkt.payload.max=1085
git.sideband.band1.bytes=1085
git.sideband.band2.bytes=0
git.sideband.band3.bytes=0
git.pack.objects=1
git.pack.bytes=1085
git.pack.trailer=792a8e6885c3db50fcc6be7a28de09363c6fb5e4
Open pack map
fetchtree:0200309 B · hit17 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=17
git.response.bytes=309
git.response.cache=HIT
git.response.duration_ms=17
git.fetch.filter=tree:0
git.fetch.wants=c6b242c1095fcf3795d01ee2281c7dd6703f8eeb
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=4
git.pkt.data=3
git.pkt.flush=1
git.pkt.delim=0
git.pkt.bytes=309
git.pkt.payload.max=282
git.sideband.band1.bytes=282
git.sideband.band2.bytes=0
git.sideband.band3.bytes=0
git.pack.objects=1
git.pack.bytes=282
git.pack.trailer=1941593989007fe83058d729d0caf27f2487da6a
Open pack map
fetchtree:0200166 B · hit13 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=13
git.response.bytes=166
git.response.cache=HIT
git.response.duration_ms=13
git.fetch.filter=tree:0
git.fetch.wants=48b943196abef660296043919f29347e537bc3ef
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=4
git.pkt.data=3
git.pkt.flush=1
git.pkt.delim=0
git.pkt.bytes=166
git.pkt.payload.max=139
git.sideband.band1.bytes=139
git.sideband.band2.bytes=0
git.sideband.band3.bytes=0
git.pack.objects=1
git.pack.bytes=139
git.pack.trailer=e2a4dbef6212a95219d29b5243191f270897ab2c
Open pack map
fetch200871 B209 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=209
git.response.bytes=871
git.response.cache=MISS
git.response.duration_ms=209
git.fetch.wants=32caee992b22158b99886ec9c57c133bd72fd155
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=4
git.pkt.data=3
git.pkt.flush=1
git.pkt.delim=0
git.pkt.bytes=871
git.pkt.payload.max=844
git.sideband.band1.bytes=844
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://gitlab.com/gitlab-org/cli
Ref
refs/heads/main
Commit
0dd7574dce9e385c5c30540e6c15657adc6bdce9
cf-ray
a5e20ad27dbb7089
Request
9aedbfb0…
Protocol
v2 · sha1
Agent
git/2.56.g1891de4-Linux
Filter
advertised
Fetch
shallow wait-for-done filter
Capabilities
agent ls-refs fetch server-option object-format