forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 8e56ffc5ba761d68f2909dedfcd96dcedc76f102Filtered to deploy/forge.serviceClear filter

2026-10-29

⚡ perf: forge serve sets MIMALLOC_ALLOW_THP=0 itself by re-running once at start (same PID), since self-update replaces only the binary and never the unit; the unit no longer carries it, and an explicit value is left aloneAhmet Kaan Gümüş · 05f3e02
⚡ perf: forge serve sets MIMALLOC_ALLOW_THP=0 itself by re-running once at start (same PID), since self-update replaces only the binary and never the unit; the unit no longer carries it, and an explicit value is left alone
⚡ 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-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.