Commits
Commits on
37e985d7446f13ea8d71da4ff0e8d2d11d64a25fFiltered to crates/forge-ssh/src/server.rsClear filterYesterday
♻️ refactor: leftover cross-crate simplification (signed-token helper, NewPull, settings table, row helpers, strings! i18n macro, csrf form, RepoCtx helpers, shared page and e2e helpers, ci config split, one time helper set); fixes: runner reported labels survive override clears, milestone titles repaired from the swapped update bug, runner helper lines can no longer be spoofed by job output, rootfs GC no longer touches other id ranges, restart only labels jobs it cancelled, artifact quota re-checked in the store write, LFS gc and upload share a lock, OCI orphan blobs swept, mirror worker no longer spins on syncing mirrors, merge queue fails missing checks after the job timeout and resumes after restart, post_update walks every pushed commit, close-with-comment is one transaction, pull create is retry-safeAhmet Kaan Gümüş · c3c44bb
♻️ refactor: leftover cross-crate simplification (signed-token helper, NewPull, settings table, row helpers, strings! i18n macro, csrf form, RepoCtx helpers, shared page and e2e helpers, ci config split, one time helper set); fixes: runner reported labels survive override clears, milestone titles repaired from the swapped update bug, runner helper lines can no longer be spoofed by job output, rootfs GC no longer touches other id ranges, restart only labels jobs it cancelled, artifact quota re-checked in the store write, LFS gc and upload share a lock, OCI orphan blobs swept, mirror worker no longer spins on syncing mirrors, merge queue fails missing checks after the job timeout and resumes after restart, post_update walks every pushed commit, close-with-comment is one transaction, pull create is retry-safe
ci/buildjob was cancelledDetails
♻️ refactor: forge-core, forge-ci, forge-git and forge-ssh drop dead code, duplicated helpers and redundant tests; fixes: streaming log masker no longer leaks a secret whose prefix is another secret, milestone update stores title and folded title the right way round, milestone counts skip pulls, key file is written to a temp file then linked so a crash cannot leave a truncated key, and other verified store fixesAhmet Kaan Gümüş · e587be7
♻️ refactor: forge-core, forge-ci, forge-git and forge-ssh drop dead code, duplicated helpers and redundant tests; fixes: streaming log masker no longer leaks a secret whose prefix is another secret, milestone update stores title and folded title the right way round, milestone counts skip pulls, key file is written to a temp file then linked so a crash cannot leave a truncated key, and other verified store fixes
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-28
🔒 harden: cargo audit is clean of vulnerabilities: turso 0.9.0-pre.2 without its fts feature (no tantivy, old zstd or lru); web push encrypts (RFC 8291) and signs VAPID (RFC 8292) on p256 0.14, hkdf, aes-gcm and sha2 instead of web-push-native (no jwt-simple, rsa 0.9 or crypto-bigint 0.5); SSH no longer accepts RSA user keys, as the key page already refused them (russh without rsa); syntect and comrak take only the features forge uses (no yaml-rust or onig)Ahmet Kaan Gümüş · 5219076
🔒 harden: cargo audit is clean of vulnerabilities: turso 0.9.0-pre.2 without its fts feature (no tantivy, old zstd or lru); web push encrypts (RFC 8291) and signs VAPID (RFC 8292) on p256 0.14, hkdf, aes-gcm and sha2 instead of web-push-native (no jwt-simple, rsa 0.9 or crypto-bigint 0.5); SSH no longer accepts RSA user keys, as the key page already refused them (russh without rsa); syntect and comrak take only the features forge uses (no yaml-rust or onig)
⬆️ deps: everything to latest: comrak 0.59, gix 0.90 (max-performance is pure Rust now), russh 0.65 (auth callbacks take the offer and the verified key), scraper 0.29, topcoat 0.11, plus semver updatesAhmet Kaan Gümüş · 8176fe1
⬆️ deps: everything to latest: comrak 0.59, gix 0.90 (max-performance is pure Rust now), russh 0.65 (auth callbacks take the offer and the verified key), scraper 0.29, topcoat 0.11, plus semver updates Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23
⚡ perf: stop the slow e2e tests waiting on delays they do not checkAhmet Kaan Gümüş · 5f0038c
⚡ perf: stop the slow e2e tests waiting on delays they do not check Where the time went (isolated runs, before -> after): - ssh_e2e clone_push_clone_over_ssh: 16.9 s -> 0.5 s Every SSH connection's first `none` auth probe was rejected, and russh answered each rejection after a fixed 1 s delay. The delay is now the `ssh_auth_rejection_secs` setting (default 1, production unchanged); the e2e harness and the SSH test set 0. - mirrors_e2e pull_and_push_mirrors_sync_over_smart_http: 12.9 s -> 3.5 s A push mirror waited the hard-coded 10 s push debounce. The debounce is now `[mirrors] push_debounce_secs` (default 10, production unchanged); the test sets 0. - git_e2e git_end_to_end: 9.5 s -> 2.9 s Its SSH operations paid the same 1 s auth delay as above. - ci::api::tests::runner_binary_streams_the_running_binary_with_its_sha: 32 s -> 9.2 s (shared run). The binary body was streamed in 4 KiB frames (ReaderStream default), about 350k frames for a 1.4 GB debug binary. Now 64 KiB frames. The served bytes and assertions are unchanged. Also: debug builds now optimize argon2, blake2, ml-kem, keccak, curve25519-dalek, ed25519-dalek and chacha20 (same pattern as sha2), so password hashing and SSH crypto are fast in tests. Release is unaffected.
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.