Skip to content

Commit 3fd4cdd

Browse files
committed
deno: run 2 addendum
1 parent 47606c7 commit 3fd4cdd

2 files changed

Lines changed: 23 additions & 5 deletions

File tree

‎entries/deno/20261001T022054Z.md‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[agent] 2026-10-01: Deno bug-hunt run (addendum to 20261001T021734Z; same main `2463257`)
2+
3+
Same session, extended. No new issues were filed; all new findings went onto existing issues.
4+
5+
### Cells
6+
- **fail #406 (vendored, new information):** in the mixed project (package.json + package-lock.json + deno.lock), `scan --mode vendored` rewires package-lock.json to `file:.socket/vendor/...`, reports `applied` / success, and leaves deno.lock untouched. `deno install --frozen` loads the unpatched copy. `vex` keeps attesting `not_affected` *after* the Deno install, warning only `vendored_tree_out_of_sync` with a "re-run your package manager's install" remedy that can't work under Deno. Deno 2.2.15 and 2.9.6. This also contradicts the ecosystems.md Deno row ("vendored ❌ refused"). Comment: https://github.com/SocketDev/socket-patch/issues/406#issuecomment-5923419446
7+
- **fail #406 (Deno 1.46.3, deno.lock v3):** hosted is the same. Comment: https://github.com/SocketDev/socket-patch/issues/406#issuecomment-5923422888
8+
- pass: `scan --mode agent --global-prefix vendor/jsr.io` discovers, downloads and applies a JSR patch, and the patched code runs.
9+
- caveat (#374): `--global-prefix` re-roots every crawler, so in a mixed JSR + npm project the npm deps vanish. `apply` gives success with `package_not_installed`, and `--prune` would delete npm records. Documented semantics, so not a separate bug. Comment: https://github.com/SocketDev/socket-patch/issues/374#issuecomment-5923430317
10+
11+
### Harness note
12+
The stub's vendored path needs the served tarball to carry the same after-bytes as the patch view. A mismatch gives `apply_failed` ("prebuilt tarball … does not carry the patched files"), which is a harness artifact, not a bug.
13+
14+
### Next
15+
1. pnpm-lock.yaml / yarn.lock / bun.lock beside deno.lock (expected to be the same #406 class; confirm before commenting).
16+
2. `.deno` peer-variant and scoped transitive entries, once #373 is fixed.
17+
3. Hosted `pkg:jsr` against the real proxy.
18+
4. CRLF / BOM `deno.jsonc` on Windows.

‎state/deno.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ Method: real Deno binaries (GitHub release zips; `denoland/setup-deno` in probes
66

77
## Coverage matrix
88

9-
| OS | Deno | Agent: direct npm dep (incl. scoped, alias, workspace member) | Agent: transitive npm dep (`node_modules/.deno`) | Agent: `nodeModulesDir` none | Agent: JSR (`vendor: true`) | JSR via `--global-prefix vendor/jsr.io` | vendored refusal | hosted (npm deps) | VEX |
9+
| OS | Deno | Agent: direct npm dep (incl. scoped, alias, workspace member) | Agent: transitive npm dep (`node_modules/.deno`) | Agent: `nodeModulesDir` none | Agent: JSR (`vendor: true`) | JSR via `--global-prefix vendor/jsr.io` | vendored refusal | hosted / vendored (npm deps via package-lock.json) | VEX |
1010
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
11-
| Linux | 1.46.3 | pass | fail #373 | known limitation | fail #374 | pass | untested | untested | pass (agent) |
11+
| Linux | 1.46.3 | pass | fail #373 | known limitation | fail #374 | pass | untested | hosted fail #406 | pass (agent), fail #406 (hosted) |
1212
| Linux | 2.0.6 | pass (run 1) | fail #373 | known limitation | fail #374 | untested | untested | untested | untested |
13-
| Linux | 2.2.15 | pass | fail #373 | known limitation | fail #374 | pass | untested | fail #406 (package-lock + deno.lock) | fail #406 |
14-
| Linux | 2.9.6 | pass | fail #373 (also `--prune` drops records) | known limitation | fail #374 | pass | pass (`vendor_unsupported_ecosystem`, npm fails closed) | fail #406 | pass (agent), fail #406 (hosted) |
13+
| Linux | 2.2.15 | pass | fail #373 | known limitation | fail #374 | pass | untested | hosted + vendored fail #406 (package-lock + deno.lock) | fail #406 |
14+
| Linux | 2.9.6 | pass | fail #373 (also `--prune` drops records) | known limitation | fail #374 | pass (scan + apply; unsafe with npm deps, see #374) | pass for `pkg:jsr` (`vendor_unsupported_ecosystem`) | hosted + vendored fail #406 | pass (agent), fail #406 (hosted) |
1515
| macOS | 1.46.3 / 2.2.15 / 2.9.6 | pass (scoped; apply / vex / rollback) | fail #373 | untested | fail #374 | pass | untested | untested | pass (agent) |
1616
| Windows | 1.46.3 / 2.2.15 / 2.9.6 | pass (scoped via junctions; apply / vex / rollback) | fail #373 | untested | fail #374 | pass | untested | untested | pass (agent) |
1717

@@ -20,7 +20,7 @@ Other passes (Linux): re-apply idempotency, rollback, `remove`, breaking cache h
2020
## Backlog
2121

2222
0. A maintainer needs to delete the stale probe branches `bughunt/deno/20260930-deno-store` and `bughunt/deno/20261001-scoped-jsr`. The git proxy refuses `push --delete`.
23-
1. #406 follow-ups: Deno 1.46.3 with package.json; pnpm-lock / yarn.lock / bun.lock beside deno.lock; vendored takeover in a mixed project.
23+
1. #406 follow-ups: pnpm-lock / yarn.lock / bun.lock beside deno.lock. Done: Deno 1.46.3 (affected) and vendored (affected, and VEX survives the install).
2424
2. `.deno` peer-variant and scoped transitive entries, once #373 is fixed.
2525
3. Hosted `get` / `scan` for `pkg:jsr` against the real proxy (the stub can't decide the real grant status).
2626
4. `nodeModulesDir: none`: deno.lock as a lockfile supplement (enhancement).

0 commit comments

Comments
 (0)