forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on main

2026-10-20

✅ 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
✨ feat: per-theme background and accent colours, instant-save appearance pageAhmet Kaan Gümüş · 9261c0f
✨ feat: per-theme background and accent colours, instant-save appearance page

- Light and dark themes each get their own accent and background set
  (fern, stone, sand, mist, ink); migration 0042 keeps existing looks.
- Appearance page saves every change immediately, with live preview; no Save button.
- Fix soft-nav restoring the first radio of a group (accent jumped back to Sage).
✨ 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): modern runs list with status icons, commit titles and header menusAhmet Kaan Gümüş · 98b537a
💄 feat(ci): modern runs list with status icons, commit titles and header menus

- Runs render as rows: state icon, commit subject, `#n · trigger · branch · commit · actor`,
  duration and age; branches drop `refs/heads/`.
- Run workflow and Status badge move from cards into header dropdowns.
- Live swaps keep open dropdowns open instead of closing them.
✨ 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.
✨ feat(profile): pinned repositories and paginated tabsAhmet Kaan Gümüş · 590ac38
✨ feat(profile): pinned repositories and paginated tabs

The profile gets Overview, Repositories and Stars tabs. Overview shows up to
six pinned repos as cards, or the most recently active ones when none are
pinned. The repo and star tabs page 30 at a time with a name filter, and
visibility is checked once per list instead of two queries per repo.

Pins are picked at /settings/pins (orgs: /org/{org}/settings/pins). The
"Edit profile" link moves from the avatar menu to a button on the profile.
🚀 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
⚡ perf: replace polling loops with event-driven wakesAhmet Kaan Gümüş · a37cdb7
⚡ perf: replace polling loops with event-driven wakes

- workers sleep until their next due time, with a 15-minute backstop
- ci claim wakes all runners
✨ feat(ci): status badgesAhmet Kaan Gümüş · 5db623cBrowse files
💄 feat(ui): light theme by default, profile links, wider layoutAhmet Kaan Gümüş · 9a7cb74
💄 feat(ui): light theme by default, profile links, wider layout

- light theme is the default for everyone, including existing users (migration 0036)
- add "Your profile" menu link; usernames link to profiles
- widen layout to 1280px
- code blocks in cards wrap instead of overflowing
- dropdowns close on outside click and Escape
- GitHub-style watch 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.