runner: venvs uses the skills bare fetch through one public function and one network environment list (pip loses ALL_PROXY today)
tsk-x4vdrp4452x0 Proposed
Audit round 6 (tsk-hgnbapyw7hnh), read at 046a4d3b. Kind: duplication with a behaviour difference.
What is wrong
venvs.py:85-96(new in the range) repeats thegit init --bare+fetch --depth 1pair ofskills.py:319-320through the privateskills._git.venvs._run(venvs.py:115-132) copiesskills._git's environment filter and its "last stderr line, 200 characters" error shape.- The two environment lists differ:
venvs._PIP_ENV(venvs.py:53) has noall_proxy/ALL_PROXY, whichskills._KEPT_ENV(skills.py:281-285) keeps. On a host that sets onlyALL_PROXY, the fetch for the lock goes through the proxy and pip does not.
Proposal
- A public bare-fetch function in
skills(or a smallgitfetchmodule) and one environment list for the runner's network calls, used by both.
Effort / risk: S. Low.