Skip to content

Address PR review: provider-agnostic auth error message and document concurrency cap#2

Closed
Copilot wants to merge 2 commits intoC/Gisa-CLIfrom
copilot/sub-pr-1
Closed

Address PR review: provider-agnostic auth error message and document concurrency cap#2
Copilot wants to merge 2 commits intoC/Gisa-CLIfrom
copilot/sub-pr-1

Conversation

Copy link

Copilot AI commented Feb 26, 2026

Two reviewer-flagged issues in the initial caching/SSH/clone PR.

Changes

  • src/auth/mod.rs — Auth fallback error message was hardcoded to GitHub (gh auth login, GITHUB_TOKEN, GitHub CLI docs link). Replaced with provider-agnostic guidance while keeping concrete examples inline:

    1. Provider CLI (recommended):
       e.g. `gh auth login` for GitHub
    
    2. Environment variable:
       e.g. GITHUB_TOKEN, GITLAB_TOKEN, or similar for your provider
    
  • src/config/parser.rsMAX_CONCURRENCY = 32 had no rationale. Added comment: cap prevents file descriptor, memory, and CPU exhaustion on typical developer machines.

Already resolved (no change needed)

  • src/errors/provider.rs:79 — already generic
  • src/auth/ssh.rs:14StrictHostKeyChecking=no already replaced with BatchMode=yes
  • src/cache/mod.rs:69 — backward-clock guard already present

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: manuelgruber <156138+manuelgruber@users.noreply.github.com>
Copy link
Author

Copilot AI commented Feb 26, 2026

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • github.com (HTTP Only)
    • Triggering command: /usr/bin/ssh ssh -T -o BatchMode=yes -o ConnectTimeout=5 git@github.com lib/rustlib/x86_64-REDACTED-linux-gnu/bin/rust-lld -1949cf8c6b5b557cc orted/include -1949cf8c6b5b557/tmp/rustc578uSi/symbols.o lib/rustlib/x86_/home/REDACTED/work/git-same/git-same/target/debug/deps/gisa-4f774ebedca4f33e.309jlqgmvywdtw8jm4s6igdge.1cjofiv.rcgu.o s-10�� in.so /lto-wrapper c -1949cf8c6b5b557git orted/include -1949cf8c6b5b557-Wl,-Bstatic cc (packet block)
    • Triggering command: /usr/bin/ssh ssh -T -o BatchMode=yes -o ConnectTimeout=5 git@github.com -aae9d8dd0d844b1--crate-type s-10b4d5350b75c5cc s-10b4d5350b75c5-m64 lib/rustlib/x86_/tmp/rustczBk0Gj/symbols.o lib/rustlib/x86_/home/REDACTED/work/git-same/git-same/target/debug/deps/git_same-673defad05596663.00da325u0v5ozbgqb5zbt7jjn.1f90lbj.rcgu.o lib/�� lib/rustlib/x86_/home/REDACTED/work/git-same/git-same/target/debug/deps/git_same-673defad05596663.gh a498ab3e037.045t/home/REDACTED/work/git-same/git-same/target/debug/deps/git_same-673defad05596663.--version a498ab3e037.072d/home/REDACTED/work/git-same/git-same/target/debug/deps/git_same-673defad05596663.04zk1q75vgg696uks1tdayuna.1f90lbj.rcgu.o a498ab3e037.0imkinfocmp a498ab3e037.0qho-1 a498ab3e037.0y2nxterm-color a498ab3e037.0zbd/home/REDACTED/work/git-same/git-same/target/debug/deps/git_same-673defad05596663.08q232zvymmm2kc92g79hpioz.1f90lbj.rcgu.o (packet block)
    • Triggering command: /usr/bin/ssh ssh -T -o BatchMode=yes -o ConnectTimeout=5 git@github.com -1949cf8c6b5b557/home/REDACTED/work/git-same/git-same/target/debug/deps/libsharded_slab-318a32a668status -1949cf8c6b5b557gh -1949cf8c6b5b557--version -1949cf8c6b5b557/home/REDACTED/work/git-same/git-same/target/debug/deps/libregex_automata-e1dacb2ca47fc820.rlib -1949cf8c6b5b557/home/REDACTED/work/git-same/git-same/target/debug/deps/libaho_corasick-0afbd7ca07b925a4.rlib /ind�� /build/aws-lc-sys-10b4d5350b75c5/home/REDACTED/work/git-same/git-same/target/debug/deps/async_traigh /build/aws-lc-sys-10b4d5350b75c5/home/REDACTED/work/git-same/git-same/target/debug/deps/async_trai--version known-linux-gnu/bin/rustc (packet block)
  • https://api.github.com/graphql
    • Triggering command: /usr/bin/gh gh auth status -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie 0i7h3oa0uvl4my1kt2boi57ki.17xwbks.rcgu.o 0wka1hlgsjx3pt4pvwv4x7etn.17xwbks.rcgu.o 1dl4yvmu1ytosd4f1n52rut9k.17xwbks.rcgu.o 1j0m8fnsa6vzxb1d37i9726ey.17xwbks.rcgu.o 1uuaytqib6xqhxfp7c8uxm7kv.17xwbks.rcgu.o 225i4o9gnfw3nabpav2d61loh.17xwbks.rcgu.o 257un0jbgy8bc5zfxnz5rwxmw.17xwbks.rcgu.o 2vbyqtvav239iet3rhrtt782r.17xwbks.rcgu.o 36u25bmba3o8d7jx28ol3wnzr.17xwbks.rcgu.o 39zrk0b8wwb3zkwaqiz7wxwlt.17xwbks.rcgu.o 3bg2dscg8wi5w5drvip0dcseh.17xwbks.rcgu.o 3htaqcztpwh096p9ikxfebb41.17xwbks.rcgu.o 3izyuu4krr93w1psner5nt1k9.17xwbks.rcgu.o 3pkjj3ux1sp8da3q1618up069.17xwbks.rcgu.o (http block)
    • Triggering command: /usr/bin/gh gh auth status jv3t9vnkqqxor5vo0mwuv6.10z62g3.rcgu.o v1o3�� ybsphwwmclnescaf2bsruu.10z62g3.rcgu.o 5svparj7al5q1kku3mp3ex.10z62g3.rcgu.o f/aws-lc-rs-1.16--crate-type f/aws-lc-sys-0.3ls -1949cf8c6b5b557-alF f/aws-lc-sys-0.3/var/log -1949cf8c6b5b557embed-bitcode=no f/aw�� -1949cf8c6b5b557debuginfo=2 f/aws-lc-sys-0.3--check-cfg lib/rustlib/x86_64-REDACTED-linux-gnu/bin/cc orted/include /index.crates.ioauth py-library /index.crates.iometadata=d68459debfd069f0 (http block)
    • Triggering command: /usr/bin/gh gh auth status /home/REDACTED/work/git-same/git-same/target/debug/deps/libaho_corasick-0afbd7ca07b925a4.rlib bb.r�� a47fc820.rlib b925a4.rlib s-10b4d5350b75c5/home/REDACTED/work/git-same/git-same/target/debug/deps/gitsa-ded0cf6b395c8a23.83o/home/REDACTED/work/git-same/git-same/target/debug/deps/git_same-91406fa35d45c2fd.2vbyqtvav239iet3rhrtt782r.17xwbks.rcgu.o t-694b58d182f8fccc t-694b58d182f8fc-m64 t-694b58d182f8fc/tmp/rustczAzgb2/symbols.o t-694b58d182f8fc/home/REDACTED/work/git-same/git-same/target/debug/deps/gitsame-a9053d4e8eb6b727.9kmoaz4rci6de9yx9gdhzexdo.0ce4ifx.rcgu.o t-69�� t-694b58d182f8fc/home/REDACTED/work/git-same/git-same/target/debug/deps/gitsame-a9053d4e8eb6b727.dgh 3fee5f08b5940b4./home/REDACTED/work/git-same/git-same/target/debug/deps/gitsame-a9053d4e8eb6b727.d--version 3fee5f08b5940b4./home/REDACTED/work/git-same/git-same/target/debug/deps/gitsame-a9053d4e8eb6b727.dv5yzklfay2qb6pdbm3f3eqkc.0ce4ifx.rcgu.o 3fee5f08b5940b4.git 3fee5f08b5940b4.--version 3fee5f08b5940b4.-Wl,-Bstatic 3fee5f08b5940b4./home/REDACTED/.rustup/toolchains/1.93.1-x86_64-REDACTED-linux-gnu/lib/rustlib/x86_64-REDACTED-linux-gnu/lib/libtest-a997363b7b72db11.rlib (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title [WIP] Add discovery caching and improved CLI options Address PR review: provider-agnostic auth error message and document concurrency cap Feb 26, 2026
@manuelgruber
Copy link
Member

Outdated

@manuelgruber manuelgruber deleted the copilot/sub-pr-1 branch February 26, 2026 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants