forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 197fa34b66f337bbf3fbb62fe04972c5b751a8ea

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-21

2026-10-20

💄 style: runners table fits at 1100px, labels under the name, one actions menuAhmet Kaan Gümüş · 297bb1b
💄 style: runners table fits at 1100px, labels under the name, one actions menu

Name carries the label chips, so the Labels column is gone. Disable, Restart and Delete live in a row menu (keyboard, Escape and outside click) and keep their confirm popovers. Concurrency is the input, Save and a reset icon; its source is the input tooltip. Phone shows cards.
💄 style: align the runners table, confirm Delete and Disable, copy buttons on the registration token pageAhmet Kaan Gümüş · d8b7772
💄 style: align the runners table, confirm Delete and Disable, copy buttons on the registration token page

Headers share the cells' padding and every column is left aligned. The concurrency source is an inline tag so each cell is one line. Delete and Disable use the confirm-inline popover (naming the runner), next to the existing Restart ones. The token page gets Copy buttons and a register command with --config.
✨ feat: import from Forgejo and GiteaAhmet Kaan Gümüş · 08d9c2e
✨ feat: import from Forgejo and Gitea

Forgejo and Gitea (Codeberg included) join GitHub and GitLab as import sources: the repo plus labels, milestones, issues, pull requests with comments and releases with assets, over /api/v1 with limit/page pagination (Link and X-Total-Count), bulk listing and the same outbound address policy. The token is sent as Authorization: token and never stored.
✨ feat: restart a runner from the admin pages, after its jobs or nowAhmet Kaan Gümüş · 767f2d0
✨ feat: restart a runner from the admin pages, after its jobs or now

A runner that advertises the restart capability gets the request in the claim answer or heartbeat, stops claiming, drains or cancels its jobs and exits 75. The request clears when it reports a new boot id.
✨ feat: restart the server from the admin page and follow it back without a reloadAhmet Kaan Gümüş · c80f705
✨ feat: restart the server from the admin page and follow it back without a reload

The button asks for a graceful stop through the self-update path (exit 75, systemd restarts). The page shows Restarting and re-renders itself when the event stream reconnects to a new boot id.
✨ feat: show a real build identity (commit, date) for server and runnersAhmet Kaan Gümüş · 1979f80
✨ feat: show a real build identity (commit, date) for server and runners

Embeds the git short sha and commit date at build time (forge-ci build.rs, env fallback, then unknown). forge --version, /admin/server and /admin/health show it. Runners report it on claim and heartbeat, it is stored (migration 0056), and /admin/runners and the runner page show it with an up to date, outdated or unknown badge.
✨ feat: site announcement banner, admin health page, nav and stylesAhmet Kaan Gümüş · 75640ff
✨ feat: site announcement banner, admin health page, nav and styles

Includes: ✨ feat: suspend users, admin flag, reset link and 2FA reset; password change notice
✨ 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
🐛 fix: audit test checks details field; review_requested inbox verbAhmet Kaan Gümüş · e674439
🐛 fix: audit test checks details field; review_requested inbox verb
🐛 fix: autocomplete reopen after choose, drop dead i18n keys, clippy arg-count allowAhmet Kaan Gümüş · 62a5851
🐛 fix: autocomplete reopen after choose, drop dead i18n keys, clippy arg-count allow

Includes: ✨ feat: attachments, @ and # autocomplete, task lists, review requests, math in markdown
✅ test: route tests for import and export pagesAhmet Kaan Gümüş · b6fa921
✅ test: route tests for import and export pages

Includes: ✨ feat: import repos from git, GitHub and GitLab; per-user data export
✨ 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 0046

2026-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.
👷 ci: restore [release] and v* trigger; ⚡ live-updating CI runs pageAhmet Kaan Gümüş · d30dc31
👷 ci: restore [release] and v* trigger; ⚡ live-updating CI runs page

- the server now parses [release] (and ignores unknown keys with a warning),
  so the bootstrap workaround is no longer needed
- log appends wake the run's event stream; runs page refreshes at most 1/s
- running durations and bars tick locally from server-rendered start times
✨ 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

👷 ci: publish a release with binaries and SHA256SUMS on v* tagsAhmet Kaan Gümüş · b6b26bb
👷 ci: publish a release with binaries and SHA256SUMS on v* tags

Keeps dist/forge as an artifact so self-update still finds dist_forge.
✨ 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