Commits
Commits on
main2026-10-23
✅ test: git tests merge into fewer fixtures and drop duplicate checksAhmet Kaan Gümüş · bffc194
✅ test: git tests merge into fewer fixtures and drop duplicate checks Test count in forge-git src went from 68 to 63. The five grep mode and limit tests in search.rs now share one fixture repo (8 to 4 tests). The blob_at rejection loop moves into the invalid input test in pulls.rs, which drops one test and one repo build. Every case and assertion is kept, with a case label in its message.
✅ test: ssh command parser tests merge into tablesAhmet Kaan Gümüş · 36ee1fa
✅ test: ssh command parser tests merge into tables Test count in forge-ssh src went from 20 to 8. The 18 parse.rs tests are now 6 table-driven tests. Every accept and reject case is kept and labelled in its assert message. Server tests are unchanged.
✅ test: store tests share their store and merge into tablesAhmet Kaan Gümüş · 7a15066
✅ test: store tests share their store and merge into tables Test counts per file, before -> after (58 -> 33 in scope): mirrors 9 -> 5, releases 6 -> 2, repo_listing 5 -> 1, profile_pins 5 -> 1, advisories 5 -> 3, signatures 4 -> 3, backup_runs 4 -> 3, admin_alerts 2 -> 1, lfs 2 -> 1, push_recent 2 -> 1, replication 2 -> 1, wiki 2 -> 1, snippets 4 -> 4, migrate 4 -> 4, contributions 1 -> 1, health 1 -> 1. Scenarios that ran on a fresh store now share one store, each on its own repo or owner, with the case label on every assert. No test was deleted for lack of logic. The persisted snippet visibility and signature status literals now have explicit checks.
✅ test: store tests share their store and merge into tablesAhmet Kaan Gümüş · 965436c
✅ test: store tests share their store and merge into tables Scenarios that built the same fixture now run one after another on one store, each with its own repo, issue or users so their assertions stay exact. Every assert carries its scenario label. Test counts per file (before -> after): - issues.rs: 16 -> 3 - labels.rs: 14 -> 3 - discussions.rs: 10 -> 3 - notifications.rs: 9 -> 3 - pinned.rs: 4 -> 2 - attachments.rs: 1 -> 1 (unchanged) Total: 54 -> 15. Full-store checks (whole-table row counts after a repo delete) keep their own store.
✅ test: store tests share their store and merge into tablesAhmet Kaan Gümüş · 7824c81
✅ test: store tests share their store and merge into tables Scenarios that build the same fixture now run one after another in a single test, so each store is opened once. Each scenario has its own repo or user, and asserts keep their context. Counts before -> after: - store/mod.rs: 21 -> 11 - store/user_delete.rs: 7 -> 4 - store/transfers.rs: 7 -> 1 - store/suspension.rs: 3 -> 1 - store/snapshot.rs: 3 -> 2 - total: 41 -> 19 Pure tests (email shape, display name validation) and the empty-store snapshot test are unchanged.
✅ test: store tests share their store and merge into tablesAhmet Kaan Gümüş · 535510d
✅ test: store tests share their store and merge into tables Scenarios that build the same store now run one after another inside one test, each with its own users and names, so each store is opened once. Every assertion is kept. Nothing was removed as trivial. Counts before -> after: - webhooks.rs: 12 -> 8 - mail.rs: 12 -> 10 - orgs.rs: 10 -> 4 - account_tokens.rs: 10 -> 3 - passkeys.rs: 4 -> 1 Total: 48 -> 26
✅ test: pure forge-core tests merge into tables and drop no real checksAhmet Kaan Gümüş · c389fb6
✅ test: pure forge-core tests merge into tables and drop no real checks Test counts before/after per file in scope: - config.rs 25 -> 15 (listen fallback and parse merged, four bad-config rejections merged, four optional-section default checks merged, four r2 field checks merged) - issue_refs.rs 19 -> 3 (issue reference and closing reference cases as tables, keyword loop kept) - names.rs 8 -> 7 (valid names and usernames folded into one test, rejections into one test) - suggestions.rs 9 -> 3 (split_body and replace_line cases as tables) - server_settings.rs 7 -> 7, time.rs 4 -> 4, tz.rs 4 -> 4 (unchanged) Total 76 -> 43. Every assertion kept, each with a case label in its message.
✅ test: forge-core pure tests merge into tablesAhmet Kaan Gümüş · 1093644
✅ test: forge-core pure tests merge into tables Test counts in the touched files, before to after: - authz 15 to 14: two hidden-repo 404 tests share one table - protection 12 to 11: pattern validation accept and reject merge into one table - advisories 12 to 8: range boundary cases merge into one table - mail 8 to 7: the two enum round-trip tests merge into one - avatar 8 to 4: accepted inputs and rejected inputs each merge into one table - alerts 5 to 4: kill signature cases merge into one table Security-sensitive token, totp, secret and password tests are unchanged.
✅ test: store tests share their store and merge into tablesAhmet Kaan Gümüş · 281e0ee
✅ test: store tests share their store and merge into tables Each scenario in these modules now runs against one shared store, with its own repo or pull request so cases cannot see each other. Every assert carries its scenario label. Counts in scope (store/reviews, pulls, commit_status, reactions, review_requests, suggest), #[test] and #[tokio::test] attributes: - reviews.rs: 17 -> 4 (16 store tests merged into 2 scenario tests) - pulls.rs: 15 -> 3 (15 store tests merged into 2 scenario tests, global-count delete test kept separate) - commit_status.rs: 9 -> 5 (5 store tests merged into 1; pure tests kept) - reactions.rs: 4 -> 1 (4 store tests merged into 1) - review_requests.rs: 1 -> 1 (unchanged) - suggest.rs: 1 -> 1 (unchanged) Total: 47 -> 15. No assertions removed.
✅ test: ci store tests share their store and merge into tablesAhmet Kaan Gümüş · 0fef3ae
✅ test: ci store tests share their store and merge into tables Nine store scenarios that each work in their own repo and never claim a job now run in one test over one store. The scenarios are helpers that keep their asserts. Store tests in ci.rs go from 33 to 25. A failure still points at the helper's line, and each helper is named after its scenario. Left separate: the runner tests (list_runners is global), the claim and reap tests (claim_job and reap_lost_jobs see every repo's rows), purge_old and delete_repo (global counts), and secrets_need_the_key (needs a store without a secret key).
✅ test: forge-core unit tests merge into tables and drop checks that cannot failAhmet Kaan Gümüş · 5099461
✅ test: forge-core unit tests merge into tables and drop checks that cannot fail Counts for forge-core src: 495 before, 485 after (-10). Ui prefs store tests: 7 tests (each with its own store) merged into 2, one pure validator test and one store test that reuses a single store. Model visibility and role round-trips merged into one table test that pins the stored literals. Pulls mergeable and merge style round-trips merged the same way. Labels default-label tests merged into one test over the two fixture repos.
✅ test: config and mask tests merge into tables and drop checks that cannot failAhmet Kaan Gümüş · 2bd834b
✅ test: config and mask tests merge into tables and drop checks that cannot fail forge-ci unit tests go from 84 to 69. Defaults that come from serde attributes are checked in one test, and the trigger, workflow name, release enum, image/run and streaming mask tests now loop over case tables with a labelled assert per case. No assertion was weakened. config.rs 59 to 49, mask.rs 13 to 8, all other files unchanged.
⚡ perf: tests build the store, parser and password hash crates optimizedAhmet Kaan Gümüş · 2b7f1c7
⚡ perf: tests build the store, parser and password hash crates optimized Every test opens a fresh store and runs the migrations through turso, and the login tests hash passwords with argon2. Unoptimized, those two dominate the suite. With opt-level 3 for them the summed test time drops from 946 s to 409 s and the workspace run from 80 s to 57 s. A nextest config adds a ci profile that writes JUnit timings.
2026-10-22
🐛 fix: the runners table gives each column room and lines its cells upAhmet Kaan Gümüş · d8555ce
🐛 fix: the runners table gives each column room and lines its cells up Every header and cell now shares one 16px right gap, the last column has none, and cells sit on a common centre line. The commit hash and its pill are separated by a small gap, and Name is capped at half the table width so the compact columns keep their room.
💄 style: the spark preset is a bright clean orange on plain neutralsAhmet Kaan Gümüş · 995ea11Browse files
🐛 fix: a run's jobs are listed in the order they run, not by nameAhmet Kaan Gümüş · b67eb9a
🐛 fix: a run's jobs are listed in the order they run, not by name A run's jobs come from ci_jobs in insertion order, which is dependency order from the scheduler. The query sorted them by name, so a job drawn after its dependency could appear above it on the timeline. Order by rowid instead; matrix combinations stay grouped as they were inserted.
🐛 fix: the light and dark colour tabs show their labels on phones and sit centredAhmet Kaan Gümüş · c7331fdBrowse files
🐛 fix: the colour panel script loads on every page, and the custom swatch shows the stored hueAhmet Kaan Gümüş · 3d0c5e6Browse files
💄 feat: appearance colours are a few presets plus a hue stripe, in light and dark tabsAhmet Kaan Gümüş · 3f4e1caBrowse files
⚡ feat: colour presets trimmed to a few, plus any hue for accent and backgroundAhmet Kaan Gümüş · cd71b21Browse files
🐛 fix: admin tables stack into labelled cards on phones, and the commit hash stays on one lineAhmet Kaan Gümüş · cf9a9ccBrowse files
🐛 fix: the repo tab strip runs to the screen edge on phones and scrolls inside itselfAhmet Kaan Gümüş · 3d093a6Browse files
⚡ feat: the commit, branch, tag, compare and blame pages update liveAhmet Kaan Gümüş · 420b0e0Browse files
⚡ feat: repo settings, security, transfer and mirror pages update liveAhmet Kaan Gümüş · ee30eabBrowse files
⚡ feat: a language change re-renders the page in every open tabAhmet Kaan Gümüş · 514bebaBrowse files
⚡ feat: a theme, accent or sidebar change reaches every open tab, and a revoked session leaves liveAhmet Kaan Gümüş · 00ca6f7Browse files
⚡ feat: settings pages update live, and the theme follows into every open tabAhmet Kaan Gümüş · d7d6a17Browse files
⚡ feat: the admin pages update live (users, account, audit, backups, replication, health, server, mail)Ahmet Kaan Gümüş · 07bdd5dBrowse files
✅ test: a private linked repo stays hidden from a viewer who cannot read itAhmet Kaan Gümüş · b20e524
✅ test: a private linked repo stays hidden from a viewer who cannot read it The team stream follows only the org's repos an owner sees, so a rename of a private repo does not wake a non-owner whose page would not change.
⚡ 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.
⚡ feat: wiki and snippet pages update liveAhmet Kaan Gümüş · aedd20e
⚡ feat: wiki and snippet pages update live Wiki home, page list, page view and history follow Topic::Wiki (saves and wiki pushes bump it). Snippet list and snippet page with revisions follow Topic::Snippets and Topic::Snippet. Edit and new forms carry no data-live.
✅ test: snippet streams follow writes; docs list the wiki and snippet streamsAhmet Kaan Gümüş · 6388b13
✅ test: snippet streams follow writes; docs list the wiki and snippet streams
⚡ feat: the discussion list and each discussion page update liveAhmet Kaan Gümüş · 8122bc8Browse files
💄 ui: nine more accents and three more backgroundsAhmet Kaan Gümüş · a2b0fed
💄 ui: nine more accents and three more backgrounds Accents: Crimson, Coral, Gold, Lime, Mint, Cyan, Sky, Violet and Fuchsia (22 in all). Backgrounds: Blush, Graphite and Pine (11 in all). Every light and dark pair passes the WCAG AA targets the existing set is held to. Gold takes dark text on its accent. Turkish names added. The colour pickers are CSS grids with equal columns, so Background and Accent rows share column lines. The light and dark theme cards stack at full width, which gives 11 columns on desktop: the 11 backgrounds are one row and the 22 accents two. Medium cards get 6 columns and phone 4. Names sit under their swatches and are cut with an ellipsis if a column is too narrow. Tests cover the new ids, the counts and the settings form.
✅ test: streams open with a retry field, and the registry sweep test follows the grace periodAhmet Kaan Gümüş · 59f4261Browse files
🐛 fix: the registry sweep keeps blob links made within an hourAhmet Kaan Gümüş · 806ecd8Browse files
🐛 fix: the restart bar is a pill at the bottom, and the offline title reads Server restartingAhmet Kaan Gümüş · 2ba0cdaBrowse files
✨ 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: merge queue so the protected branch only receives tested commitsAhmet Kaan Gümüş · 05cd9baBrowse files
✨ 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.