git-sync sync --tags https://github.com/entireio/cli.git $ARTIFACTSREMOTE Username for…
Jump to turn (32)
- 1git-sync sync --tags https://github.com/entireio/cli.git $ARTIFACTSREMOTE Userna
- 2/exit exit
- 3how can I easily test the sync locally with https://github.com/entireio/cli.git
- 4[test:entire-local-smoke] $ GITSYNCE2EENTIRE=1 go test ./internal/syncer -run Te
- 5❯ go run cmd/git-sync/main.go sync --tags https://github.com/entireio/cli.git $A
- 6yeah I'm curious more now about the real bug
- 7can you resume, I think this disconnected
- 8❯ go run cmd/git-sync/main.go sync --tags https://github.com/entireio/cli.git $A
- 9error: sync: sync: materialized execute: push target refs: target receive-pack:
- 10error: sync: sync: materialized execute: push target refs: target receive-pack:
- 11❯ git ls-remote --refs $ARTIFACTSREMOTE Username for 'https://8b04592ed74a5cce30
- 12a + b worked ❯ GODEBUG=http2client=0 go run cmd/git-sync/main.go sync --branch m
- 13I want the proper fix
- 14any reason this isn't asking me for credentials anymore? ❯ GODEBUG=http2client=0
- 15Username for 'https://8b04592ed74a5cce30d355b07276caf3.artifacts.cloudflare.net'
- 16❯ GODEBUG=http2client=0 go run cmd/git-sync/main.go sync -v --tags \ https://git
- 17❯ GODEBUG=http2client=0 go run cmd/git-sync/main.go sync -v --tags \ --target-ma
- 18but we are still mostly guessing that this is the issue or the fix is worth is n
- 19ok, let's commit the changes we have for now. I'll open a PR with them, and then
- 20can you give me a super short pr description
- 21/copy copy
- 22let's do the double-fetch fix now
- 231
- 24can you give me a short pr description?
- 25/copy copy
- 26checked out the first branch again, can you check these linting errors: [lint:go
- 27Test hash literal has 42 hex chars, not 40 Low Severity The targetMain hash stri
- 28back to soph/prevent-double-fetch: Empty store fallback when relay rejects creat
- 29what would the server flag be?
- 30Add a small in-package unit test that constructs a syncSession with a synthetic
- 31[lint:go] internal/syncer/integrationtest.go:383:2: SA4006: this value of sess i
- 32/exit exit
- User
git-sync sync --tags https://github.com/entireio/cli.git $ARTIFACTS_REMOTE Username for 'https://8b04592ed74a5cce30d355b07276caf3.artifacts.cloudflare.net': x Password for 'https://<PRESIDIO_ANONYMIZED_EMAIL_ADDRESS>': error: sync: sync: bootstrap execute: push target refs: target receive-pack: http 500: https://8b04592ed74a5cce30d355b07276caf3.artifacts.cloudflare.net/git/soph/test-repo-cli.git/git-receive-pack Internal Server Error
can we output more details from the 500 assuming it might have more information
Assistant
The current
httpErroralready reads up to 64KB of the response body — so "Internal Server Error" is the actual body content. What's missing are response headers that often carry trace/correlation IDs (especially useful here since the URL is on Cloudflare's artifacts service — the header is the key for them to look up the failure server-side).