mirror of
https://github.com/stablyai/orca.git
synced 2026-11-17 19:34:29 +00:00
The desktop's create (clone-progress) runs the workspace clone detached. orca-sandbox-start then writes the same extraheader into ~/.gitconfig, and http.<url>.extraheader is a list. So the clone's later requests (the blobless clone's checkout fetch, and the retry clone) carried Authorization twice. The firewall answered 400 and nothing reached the egress proxy. The clone failed with "could not fetch ... from promisor remote", and an App-installed private repo opened empty. Reproduced on dev: `git -c extraheader=<A> ls-remote` with the global header set gives 400, and with `-c extraheader=` first it gives rc 0. The prelude's git auth now clears the list before adding its header. Worker-only (the prelude ships per create), so the VM scripts stamp is unchanged. Found by the egress probe, after #790 fixed the proxy side.