Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,15 @@ with workspace members in `packages/*` and `www/`.

### Lockfile quirks

The lockfile contains remote specifiers pointing to `refs/heads/main` (e.g.
`raw.githubusercontent.com/.../refs/heads/main/...`). These hashes go stale when
upstream pushes. When that happens, manually update the hash in `deno.lock`
since `deno cache --reload` cannot fix it (see
https://github.com/denoland/deno/issues/32991).
The lockfile may contain unpinned remote specifiers whose content can change
(known limitation, see https://github.com/denoland/deno/issues/32991). If
`deno install` fails with an integrity check error, run:

deno install --lock-write

This tells Deno to accept the new content and update the lockfile. The
`--reload` flag alone is not sufficient here because it re-fetches content but
still validates against the existing lockfile integrity.

## Architecture

Expand Down
Loading