forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on e587be7353fd690b22151a17ef1ff50751fd0ebaFiltered to crates/forge-runner/src/executor.rsClear filter

2026-11-30

2026-11-01

💄 style: every page follows one design language: pages run the full window width, repo pages have one head row with the tabs and actions and every other page has a page head at the same height, lists and details sit in panes that fill the window, section headings are labels, and empty states are left aligned; the repo page is calmer, with a thin dock under the panes, a tree column that hides Last commit when narrow and no repeated title or description; issue labels wrap as left-aligned chips; ✨ feat: every link, back and forward uses the same page transition, not only list rows; 🐛 fix: the sticky file header no longer covers code on a commit's diff; the latest commit bar parses the commit message like the lists do; the CI timeline's text stays one size on wide windows and a job label is no longer cut off at the edge; ♻️ refactor: dead CI job CSS is removedAhmet Kaan Gümüş · 9011044
💄 style: every page follows one design language: pages run the full window width, repo pages have one head row with the tabs and actions and every other page has a page head at the same height, lists and details sit in panes that fill the window, section headings are labels, and empty states are left aligned; the repo page is calmer, with a thin dock under the panes, a tree column that hides Last commit when narrow and no repeated title or description; issue labels wrap as left-aligned chips; ✨ feat: every link, back and forward uses the same page transition, not only list rows; 🐛 fix: the sticky file header no longer covers code on a commit's diff; the latest commit bar parses the commit message like the lists do; the CI timeline's text stays one size on wide windows and a job label is no longer cut off at the edge; ♻️ refactor: dead CI job CSS is removed

2026-10-29

✨ feat: a session on Settings → Sessions opens its details in a popup (user agent, sign-in and last IP, times) instead of a page, and a session from before IPs were recorded says "Not recorded"; the shell's live updates (online, unread, activity, repo side) come over one stream, /-/shell/events, so a page no longer opens six event streams and hangs the next navigation on HTTP/1.1; clippy is clean on Rust 1.99Ahmet Kaan Gümüş · dcdcd27
✨ feat: a session on Settings → Sessions opens its details in a popup (user agent, sign-in and last IP, times) instead of a page, and a session from before IPs were recorded says "Not recorded"; the shell's live updates (online, unread, activity, repo side) come over one stream, /-/shell/events, so a page no longer opens six event streams and hangs the next navigation on HTTP/1.1; clippy is clean on Rust 1.99

2026-10-28

🔒 harden: a builtin job with network = true gets its own network namespace through pasta (internet yes; the runner's localhost, private and link-local ranges no; IPv6 none), and shares the host's only when pasta is missing, saying so in the job log; a job may fill limits.job_disk_gb (20, on the runner page) of disk before it is stopped; the runner removes leftover job dirs, cgroups, pasta processes and workspaces at startupAhmet Kaan Gümüş · 570e592
🔒 harden: a builtin job with network = true gets its own network namespace through pasta (internet yes; the runner's localhost, private and link-local ranges no; IPv6 none), and shares the host's only when pasta is missing, saying so in the job log; a job may fill limits.job_disk_gb (20, on the runner page) of disk before it is stopped; the runner removes leftover job dirs, cgroups, pasta processes and workspaces at startup
🐛 fix: a builtin job without `memory` gets the runner's memory budget as its cgroup limit, as docs/ci.md says, instead of limits.memory (4g), which OOM-killed rustc in cargo testAhmet Kaan Gümüş · bdd842c
🐛 fix: a builtin job without `memory` gets the runner's memory budget as its cgroup limit, as docs/ci.md says, instead of limits.memory (4g), which OOM-killed rustc in cargo test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

2026-10-27

2026-10-21

✨ 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.
✨ feat: the runner reports OOM kills from the job cgroup, shown on the job page and in alertsAhmet Kaan Gümüş · edff93b
✨ feat: the runner reports OOM kills from the job cgroup, shown on the job page and in alerts

A killed rustc leaves cargo exiting 101 with the signal only in the log, so the exit code
and message checks missed it. The helper reads memory.events (oom, oom_kill) before the
cgroup is deleted, the runner sends oom_killed and oom_kills in the finish body, the forge
stores them, the job page says killed: out of memory and the killed-job alert fires on it,
with the old exit code and message matches kept as a fallback.

2026-10-20

✨ feat: memory-aware job admission so a runner never over-commits its RAMAhmet Kaan Gümüş · 69c5821
✨ feat: memory-aware job admission so a runner never over-commits its RAM

A job can declare memory in ci.toml. A runner admits a job only when the
reservations of its running jobs plus the new one fit its memory budget
(MemTotal minus headroom by default, swap ignored), tells the forge how much
it can admit on every claim, and the forge hands out the first queued job that
fits. A job that waited 5 minutes and does not fit stops smaller jobs passing
it. Each job's cgroup gets memory.max of its declared memory plus slack, with
swap off. Budget and default reservation are live settings on the runner page,
which also shows budget, reserved and free. Old runners and forges keep the
old behaviour. forge's own ci.toml declares 4g for test and build.

2026-10-18

⚡ perf(ci): per-branch build cache kept on the runnerAhmet Kaan Gümüş · fabd8b3
⚡ perf(ci): per-branch build cache kept on the runner

- Jobs list workspace paths to keep with `cache = ["target"]`.
- The runner moves a same-branch entry into the checkout and back after the run; a new
  branch starts from a copy of its base or default branch entry.
- The server picks the scope from the run's trigger: pushes write `ref:<ref>`, pull requests
  only `pr:<n>`, so a PR can never seed the cache a deploy build reuses.
- `cache_max_gib` (default 20, 0 = off) evicts the least recently saved entries.

🐛 deploy: exit 75 is a deliberate restart, not a failure. Without SuccessExitStatus the
OnFailure rollback ran on every self-update and restored the previous binary.

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.