GitLabgitlab-org

cli

main
ply6 git calls236 ms96 KiB3 cachedprotocol v2
80 lines2.4 KiBRaw

Checklist

  • I'm using the latest version of the extension (Run glab --version)
    • Extension version: Put your extension version here
  • Operating system and version: Put your version here
  • Gitlab.com or self-managed instance? gitlab.com/self-managed instance/both
  • GitLab version (if self-managed) GitLab version here (Use the version endpoint, like this: gitlab.my-company.com/api/v4/version)
  • I have performed glab auth status to check for authentication issues
  • Run the command in debug mode (like GLAB_DEBUG=true glab mr list) and attach any useful output

Summary

Environment

  • OS:
  • SHELL:
  • TERM:
  • GLAB:

Other:

Steps to reproduce

What is the current bug behavior?

What is the expected correct behavior?

Relevant logs and/or screenshots

Possible fixes

/label ~"type::bug" ~"devops::ai clients" ~"group::developer clients" ~"category:gitlab cli"

1<!---
2Please read this!
4Before opening a new issue, make sure to search for keywords in the issues
5filtered by the "bug" label:
7- https://gitlab.com/gitlab-org/cli/-/issues/?label_name%5B%5D=type%3A%3Abug
9and verify the issue you're about to submit isn't a duplicate.
10--->
12### Checklist
14<!-- Please test the latest versions, that will remove the possibility that you see a bug that is fixed in a newer version. -->
16- [ ] I'm using the latest version of the extension (Run `glab --version`)
17 - Extension version: _Put your extension version here_
18- [ ] Operating system and version: _Put your version here_
19- [ ] Gitlab.com or self-managed instance? _gitlab.com/self-managed instance/both_
20- [ ] GitLab version (if self-managed) _GitLab version here_
21 (Use the `version` endpoint, like this: gitlab.my-company.com/api/v4/version)
22- [ ] I have performed `glab auth status` to check for authentication issues
23- [ ] Run the command in debug mode (like `GLAB_DEBUG=true glab mr list`) and attach any useful output
25### Summary
27<!-- Summarize the bug encountered concisely -->
29### Environment
31<!--
33on POSIX system (Linux, MacOS), run
35bash -c 'printf -- "- OS: %s\n- SHELL: %s\n- TERM: %s\n- GLAB: %s" "$(uname -srm)" "$SHELL" "$TERM" "$(glab --version)"'
37and replace the following section with the result.
39If you use non-POSIX system, fill in the section manually:
41- OS: Your operating system including version and architecture (Windows 11 - AMD64, MacOS Sonoma - ARM64)
42- SHELL: Your shell (bash, fish, zsh, ...)
43- TERM: Your terminal emulator (Kitty, Xterm2..)
44- GLAB: result of running `glab --version` (glab version 1.32.0 (2023-08-18))
46-->
48- OS:
49- SHELL:
50- TERM:
51- GLAB:
53<!--
54Please include any other information that you believe might be relevant
55in debugging. For example, you may include a shell framework like oh-my-zsh
56or other customizations like editing the prompt (PS1, PS2, and others).
57-->
58Other:
60### Steps to reproduce
62<!-- How one can reproduce the issue - this is very important -->
64### What is the current _bug_ behavior?
66<!-- What actually happens -->
68### What is the expected _correct_ behavior?
70<!-- What you should see instead -->
72### Relevant logs and/or screenshots
74<!--- Paste the activity log from your command line -->
76### Possible fixes
78<!-- If you can, link to the line of code that might be responsible for the problem -->
80/label ~"type::bug" ~"devops::ai clients" ~"group::developer clients" ~"category:gitlab cli"
Diagnostics6 git calls · 236 ms
CallStatusSizeTime0236 ms
discover200185 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=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 KiB9 ms
git.upload-pack ls-refs
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=ls-refs
git.upstream.dur_ms=4
git.response.bytes=59849
git.response.cache=UPDATING
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
fetchcombine:blob:none+tree:2 · deepen 12004.2 KiB · hit3 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=4273
git.response.cache=HIT
git.response.duration_ms=3
git.fetch.filter=combine:blob:none+tree:2
git.fetch.wants=0dd7574dce9e385c5c30540e6c15657adc6bdce9
git.fetch.haves.count=0
git.fetch.deepen=1
git.fetch.thin_pack=false
git.fetch.ofs_delta=true
git.protocol.version=2
git.pkt.frames=7
git.pkt.data=5
git.pkt.flush=1
git.pkt.delim=1
git.pkt.bytes=4273
git.pkt.payload.max=4173
git.sideband.band1.bytes=4173
git.sideband.band2.bytes=0
git.sideband.band3.bytes=0
git.pack.objects=11
git.pack.bytes=4173
git.fetch.wide.objects=11
git.fetch.wide.extra_bytes=3930
git.fetch.wide.blobs=0
fetchtree:0 · deepen 1020032 KiB · hit4 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=4
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:0200238 B · 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=238
git.response.cache=HIT
git.response.duration_ms=2
git.fetch.filter=tree:0
git.fetch.wants=0c943e84e7165d598c2813539f254e7328e2c513
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=238
git.pkt.payload.max=211
git.sideband.band1.bytes=211
git.sideband.band2.bytes=0
git.sideband.band3.bytes=0
git.pack.objects=1
git.pack.bytes=211
git.pack.trailer=02aa52d02e90d93e048e20297fb5033735e64944
Open pack map
fetch2001.3 KiB222 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=222
git.response.bytes=1340
git.response.cache=MISS
git.response.duration_ms=222
git.fetch.wants=e7e6a5837235da2928a5635c688dbf40806b3e37
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=1340
git.pkt.payload.max=1313
git.sideband.band1.bytes=1313
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
a5e1f6451f23efe9
Request
17b6ef8f…
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