Commits with large or many files, like a vendored driver with 3,790
files, OOM-killed httpd at its 2 GiB limit. radicle-surf diffs every
file twice and its rename detection loads whole blobs, so its output
can't be bounded, and httpd now builds the diff itself.
Files over 1 MiB or 50,000 lines, or past the per-response budgets,
aren't diffed and come back as binary with `"tooLarge": true`. Files
after the first 3,000 are left out. The diff is then `"truncated"` and
takes its stats from `git diff --numstat`. This also fixes files shrunk
from over the limit showing up as empty.
`git2` becomes a direct dependency, at the version `radicle` already
uses, for the diff types `radicle::git::raw` doesn't re-export.
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
- Upgrade radicle-artifact to 0.23
- Use radicle-artifact Filters, Trust and Scope for releases
- Count only releases a user can browse: delegate + other
- Count releases only for a single repo, not in repo lists
- Add the scope=trusted|untrusted query
- Keep allAuthors for older clients until a major release
- Replace the All filter with Delegates and Others in the UI
- Open lists and releases on Delegates, also when empty
- Show the Others filter whenever it has content
- Name the scope in the empty artifacts message
- Filter by creator on older nodes, which ignore scope
- Page releases on the raw response length
- Warn on a release by a non-delegate
- Warn on a delegate's release while it shows others' artifacts
- Count only delegate attestations in a badge
- Warn about browser links added by non-delegates
- Say browser downloads are not checked against the CID
- Move the scope and warning logic to `src/lib/releases.ts`
- Test artifact scopes, scope routes, opening on Delegates and the
warnings
rustls-webpki 0.103.16 and webpki-roots 1.0.10 are the first releases
with the fixes for RUSTSEC-2026-0382 and RUSTSEC-2026-0381, but are
still in the cooldown. We reviewed their diffs against upstream and
allow them until they're old enough.
Makes explorer and desktop sibling projects, as proposed in ADR 1.
This commit only moves files; paths in CI, scripts and docs are fixed
in the following commits.