Repository navigation
Bug hunt ledger: uv #310
Replies: 67 comments
|
[agent] 2026-09-30: handover from the Poetry bug-hunt routine (ledger #311) While checking Poetry mode switches I hit the same defect on a uv project. I filed it as #328 with the Poetry evidence. Here's the uv side so you can add a uv comment to that issue, or file a uv-specific one if the root cause differs. hosted → vendored on a uv project is refused as a "user-authored" source. main printf '[project]\nname = "uvp"\nversion = "0.1.0"\nrequires-python = ">=3.9"\ndependencies = ["six==1.16.0"]\n' > pyproject.toml
uv lock && uv sync
socket-patch scan --mode hosted --json --yes # redirected: 1
uv sync
socket-patch scan --mode vendored --json --yes
# -> failed pypi_uv_source_already_exists "[tool.uv.sources] already declares a source for six; refusing to overwrite a user-authored source"
# uv.lock still: source = { url = "http://127.0.0.1:18080/patch/pypi/six/1.16.0/<token>/<uuid>/six-1.16.0-py2.py3-none-any.whl" }Root cause (shared): Not yet checked for uv: vendored → hosted, and lock-only hosted → vendored (on Poetry that fails Also unconfirmed for uv: on Poetry, vendored |
|
[agent] 2026-09-30: uv bug-hunt run This is the first run. The ledger started empty and there were no Tested: main Setup: the sandbox blocks the Socket patch hosts, so a local mock of the authenticated patch API ( Cells (Linux unless noted)
Issues
False positives ruled out
Probe runs
I couldn't delete either probe branch: the git proxy silently ignores ref deletes ("Everything up-to-date"), the same as for the siblings. A maintainer needs to delete Next
|
|
[agent] 2026-09-30: handover from the PDM bug-hunt routine (ledger #312) While filing #382 (hosted PDM rollback/remove stuck once the patched package leaves This may already be covered by #379 (uv drift after |
|
[agent] 2026-10-01: uv bug-hunt run Tested: main Harness changes for v5: hosted mode now keeps no ledger. Rollback/remove re-derive the upstream entry from PyPI's JSON API, and they need Re-triage
Cells (Linux 0.12.21 unless noted)
Issues
False positives ruled out
Probe runs
Branch deletes are still silently ignored by the git proxy. A maintainer needs to delete Next
|
|
[agent] 2026-10-01: maintainer note: test global ( This is a maintainer request, not a run report. Add it to the top of the backlog and keep it there until the cells below are covered. Ask: make sure we correctly scan global installs when Where uv puts global installs: What to check (prove each with a real global install, not by reading source):
Add OS × uv version cells for |
|
[agent] 2026-10-01: uv bug-hunt run Tested: main Re-triageMain hasn't moved since #407, #408 and #411 were filed, so they're still open and unchanged. No re-test was needed. Cells (global mode)
Issues
False positives ruled out
Probe runs
Branch deletes are still silently ignored by the git proxy. A maintainer needs to delete Next
|
|
[agent] 2026-10-01: uv bug-hunt run Tested: main Re-triage
Cells (Linux 0.8.17 unless noted)
Issues
False positives ruled out
Probe runs
The git proxy still silently ignores branch deletes. A maintainer needs to delete Operator note: a failed Next
|
|
[agent] 2026-10-01: uv bug-hunt run Tested: main The harness is new this run. It uses a Python mock patch API: the wheel is deterministic (fixed zip dates), Re-triage
Cells (Linux 0.8.17 unless noted)
Issues
False positives ruled out
Probe runs
Next
|
|
[agent] 2026-10-02: uv bug-hunt run Tested: main Re-triageMain hasn't moved, so nothing needed re-running. Fixes are in flight: #512 (#407, #408), #481 (#474), and #449 is claimed (agent/fix-python-global-tool-roots). Cells (Linux, uv 0.8.17 unless noted)
Issues
False positives ruled out
Probe runsNone this run (everything new was OS-independent text edits or Linux env-var probing). No branches pushed. Next
|
|
[agent] 2026-10-02: uv bug-hunt run Tested: main Re-triageMain hasn't moved, so I re-ran nothing. Open fix PRs: #540 (#525 and the env discovery issues), #512 (#407, #408), #481 (#474). Cells (Linux)
Issues
False positives ruled out
Probe runsNone this run. #525 already has a fix PR (#540), and the new finding is a CLI text match that doesn't depend on the OS. Next
|
|
[agent] 2026-10-02: uv bug-hunt run Tested: main Re-triageMain hasn't moved, so nothing was re-run on main. I tested PR #545 against the new #544 spellings (below): fixed. Cells (Linux)
Issues
False positives ruled out
Probe runsNone this run. #564 is driven by config, not the OS. No branches pushed. Next
|
|
[agent] 2026-10-02: uv bug-hunt run Tested: main Re-triage (current main)
Cells (Linux)
Issues
False positives ruled out
Probe runsNone. #606 is OS-independent TOML logic. No branches were pushed. Next
|
|
[agent] 2026-10-03: uv bug-hunt run Tested: main Re-triage
Cells (Linux)
Issues
False positives ruled out
Probe runsNone. #639 is OS-independent TOML logic. Next
|
|
[agent] 2026-10-03: uv bug-hunt run Tested: main Re-triageMain hasn't moved since run 9, and PR #625 is still open, so nothing was re-run for #606 / #473 / #411 / #564 / #639.
Cells (Linux unless noted)
Issues
False positives ruled out
Probe runs
Next
|
|
[agent] 2026-10-15: uv bug-hunt run Tested: main Re-triage
Cells
Issues
False positives ruled out
Next
|
|
[agent] 2026-10-15: uv bug-hunt run Tested: main Re-triage
Cells
Issues
False positives ruled out
Next
|
|
[agent] 2026-10-16: uv bug-hunt run Tested: main Re-triage
Cells
Issues
False positives ruled out
Next
|
|
[agent] 2026-10-16: uv bug-hunt run Tested: main Re-triage
Cells
Issues
False positives ruled out
Next
|
|
[agent] 2026-10-17: uv bug-hunt run Tested: main Re-triage
Cells
Issues
False positives ruled out
Next
|
|
[agent] 2026-10-17: uv bug-hunt run Tested: main Re-triage
Cells
Issues
False positives ruled out
Next
|
|
[agent] Janitor: ledger drift on main Generated by Claude Code |
|
[agent] Janitor: ledger drift on main Generated by Claude Code |
|
[agent] Janitor: ledger drift on main
Please re-verify them on the next run and update the tables. Generated by Claude Code |
|
[agent] Janitor: ledger drift on main
Please re-verify them on the next run and update the cells. Generated by Claude Code |
|
[agent] 2026-11-27: uv bug-hunt run Tested: main Re-triageNo open Cells
Issues
False positives ruled out
HousekeepingState file compacted (91 KB → 5 KB). 115 Known non-bugs moved to |
|
[agent] 2026-11-29: uv bug-hunt run Tested: main Re-triage#2316 is still open. main hasn't moved since it was filed, so there was nothing new to re-check. No comment. Cells
IssuesNone filed, commented on or closed. False positives ruled out
|
|
[agent] 2026-12-01: uv bug-hunt run Tested: main Re-triage#2316 still reproduces on Cells
Issues
False positives ruled out
|
|
[agent] 2026-12-03: uv bug-hunt run Tested: main Re-triage
Cells
IssuesNone filed, commented on or closed. False positives ruled out
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
[agent] Progress ledger for the scheduled uv bug-hunt routine (label pm:uv).
Last run: 2026-12-03 (run 51) on main
d987721(= tag v5.2.0), previous release v5.1.0, newest uv 0.13.10 (tested this run: 0.1.44, 0.2.34, 0.2.35, 0.11.32, 0.13.10; CPython 3.11, 3.15, 3.15t). Openbughunt+pm:uvissues: #2316 (still reproduces on v5.2.0). Also tracked: #2308 (agent mode from a uv workspace member; filed by the architecture routine, nopm:uvlabel; still reproduces). The pre-compaction matrix and narrative are in the branch history (0175cd6), and the old Known non-bugs are inknown-non-bugs/uv.md.Coverage matrix
H = hosted, V = vendored, A = agent. Linux only (macOS / Windows probes are switched off). Cells dated before 2026-11-11 count as untested for the release focus.
--locked/--frozensync → vex → unwindlock --check, byte-identical rollback; CRLF uv.lock + pyproject too; repo e2ee2e_redirect_uv_build9/9)vendor --check, vex,lock --locked;e2e_vendor_pypi_build7/7)UV_PROJECT_ENVIRONMENTabs and relative-with-space;--compile-bytecodepyc dropped; Python 3.15 / 3.15t; vex tracks reinstall)details.pinChanged(#2307): first run, re-run, dry run, patch update / withdrawals.py.lock), with a siblinguv pip compilepylock.toml+uv pip sync, with a siblingd987721, 2026-12-03; 0.5.31 / 0.8.17 / 0.11.32 / 0.13.10 earlier; v5.1.0 samepypi_uv_lock_package_missing(correct; no-op remedy, known non-bug)no-sources(pyproject / uv.toml)redirect_uv_project_unsupported, nothing written, 2026-11-27pypi_uv_no_sources, 2026-11-27[[distribution]]locks (0.1.45 – 0.2.34)sync --lockedok)redirect_workspace_lockfile_elsewhere0.11.32, 2026-11-29pypi_uv_workspace_unsupported, 2026-12-01uv exportrequirements / pylock beside a vendored lock (#996, #1252)pypi_multiple_lockfilesloser)-g(tool dirs,UV_TOOL_DIR,UV_PYTHON_INSTALL_DIR)--patch-mirror-url(experimental)patch.socket.devpin, 401 mirror withSOCKET_PATCH_MIRROR_AUTHORIZATION, 2026-12-01--cwd, odd pathslist/rollbackrefuse with working remedy), re-scan heals, 2026-12-03 (known non-bug; stage residue #2337)Backlog
uv sync --lockedfails and a plainuv lockre-resolves without them #1545 / Hosted and vendored uv scans wire a patched wheel into a project that setsno-binary/no-binary-packagefor that package, so every lateruv syncfails ("marked as--no-binarybut is itself a binary distribution") #1603 / Hosted uv rollback / remove ignoreexclude-newer-package: on uv 0.12+ the restored uv.lock gains an sdist the per-package cutoff had excluded, so the restore isn't the original lock #1604 refusals and the requirements lane on 0.1.44 on v5.2.0.[[distribution]]lock project on 0.2.34 viauv sync(pip-lane agent passed on 0.1.44 / 0.2.34 this run).requirements.txtbeside uv.lock (Vendor a PyPI wheel as a download cache of Bazel where a hub reads the requirements #2212 lane), and hosted mode beside a pip hub.Harness notes: one Python mock serves the proxy routes (
POST /patch/batchwithcomponents,GET /patch/by-package/<purl>,POST /patch/package,GET /patch/view/<uuid>,/blob/<hash>) and the wheel at/patch/pypi/<name>/<ver>/<token>/<uuid>/<wheel>. Run withSOCKET_PROXY_URL=<mock>and pass--patch-server-url <mock>to every command, vex and rollback included. Vendored needssha512in the artifact integrity. Mirrors: another instance on another port, base<port>/mirror. Don't exportUV_PYTHONwith old uv. Old uv:pip install --target <dir> uv==X.Known non-bugs
Full list:
known-non-bugs/uv.md(search withgit grep, don't read it whole). The ones most likely to be re-filed:pypi_uv_lock_revision_untestedon uv ≥ 0.12.22 locks (revision 5 > fixture-tested 3): informational.exclude-newer-packageat scan andno-binary/--only-binarypylocks at rollback, with working remedies: documented.no-sourcesproject is warn-onlyredirect_uv_project_unsupported, nothing written.-rincludes (redirect_requirements_entry_not_found).vexattests from the committed artifact even while.venvis stale: documented.uv sync --reinstall-packageadvice even where uv ≥ 0.8.18 reinstalls on a source change: conservative (After a hosted or vendored PDM rollback, pdm sync / pdm install keep the patched build installed, though rollback says the next install restores it #477).--patch-server-urlorigin (redirect_mirror_pin_not_moved): per contract.-gis refused (exit 2) by design.All reactions