forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on c8ea10c580ac04dd925a4cef1bc0fba595ecc9daFiltered to crates/forge-web/src/git_http.rsClear filter

2026-10-29

⚡ perf: forge uses about a quarter less memory: the server turns off transparent huge pages at start (mimalloc's 2 MiB pages counted whole: 166 → 123 MB after a seeded 600-page crawl, 63 → 40 MB at boot) and the unit sets MIMALLOC_ALLOW_THP=0; worst cases are bounded across the crates: gix's delta cache is 16 MB per open, not 96 MB; blob reads don't copy and text reads check the size first; file listings, git stderr, grep lines and fsck output are capped; readers keep a 2 MiB page cache; the advisory import and the issue export stream in batches and an import commits only when parsing finished; imported release assets stream to storage; argon2 (4) and avatar decodes (2) are capped server-wide; SSH takes at most 256 connections; watcher, fork and admin counts are SQL counts; the runner keeps a 2 MiB log tail per job, drops output once nothing reads it, stops artifact walks at the cap and refuses image configs over 4 MiBAhmet Kaan Gümüş · cae5972
⚡ perf: forge uses about a quarter less memory: the server turns off transparent huge pages at start (mimalloc's 2 MiB pages counted whole: 166 → 123 MB after a seeded 600-page crawl, 63 → 40 MB at boot) and the unit sets MIMALLOC_ALLOW_THP=0; worst cases are bounded across the crates: gix's delta cache is 16 MB per open, not 96 MB; blob reads don't copy and text reads check the size first; file listings, git stderr, grep lines and fsck output are capped; readers keep a 2 MiB page cache; the advisory import and the issue export stream in batches and an import commits only when parsing finished; imported release assets stream to storage; argon2 (4) and avatar decodes (2) are capped server-wide; SSH takes at most 256 connections; watcher, fork and admin counts are SQL counts; the runner keeps a 2 MiB log tail per job, drops output once nothing reads it, stops artifact walks at the cap and refuses image configs over 4 MiB

2026-10-23

✅ test: forge-web page tests share their fixtures and merge into tablesAhmet Kaan Gümüş · 5137546
✅ test: forge-web page tests share their fixtures and merge into tables

Per-file test counts before and after:
- git_auth.rs: 9 -> 1 (basic auth cases in one table)
- git_http.rs: 10 -> 9 (git protocol value cases in one table)
- internal.rs: 10 -> 9 (ref name cases in one table)
- lfs/route_tests.rs: 12 -> 11 (path-without-.git check moved onto the batch fixture)
- notify.rs: 18 -> 16 (mention parsing cases in one table)
- raw.rs: 11 -> 1 (read-only scenarios share one 9 MB fixture)
- signatures.rs: 7 -> 4 (ssh badge scenarios share one fixture, key listing cases in one table)
- webhooks/client.rs: 10 -> 9 (CIDR and hostname accept cases in one loop)
- webhooks/payload.rs: 7 -> 7 (no duplicates found)

Every assertion is kept and labelled with its case. Scoped run: 115 passed.

2026-10-16

🎉 feat: initial commit of forgeAhmet Kaan Gümüş · 50bfaf3
🎉 feat: initial commit of forge

Self-hosted git forge in Rust: web UI, SSH and smart HTTP git,
issues, pull requests with reviews and merge rules, CI with a
sandboxed runner, webhooks, notifications, releases, LFS, mirrors,
replication and scheduled backups.