← Back to issue list

Cannot manually clone when fetch-service is one

View original Github issue

Metadata

Project
fetch-service
Number
#211
Type
issue
State
closed
Author
dariuszd21
Labels
—
Created
Updated
Closed

Current evaluation

Manual Git cloning through the proxy was fixed by PR #290 (commit 2ca0dfe), which changed Git inspection to unpack each repository only once instead of repeatedly processing the artifact.

Resolution: closed resolved

Reason: PR #290, titled "refactor: only unpack git repos once," merged as commit 2ca0dfe and resolved the repeated Git artifact processing behind the broken-pipe failure.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description When trying to manually clone while using the fetch-service as a proxy using the code from main, I got a failure while `go.module.git` inspector was trying to process the artefact (it was already successfully proceeded by other git inspectors). ### To Reproduce Run fetch-service, establish session, export `HTTPS_PROXY="http://<session>:<token>@localhost:9988/"`. Run git clone: ``` git clone --depth 1 https://github.com/canonical/craft-platforms ``` ### Relevant log output ```shell ... 2024/09/11 13:58:07.699095 DEBUG: git pack size 0x24 2024/09/11 13:58:07.699116 DEBUG: git pack size 0x24 2024/09/11 13:58:07.699242 INFO : go.module.git: response opinion set to Rejected (error inspecting artefact) 2024/09/11 13:58:07.699273 ERROR: git unpack error: error reading git pack: write |1: broken pipe 2024/09/11 13:58:07.699322 INFO : bf9181fb0150514ad5b5a917facea53f1d8c71947a0a3af0f6c0c81d2ed427a3: git unpack error: error reading git pack: write |1: broken pipe ``` in git: ``` Cloning into 'craft-platforms'... error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 fatal: expected 'packfile' ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Manual Git cloning through the proxy was fixed by PR #290 (commit 2ca0dfe), which changed Git inspection to unpack each repository only once instead of repeatedly processing the artifact.
stealth/space-bunny-alpha — closed stale Closed without a documented fix after manual proxied Git clones failed with HTTP 500, a broken pipe, and a go.module.git rejection; no resolving PR or commit is recorded.
qwen/qwen3.6-35b-a3b — — Closed without a documented resolution. The report detailed a 500 error and broken pipe during git clone via the fetch-service proxy, caused by the go.module.git inspector rejecting the artifact. No comments or follow-up actions were recorded.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/fetch-service#290 (confidence 96%)

    The merged refactor ensures a Git repository is unpacked only once, directly addressing multiple Git inspectors reprocessing the same artifact.

Related issues

No related issues found above the similarity threshold.