forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 37e985d7446f13ea8d71da4ff0e8d2d11d64a25fFiltered to Cargo.tomlClear filter

Today

Yesterday

♻️ refactor: the pages split into forge-web-pages (the shared repo, issue, CI and settings pages), forge-web-account (account, admin, org and profile) and forge-web-repo (code, pulls, discussions), so no single rustc compiles all 80k lines of pages; the two upper crates build in parallel and page tests that span crates move to the binaryAhmet Kaan Gümüş · bdda6d8
♻️ refactor: the pages split into forge-web-pages (the shared repo, issue, CI and settings pages), forge-web-account (account, admin, org and profile) and forge-web-repo (code, pulls, discussions), so no single rustc compiles all 80k lines of pages; the two upper crates build in parallel and page tests that span crates move to the binary
♻️ refactor: everything below the pages moves from the forge binary into a new forge-web-app crate (state, auth, live, views, CI, mail, backup, replication and the HTTP APIs), so the binary compiles only the pages on top; route tests that need pages move with the binaryAhmet Kaan Gümüş · 42a2afe
♻️ refactor: everything below the pages moves from the forge binary into a new forge-web-app crate (state, auth, live, views, CI, mail, backup, replication and the HTTP APIs), so the binary compiles only the pages on top; route tests that need pages move with the binary

2026-11-24

2026-11-01

⬆️ deps: everything to latest: webauthn-rs 0.6.2 (RustCrypto in place of OpenSSL, so forge no longer needs libssl or libcrypto), tokio 1.54, zip 9.2, plus smaller bumps and a lockfile refresh; existing passkeys keep working with no migration; ♻️ refactor: passkey sign-in checks only the passkey that was used, through finish_discoverable_authentication_v2Ahmet Kaan Gümüş · 0c29382
⬆️ deps: everything to latest: webauthn-rs 0.6.2 (RustCrypto in place of OpenSSL, so forge no longer needs libssl or libcrypto), tokio 1.54, zip 9.2, plus smaller bumps and a lockfile refresh; existing passkeys keep working with no migration; ♻️ refactor: passkey sign-in checks only the passkey that was used, through finish_discoverable_authentication_v2
⚡ perf(ci): a push no longer rebuilds what did not change: the runner gives each tracked file the time its content last changed, so cargo and make skip unchanged code after a fresh checkout; forge-ci has no build script, so a new commit no longer recompiles every crate, and only release builds read git for the commit shown in the version; one build job runs unit tests, the release build, then the e2e tests against the binary it ships, so forge compiles once fewer and e2e takes seconds; incremental is back on for test builds, on trial; ♻️ refactor: e2e tests move to forge-e2e and modules with no routes and no dependency on pages move to forge-web-base; debug builds show unknown for commit and dateAhmet Kaan Gümüş · 158fa0f
⚡ perf(ci): a push no longer rebuilds what did not change: the runner gives each tracked file the time its content last changed, so cargo and make skip unchanged code after a fresh checkout; forge-ci has no build script, so a new commit no longer recompiles every crate, and only release builds read git for the commit shown in the version; one build job runs unit tests, the release build, then the e2e tests against the binary it ships, so forge compiles once fewer and e2e takes seconds; incremental is back on for test builds, on trial; ♻️ refactor: e2e tests move to forge-e2e and modules with no routes and no dependency on pages move to forge-web-base; debug builds show unknown for commit and date

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.
⚡ perf: tests build the store, parser and password hash crates optimizedAhmet Kaan Gümüş · 2b7f1c7
⚡ perf: tests build the store, parser and password hash crates optimized

Every test opens a fresh store and runs the migrations through turso, and the login tests hash passwords with argon2. Unoptimized, those two dominate the suite. With opt-level 3 for them the summed test time drops from 946 s to 409 s and the workspace run from 80 s to 57 s. A nextest config adds a ci profile that writes JUnit timings.

2026-10-21

✨ feat: web push notifications with a service worker and per-device settingsAhmet Kaan Gümüş · 8a4b8e7
✨ feat: web push notifications with a service worker and per-device settings

Each inbox notification also goes to the user's devices that turned push on. Pushes are encrypted with web-push-native (RFC 8291, RFC 8292), sent from a spawned task, and carry only a short title, body and link. Devices are managed on the notifications settings page, which updates live. Adds a service worker at /sw.js, a web app manifest and icons.
♻️ refactor: the sandbox helper waits on a signal pipe instead of an unsafe sigaction handlerAhmet Kaan Gümüş · 843ec87
♻️ refactor: the sandbox helper waits on a signal pipe instead of an unsafe sigaction handler

SIGTERM, SIGINT and SIGCHLD now go through signal-hook: a self-pipe wakes the
wait loop, and SIGTERM and SIGINT also set a flag. The loop blocks in poll
instead of sleeping every 50 ms. The helper has no unsafe code of its own.
✨ feat: the runner parks the youngest job in swap under memory pressure instead of letting the kernel killAhmet Kaan Gümüş · 197fa34
✨ feat: the runner parks the youngest job in swap under memory pressure instead of letting the kernel kill

Jobs now live in a runner-owned box cgroup capped at the memory budget. An inotify watch on
memory.events and a PSI trigger wake a controller that freezes the youngest job, pushes it to swap,
and thaws it when there is room. A job that cannot be parked is killed and requeued. Admission waits
on the controller instead of a timer, memory declarations in ci.toml are now optional.

2026-10-18

✨ feat: CI auto-releases, releases REST API, asset replace, retag, R2/S3 storageAhmet Kaan Gümüş · 51b2bbf
✨ feat: CI auto-releases, releases REST API, asset replace, retag, R2/S3 storage

- `[release]` in .forge/ci.toml: successful tag runs publish the release,
  attach matching job artifacts and write commit notes since the last release
- token-authenticated /api/v1/repos/{owner}/{repo}/releases API with streamed uploads
- same-name uploads replace assets in place; per-asset Replace control
- edit a release's tag and target (target moves only while draft)
- release_ops layer shared by pages, API and CI
- `[storage]` backend: fs (default), r2 (native config) or s3
- fix: asset delete now checks the release belongs to the repo in the URL

2026-10-17

🚀 feat: self-update on green ci and repo workflowAhmet Kaan Gümüş · 4c18432
🚀 feat: self-update on green ci and repo workflow

- forge swaps its binary when a push to main passes CI (artifact dist_forge), keeps .prev, exits 75 for systemd restart
- runners update from the server's binary when idle via claim headers
- systemd user units with OnFailure rollback and a .bad list
- .forge/ci.toml runs test and build

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.