forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 2ba0cda9ccf5e430bca3f092f4a2a5142b10ed31

2026-10-22

✨ feat: one live stream per data-live URL on a pageAhmet Kaan Gümüş · 2b69914
✨ feat: one live stream per data-live URL on a page

nav.js opens an EventSource for every distinct data-live URL in the document, not only the first
one, so the repo header counts and the page's own list, issue or run all update together.

2026-10-21

✨ feat: an OCI container registry per user and orgAhmet Kaan Gümüş · 136f946
✨ feat: an OCI container registry per user and org

Includes: ✨ feat: a cargo registry per user and org
✨ feat: the page recovers on its own when the server restartsAhmet Kaan Gümüş · 8ae0722
✨ feat: the page recovers on its own when the server restarts

Every page holds a stream to /-/alive. While it is down a bar says the server is
restarting and the page stays put. Soft navigations are kept and made again when the
server is back; a form post is never sent again and the bar asks for a new submit.
A full load during an outage gets an offline page from the service worker, which
reloads itself once the server answers. Every event stream sends retry: 1000, and
streams closed by a proxy's error are reopened by the page after 1, 2, then 3 s.
✨ 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.
💄 ui: seven more accents and three more backgroundsAhmet Kaan Gümüş · 5bed83d
💄 ui: seven more accents and three more backgrounds

Accents: Teal, Moss, Indigo, Amber, Clay, Berry and Ember (13 in all). Backgrounds: Dune, Lilac and Dusk (8 in all). Every light and dark token pair passes WCAG AA for text on accent and accent ink on every background. Turkish names added. Tests cover the new ids, the store round-trip and the settings form.
⚡ feat: issues update liveAhmet Kaan Gümüş · fac9525Browse files
♻️ refactor: map subuids from a spawned helper instead of an unsafe forkAhmet Kaan Gümüş · 6e9cbff
♻️ refactor: map subuids from a spawned helper instead of an unsafe fork

Subuid mode spawns the runner binary as __sandbox-map before unshare. The helper waits on stdin for a gate byte, then runs newuidmap and newgidmap against the parent pid. Errors come back on stderr. This removes the only fork in the sandbox path, so idmap.rs has no unsafe code.
♻️ 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.
✨ 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