Commits
Today
✨ feat: runners handle SIGTERM, report a clean stop so they show offline at once, and can unregister themselves (install.sh --uninstall uses it); runner name is editable from the admin page; docs: runner check runs under systemd-run --userAhmet Kaan Gümüş · 2e29cbc
✨ feat: runners handle SIGTERM, report a clean stop so they show offline at once, and can unregister themselves (install.sh --uninstall uses it); runner name is editable from the admin page; docs: runner check runs under systemd-run --user
ci/buildFailedDetails
✨ feat: one-line runner install: /api/v1/ci/runners/install.sh sets up packages, a ci user with subids and linger, downloads the forge binary with the registration token (sha256 checked), runs check, registers and starts the user service; --uninstall removes it; the token page shows the commandAhmet Kaan Gümüş · 8298537
✨ feat: one-line runner install: /api/v1/ci/runners/install.sh sets up packages, a ci user with subids and linger, downloads the forge binary with the registration token (sha256 checked), runs check, registers and starts the user service; --uninstall removes it; the token page shows the command
ci/buildSucceededDetails
Yesterday
🐛 fix: the swap share of a runner's memory budget is swap again: a job without memory may hold the RAM part and swap up to the share, where before the whole budget was its RAM limit with swap off, so a build bigger than RAM was OOM-killed even with swap on the hostAhmet Kaan Gümüş · a574fbfBrowse files
✨ feat: runners report the used and total space of their work dir filesystem, and the runner page draws it as a Storage graph beside CPU, memory and network, with a Storage column in its table; the Limits tab can set host headroom and the share of swap in the memory budget, the last two runner.toml fields the UI did not have; a runner's Jobs tab links each job to its page and its repo to the repoAhmet Kaan Gümüş · 2ba0d23
✨ feat: runners report the used and total space of their work dir filesystem, and the runner page draws it as a Storage graph beside CPU, memory and network, with a Storage column in its table; the Limits tab can set host headroom and the share of swap in the memory budget, the last two runner.toml fields the UI did not have; a runner's Jobs tab links each job to its page and its repo to the repo
🐛 fix: a runner host without git fails the job with "git is not installed on the runner host" instead of a bare "No such file or directory", and forge runner check tests for git; 📝 docs: git is a runner host requirementAhmet Kaan Gümüş · 79e878f
🐛 fix: a runner host without git fails the job with "git is not installed on the runner host" instead of a bare "No such file or directory", and forge runner check tests for git; 📝 docs: git is a runner host requirement
ci/buildFailedDetails
2026-11-04
🐛 fix: a job stopped under memory pressure has its workspace removed before it goes back to the queue, so a free slot on the same runner that claims it again no longer has its folder deleted under it (git init: cannot change to the work folder); a forge restart or self-update no longer fails running jobs: after boot nothing is reaped for two minutes, so runners report in first, and a runner keeps offering a finished job's result for up to ten minutes while the forge cannot be reached, giving up early only when the forge refuses it 📝 docs: CI says what a forge restart does to running jobsAhmet Kaan Gümüş · 529f562
🐛 fix: a job stopped under memory pressure has its workspace removed before it goes back to the queue, so a free slot on the same runner that claims it again no longer has its folder deleted under it (git init: cannot change to the work folder); a forge restart or self-update no longer fails running jobs: after boot nothing is reaped for two minutes, so runners report in first, and a runner keeps offering a finished job's result for up to ten minutes while the forge cannot be reached, giving up early only when the forge refuses it 📝 docs: CI says what a forge restart does to running jobs
ci/buildjob was cancelledDetails
🐛 fix: a tag deleted and pushed again at another commit moves its release: the tag run's release takes the run's commit as its target, and notes the forge wrote for the old commit, unedited, are written again for the new one, while hand-written notes and the title are kept; a run whose commit the tag no longer names leaves the target alone 📝 docs: CI releases say how a moved tag is followed ✅ test: a moved tag moves the release and its generated notesAhmet Kaan Gümüş · e869379
🐛 fix: a tag deleted and pushed again at another commit moves its release: the tag run's release takes the run's commit as its target, and notes the forge wrote for the old commit, unedited, are written again for the new one, while hand-written notes and the title are kept; a run whose commit the tag no longer names leaves the target alone 📝 docs: CI releases say how a moved tag is followed ✅ test: a moved tag moves the release and its generated notes
ci/buildSucceededDetails
2026-11-01
✨ feat(ci): a job's top-level log groups are now steps: the server saves each one's name, start and end times and place in the log as chunks arrive, reading the masked text so a step name cannot hold a secret; a step left open takes the job's result, a requeued job starts with none, and each step gets a duration estimate by the same rule as a job; forge's own job prints Unit tests, Release build, E2E tests and Package as steps; the run page shows them: the selected job lists its steps with state and time, each job's row has a thin bar split by step, a step opens the log at its first line with its name held at the top and the failure box out of the way, and the timeline gives the selected job a lane per step; a job's preview no longer reads ::endgroup::; 🐛 fix: a run page on a phone shows its jobs and log, which a long title had squeezed to nothing; 💄 style: Ctrl K sits by the search hint and no longer reads as the key for ExploreAhmet Kaan Gümüş · c4b949a
✨ feat(ci): a job's top-level log groups are now steps: the server saves each one's name, start and end times and place in the log as chunks arrive, reading the masked text so a step name cannot hold a secret; a step left open takes the job's result, a requeued job starts with none, and each step gets a duration estimate by the same rule as a job; forge's own job prints Unit tests, Release build, E2E tests and Package as steps; the run page shows them: the selected job lists its steps with state and time, each job's row has a thin bar split by step, a step opens the log at its first line with its name held at the top and the failure box out of the way, and the timeline gives the selected job a lane per step; a job's preview no longer reads ::endgroup::; 🐛 fix: a run page on a phone shows its jobs and log, which a long title had squeezed to nothing; 💄 style: Ctrl K sits by the search hint and no longer reads as the key for Explore
ci/buildSucceededDetails
⚡ 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-29
⚡ perf(ci): a cancelled or requeued job no longer throws away the build cache: a hit used to move the entry into the job's workspace and only a finished job put it back, so cancelling run #108 and the memory requeue in #109 left main with a cold cache and a full recompile of 674 crates; now a hit copies the entry (cp --reflink=auto) and only a job that succeeds or fails replaces it, several jobs can read one entry at once, and copies hold a read lock so a save or eviction cannot swap the entry halfway; forge's own CI caches CARGO_HOME in the workspace too, so a run downloads only new cratesAhmet Kaan Gümüş · c3349ae
⚡ perf(ci): a cancelled or requeued job no longer throws away the build cache: a hit used to move the entry into the job's workspace and only a finished job put it back, so cancelling run #108 and the memory requeue in #109 left main with a cold cache and a full recompile of 674 crates; now a hit copies the entry (cp --reflink=auto) and only a job that succeeds or fails replaces it, several jobs can read one entry at once, and copies hold a read lock so a save or eviction cannot swap the entry halfway; forge's own CI caches CARGO_HOME in the workspace too, so a run downloads only new crates
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.