You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f412f4e
Browse filesBrowse the repository at this point in the historyBrowse files
**Tested:** main `cfc870f` (unchanged since the last run), release v5.1.0 (to compare), Linux only, real Hatch 1.16.5 and 1.18.2 (newest) against a rebuilt local mock patch API. The mock now serves `six` 1.16.0, `toml` 0.10.2 and `tomli-w` 1.0.0.
4
+
5
+
## Filed
6
+
-#2350: a scan from a Hatch workspace member finds no packages. Hatch installs member dependencies into the workspace root's env, and `hatch_environments(cwd)` only looks at the member's own envs. It exits 0 with "Install its requirements first", and a hosted scan from the root refuses the dependency as transitive-only, so hosted can't patch a member dependency from either directory. Hatch 1.16.5 / 1.18.2, main and v5.1.0 (not a regression). The earlier "workspace member hosted: pass" cells were a sandbox artifact: `six` exists in the system Python. https://github.com/SocketDev/socket-patch/issues/2350
7
+
8
+
## Re-triage
9
+
-#2295 (the only open issue): main is unchanged, and the hosted locked-env restore still refuses (seen again with a one-package `pylock.ci.toml`). Left open.
Copy file name to clipboardExpand all lines: known-non-bugs/hatch.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,3 +34,6 @@ One line per item. Search with `git grep`; don't read the whole file.
34
34
- Harness: the mock must answer HEAD on the wheel route (uv probes with HEAD and fails on 501) and serve `/patches/blob/<sha>` for agent rollback (`missing_blob` otherwise) (2026-11-26).
35
35
- Harness: in the sandbox, a scan with no env finds six from the system `/usr/lib/python3/dist-packages`, so "first scan before any env" passing there is an artifact (2026-11-26).
36
36
- Hosted scan with `installer = "uv"` and a url / path `[tool.uv.sources]` entry for the patched package exits 0 `success` with nothing written and a warning to use agent mode: the documented #673 refusal (2026-11-26). The warning capitalises the name ("Six:"), which is cosmetic.
37
+
- Harness: the sandbox's system Python also has `toml` (and `six`), so scans list `toml@0.10.2` with no Hatch declaration and agent `apply` reports it "not found on disk". Use `tomli-w` 1.0.0 as the probe package; no system Python here carries it (2026-11-28).
38
+
- Hosted H→V takeover from a Hatch 1.18 locked env (`installer = "uv"`, any `lock-filename`) fails closed with "cannot restore the upstream entry ... no sibling registry package" (one-package lock) or the #2295 no-header error. It is the same restore path as #2295, and vendored refuses the uv installer anyway (2026-11-28).
39
+
-`lock-filename` must be `pylock.toml` / `pylock.<name>.toml` in the project root: uv rejects other names, and Hatch 1.18.2 crashes on a subdirectory. Not socket-patch (2026-11-28).
[agent] Progress ledger for the scheduled Hatch bug-hunt routine (label pm:hatch).
2
2
3
-
Last run: 2026-11-26 on main `cfc870f`, release v5.1.0, newest Hatch 1.18.2 (bundled uv 0.13.10). Linux only (the probe workflows are off). Harness: real Hatch against a local mock patch API (`six` 1.16.0with a `SOCKET_PATCHED = 1` marker). The mock serves batch / by-package / package grant (`kind: tarball`, sha256 + `sha512-` SRI) / view (`blobContent` base64) / `patches/blob/<git-sha256>`, plus GET **and HEAD** on the wheel route. Set `SOCKET_PATCH_SERVER_URL` to the mock and use `--vendor-source service` for vendored. Put only the `hatch` binary on PATH (not its venv `bin/`), and create the env before scanning.
3
+
Last run: 2026-11-28 on main `cfc870f`, release v5.1.0, newest Hatch 1.18.2 (bundled uv 0.13.10). Linux only (the probe workflows are off). Harness: real Hatch against a local mock patch API (`six` 1.16.0, `toml` 0.10.2 and `tomli-w` 1.0.0, each with a `SOCKET_PATCHED = 1` marker). Prefer `tomli-w`: the sandbox's system Python also has `six` and `toml`, which masks crawl gaps. Use `SOCKET_PROXY_URL` (no token). The mock serves batch / by-package / package grant (`kind: tarball`, `integrity.sha256` + `integrity.sha512`) / view (`blobContent` base64) / `patches/blob/<git-sha256>`, plus GET **and HEAD** on the wheel route. Set `SOCKET_PATCH_SERVER_URL` to the mock and use `--vendor-source service` for vendored. Put only the `hatch` binary on PATH (not its venv `bin/`), and create the env before scanning.
4
4
5
-
All `bughunt` issues filed through 2026-10-03 (#335#385#415#454#479#505#547#650#673#674) are closed as fixed. Open: #2295.
5
+
All `bughunt` issues filed through 2026-10-03 (#335#385#415#454#479#505#547#650#673#674) are closed as fixed. Open: #2295, #2350.
6
6
7
7
## Coverage matrix
8
8
Cells dated before 2026-11-11 count as untested for the release (INSTRUCTIONS "Release focus").
8. Re-triage #2295 when the uv restore code moves.
27
+
1. Re-triage #2350 and #2295 when `crawlers/hatch_env.rs` or the uv restore code moves.
28
+
2.#2350 follow-ups: a workspace declared in `hatch.toml`, members with `features`, a non-default root env listing the member; the stale-env warning for the root env after a member is wired.
29
+
3. Agent mode with locked envs; `scan --sync` after `hatch env prune` (#454).
30
+
4. Shapes re-run on 1.18.2: hatch.toml-only envs, `hatch-test` matrix, features, PEP 735 groups, CRLF.
31
+
5. V→H takeover with 2 patches; `remove` (not just rollback) after a takeover.
0 commit comments