forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 0d793e79661b6fda70ef67e41b548320a00a8598Filtered to crates/forge-web/src/boot.rsClear filter

Today

Yesterday

♻️ refactor: leftover cross-crate simplification (signed-token helper, NewPull, settings table, row helpers, strings! i18n macro, csrf form, RepoCtx helpers, shared page and e2e helpers, ci config split, one time helper set); fixes: runner reported labels survive override clears, milestone titles repaired from the swapped update bug, runner helper lines can no longer be spoofed by job output, rootfs GC no longer touches other id ranges, restart only labels jobs it cancelled, artifact quota re-checked in the store write, LFS gc and upload share a lock, OCI orphan blobs swept, mirror worker no longer spins on syncing mirrors, merge queue fails missing checks after the job timeout and resumes after restart, post_update walks every pushed commit, close-with-comment is one transaction, pull create is retry-safeAhmet Kaan Gümüş · c3c44bb
♻️ refactor: leftover cross-crate simplification (signed-token helper, NewPull, settings table, row helpers, strings! i18n macro, csrf form, RepoCtx helpers, shared page and e2e helpers, ci config split, one time helper set); fixes: runner reported labels survive override clears, milestone titles repaired from the swapped update bug, runner helper lines can no longer be spoofed by job output, rootfs GC no longer touches other id ranges, restart only labels jobs it cancelled, artifact quota re-checked in the store write, LFS gc and upload share a lock, OCI orphan blobs swept, mirror worker no longer spins on syncing mirrors, merge queue fails missing checks after the job timeout and resumes after restart, post_update walks every pushed commit, close-with-comment is one transaction, pull create is retry-safe
  • ✗ci/buildjob was cancelledDetails
♻️ refactor: page crates (forge-web-pages, forge-web-account, forge-web-repo, forge-web) drop duplicated helpers, string states and stale comments; fixes: out-of-range explore and profile pages clamp before slicing, admin restart redirects to the right category, SSH key titles are length-checked on the server, password rules match on every page, and other verified page fixesAhmet Kaan Gümüş · 76d78e3
♻️ refactor: page crates (forge-web-pages, forge-web-account, forge-web-repo, forge-web) drop duplicated helpers, string states and stale comments; fixes: out-of-range explore and profile pages clamp before slicing, admin restart redirects to the right category, SSH key titles are length-checked on the server, password rules match on every page, and other verified page fixes
♻️ refactor: forge-core, forge-ci, forge-git and forge-ssh drop dead code, duplicated helpers and redundant tests; fixes: streaming log masker no longer leaks a secret whose prefix is another secret, milestone update stores title and folded title the right way round, milestone counts skip pulls, key file is written to a temp file then linked so a crash cannot leave a truncated key, and other verified store fixesAhmet Kaan Gümüş · e587be7
♻️ refactor: forge-core, forge-ci, forge-git and forge-ssh drop dead code, duplicated helpers and redundant tests; fixes: streaming log masker no longer leaks a secret whose prefix is another secret, milestone update stores title and folded title the right way round, milestone counts skip pulls, key file is written to a temp file then linked so a crash cannot leave a truncated key, and other verified store fixes
♻️ refactor: the pages split into forge-web-pages (the shared repo, issue, CI and settings pages), forge-web-account (account, admin, org and profile) and forge-web-repo (code, pulls, discussions), so no single rustc compiles all 80k lines of pages; the two upper crates build in parallel and page tests that span crates move to the binaryAhmet Kaan Gümüş · bdda6d8
♻️ refactor: the pages split into forge-web-pages (the shared repo, issue, CI and settings pages), forge-web-account (account, admin, org and profile) and forge-web-repo (code, pulls, discussions), so no single rustc compiles all 80k lines of pages; the two upper crates build in parallel and page tests that span crates move to the binary

2026-11-24

2026-11-01

2026-10-31

✨ feat: the sidebar and dashboard are gone: / opens your profile, which holds the contribution calendar and tabs for Repositories (with New repository), Snippets, Stars, Packages and Organizations (with New organization), and a sidebar stays only on section pages; the profile corner is a floating panel, bottom left by default, that can be dragged anywhere and reset with a double click; organizations get a real profile with New repository, Members, Teams and Settings, and their settings take a display name and an avatar; failed bulk imports can be retried from a checklist with a token; a signed-in user's tree width, panel position, diff view and banner dismissal are stored in the database (migration 0069); 🐛 fix: a form the server refuses keeps its address, so a live refresh no longer lands on a 405 page after a wrong repo transfer; the Recent imports card matches the import form's width and no longer touches it; deleting a repo returns to the owner's Repositories tab with its noticeAhmet Kaan Gümüş · c812504
✨ feat: the sidebar and dashboard are gone: / opens your profile, which holds the contribution calendar and tabs for Repositories (with New repository), Snippets, Stars, Packages and Organizations (with New organization), and a sidebar stays only on section pages; the profile corner is a floating panel, bottom left by default, that can be dragged anywhere and reset with a double click; organizations get a real profile with New repository, Members, Teams and Settings, and their settings take a display name and an avatar; failed bulk imports can be retried from a checklist with a token; a signed-in user's tree width, panel position, diff view and banner dismissal are stored in the database (migration 0069); 🐛 fix: a form the server refuses keeps its address, so a live refresh no longer lands on a 405 page after a wrong repo transfer; the Recent imports card matches the import form's width and no longer touches it; deleting a repo returns to the owner's Repositories tab with its notice

2026-10-29

✨ feat(ci): a runner's page answers what it is working on and how its host is doing: a Jobs tab lists the jobs it runs now and its last 20 finished ones, each with its run, how long it ran and how long it waited in the queue (the Running jobs stat links there, and ci_jobs gets an index on runner_id, started_at); a Metrics tab graphs the last hour of CPU (with the time jobs ran shaded), memory against the total and network received and sent, from samples the runner takes from /proc every 5 s and sends every 10 s; the graphs are server-drawn SVG in the accent colour with a hover readout per 30 s and a table view, and the forge keeps the samples in memoryAhmet Kaan Gümüş · 42861fb
✨ feat(ci): a runner's page answers what it is working on and how its host is doing: a Jobs tab lists the jobs it runs now and its last 20 finished ones, each with its run, how long it ran and how long it waited in the queue (the Running jobs stat links there, and ci_jobs gets an index on runner_id, started_at); a Metrics tab graphs the last hour of CPU (with the time jobs ran shaded), memory against the total and network received and sent, from samples the runner takes from /proc every 5 s and sends every 10 s; the graphs are server-drawn SVG in the accent colour with a hover readout per 30 s and a table view, and the forge keeps the samples in memory

2026-10-28

✨ feat: everything live-updates: server settings and the banner, repo header counts and switches, labels, milestones, review requests, pull timeline, runner online state, health, CI artifacts and purges, and admin CLI writes; small-range settings and required approvals use the stepperAhmet Kaan Gümüş · 374e721
✨ feat: everything live-updates: server settings and the banner, repo header counts and switches, labels, milestones, review requests, pull timeline, runner online state, health, CI artifacts and purges, and admin CLI writes; small-range settings and required approvals use the stepper

2026-10-23

⚡ perf: stop the slow e2e tests waiting on delays they do not checkAhmet Kaan Gümüş · 5f0038c
⚡ perf: stop the slow e2e tests waiting on delays they do not check

Where the time went (isolated runs, before -> after):

- ssh_e2e clone_push_clone_over_ssh: 16.9 s -> 0.5 s
  Every SSH connection's first `none` auth probe was rejected, and russh
  answered each rejection after a fixed 1 s delay. The delay is now the
  `ssh_auth_rejection_secs` setting (default 1, production unchanged); the
  e2e harness and the SSH test set 0.

- mirrors_e2e pull_and_push_mirrors_sync_over_smart_http: 12.9 s -> 3.5 s
  A push mirror waited the hard-coded 10 s push debounce. The debounce is now
  `[mirrors] push_debounce_secs` (default 10, production unchanged); the test
  sets 0.

- git_e2e git_end_to_end: 9.5 s -> 2.9 s
  Its SSH operations paid the same 1 s auth delay as above.

- ci::api::tests::runner_binary_streams_the_running_binary_with_its_sha:
  32 s -> 9.2 s (shared run). The binary body was streamed in 4 KiB frames
  (ReaderStream default), about 350k frames for a 1.4 GB debug binary. Now
  64 KiB frames. The served bytes and assertions are unchanged.

Also: debug builds now optimize argon2, blake2, ml-kem, keccak,
curve25519-dalek, ed25519-dalek and chacha20 (same pattern as sha2), so
password hashing and SSH crypto are fast in tests. Release is unaffected.

2026-10-22

⚡ feat: organization pages update liveAhmet Kaan Gümüş · 230dd1d
⚡ feat: organization pages update live

The members, teams, team and settings pages of an org follow an Org topic that
every POST under the org bumps. A team page also follows each repo it links.
The streams apply the page's own checks: non-members get 404, non-owners get 403
on settings. Org notices now ride in the redirect's query, so a live refresh
does not use them up.

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: 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.

2026-10-20

✨ 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
✅ 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.

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

2026-10-17

🚀 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

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.