Commits
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
🔒 harden: an approval counts only while the PR head is the commit it was given on, so a push after review needs a new approval; the merge queue checks reviews again right before it lands an entry; a job's artifacts together are capped at 2 GiB (ci.max_job_artifacts_mb, on the limits page)Ahmet Kaan Gümüş · 2e6d8a0
🔒 harden: an approval counts only while the PR head is the commit it was given on, so a push after review needs a new approval; the merge queue checks reviews again right before it lands an entry; a job's artifacts together are capped at 2 GiB (ci.max_job_artifacts_mb, on the limits page) Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-27
2026-10-22
2026-10-21
✨ feat: merge queue so the protected branch only receives tested commitsAhmet Kaan Gümüş · 05cd9baBrowse files
✨ 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.
✨ feat(ci): scheduler loop, scheduled trigger, next-run hint, grouped matrix jobs, docsAhmet Kaan Gümüş · 1277e99
✨ feat(ci): scheduler loop, scheduled trigger, next-run hint, grouped matrix jobs, docs Includes: ✨ feat(ci): cron schedules and matrix expansion in ci.toml
✨ feat: CI run UX, partial re-runs, run artifacts zip, ANSI log viewer, superseded runs, config warningsAhmet Kaan Gümüş · 264395dBrowse files
✨ feat: live runner config and server settings in admin UIAhmet Kaan Gümüş · 8609bad
✨ feat: live runner config and server settings in admin UI
- Runner config: per-runner concurrency and labels editable live from
/admin/runners, applied via heartbeat/claim header with no restart; the
runner limiter resizes without killing running jobs
- Runner detail page at /admin/runners/{id} shows every runner.toml field
with source and kind (live / restart needed / read-only), secrets redacted,
with live SSE updates
- New GET/PUT /api/v1/ci/runners/config endpoints; migrations 0044, 0045
- Server settings at /admin/server: DB-backed overrides over the config file
(UI > file > default), five tabs, per-field live / restart / read-only /
write-only secret kinds, reset to file value
- Shared AppState::live() handle, validation via Config::validate, saves
audited by key only; migration 00462026-10-19
💄 ui: site-wide alignment audit; 👷 ci: parallel jobs with fail fastAhmet Kaan Gümüş · 63d7a81
💄 ui: site-wide alignment audit; 👷 ci: parallel jobs with fail fast - CI: test and build run in parallel; a failing job cancels the rest of the run. Releases and self-update require the whole run to succeed. - Waterfall draws dependency connectors instead of "needs X" subtitles. - Screenshot audit harness (scripts/audit) in headless Chromium, all routes, desktop and mobile, light and dark. - Alignment fixes across repo, issues/PRs, CI, settings, admin, auth, profile, orgs, wiki and snippets; select text centring; heatmap empty vs 1-commit contrast. - Profile repositories tab: rich rows, sort, DB-side paging, live search. - Org pages get their own section sidebar; Settings shown to owners only. - Styled 404 page; no em dashes in UI copy.
✨ feat: forward-compatible ci.toml, admin/settings sidebars, sidebar side pref, unified radiiAhmet Kaan Gümüş · d000946
✨ feat: forward-compatible ci.toml, admin/settings sidebars, sidebar side pref, unified radii - ci.toml: unknown keys warn in every job log instead of failing the run - admin and settings pages swap the shell sidebar; no more " · " link rows - per-user sidebar side (left/right), instant-save on Appearance - radius and control-height tokens; inputs, selects and buttons line up - tests: git identity for release API helpers - ci: [release] and v* trigger temporarily removed so the old server can parse this config and self-update
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✨ feat: waterfall CI pages, accent colours, visible mail queue, security and profile redesignAhmet Kaan Gümüş · cda33ca
✨ feat: waterfall CI pages, accent colours, visible mail queue, security and profile redesign - ci: runs list and run page become one waterfall + detail split view (to-scale job Gantt, job lines, failed job's log tail, all live); the badge falls back to the label "build" instead of "ci" - appearance: selectable accent colour (sage default, ocean, plum, rose, ochre, slate) stored per user; palettes live in accent_palette.rs and build.rs generates the CSS from it; WCAG contrast tested - mail: admin SMTP settings in the UI and a queue view with states (queued, retrying, sending, sent, failed, discarded), retry and discard - security: row layout with a 2FA "On" badge, the authenticator device (name, added, last used), recovery codes left, email verification and the latest verification mail's state, and a danger zone - profile: optional display name shown above the username; compact Edit profile button - no focus ring on <main> after alt+tab Migrations 0038 display name, 0039 2FA device, 0040 mail queue, 0041 accent.
⚡ 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(ci): live runs list, job graph, badge labels and a one-form profile settings pageAhmet Kaan Gümüş · b25287e
✨ feat(ci): live runs list, job graph, badge labels and a one-form profile settings page - Runs list updates live over SSE on page 1 (per-repo change signal), rows are whole-row links. - Run page: compact header and a server-rendered job graph staged by `needs`; job rows are links. - Job log opens at its tail and keeps following unless the reader scrolls up. - Badge label: `?label=`, then the job name, then ci.toml `name`, then "ci"; README badge added. - Profile settings: username, about and timezone in one form, avatar with an Edit menu.
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.