Commits
Commits on
7b115ab6da6f7799ed489f5d7d097e1fbc4e6e712026-10-23
🐛 fix: the signed-in sidebar's repo list is live on every pageAhmet Kaan Gümüş · 7b115ab
🐛 fix: the signed-in sidebar's repo list is live on every page A new /-/side/events stream follows the viewer's user topic and fingerprints the five freshest repos and their total. The sidebar follows it, so a create, delete, rename, transfer, visibility change or push moves the list without a reload. A push also wakes the repo owner, not only the pusher.
💄 style: runner register command reads one flag per line and the branch sheet gets a backdropAhmet Kaan Gümüş · a39364b
💄 style: runner register command reads one flag per line and the branch sheet gets a backdrop The register command is shown one flag per line with shell line continuations, so it reads well and still pastes as one command. Its Copy button copies the same text, since the code box keeps newlines. On phones the branch switcher sheet casts the popover's shadow on its top edge and dims the page behind it. Its filter, tabs and note keep the 16px side gutter.
🐛 fix: forge-runner signal tests stop interfering inside the merged test binaryAhmet Kaan Gümüş · 20b2c50
🐛 fix: forge-runner signal tests stop interfering inside the merged test binary Root cause: sigkilled_helper_leaves_no_process_behind found its helper by scanning every __sandbox child of the test process. The sandbox tests spawn their helpers from that same process, all with job id job_01. Under plain cargo test (threads in one process) the killer SIGKILLed sigterm_kills_the_container_and_the_helper_exits' helper. That helper's sleep 60 job survived, held the stdout pipe, and wait_with_output blocked about 60 s, tripping the 20 s check. The sigkill test's own helper was never killed, so its sleep 300 ran to Success, which made the run take about 300 s. Fix: the sigkill test uses its own job id (job_sigkill), and the helper search matches only that job's cgroup name. No assertions changed and no tests removed.
💄 style: runner concurrency input shows its valueAhmet Kaan Gümüş · 38d0181
💄 style: runner concurrency input shows its value The number input was too narrow for a three digit value next to its spinner, so only the spinner showed. The width now fits three digits plus the spinner and the input padding.
⚡ feat: relative times are live on token, session, key, passkey, security, health and review pagesAhmet Kaan Gümüş · 0a2c24c
⚡ feat: relative times are live on token, session, key, passkey, security, health and review pages Stamps render as <time data-rel> that nav.js re-words as the clock moves. Future times read "in 3 months" (and "3 ay sonra"), so token expiry reads naturally.
💄 style: one-time token wraps inside its box and confirm popovers open under their buttonAhmet Kaan Gümüş · 4867bd3
💄 style: one-time token wraps inside its box and confirm popovers open under their button The confirm popover was fixed to the viewport, so it covered the one-time token above it. It now sits in the flow under its summary, shared by runners and tokens.
💄 style: admin runners table sizes its columns and fits phonesAhmet Kaan Gümüş · c026210
💄 style: admin runners table sizes its columns and fits phones The name column took half the table and the other columns were squeezed at the right edge. Now every column except the actions sizes to its content and never wraps. The name is capped at 28rem and truncates with an ellipsis. The actions column takes the slack, so its menu sits at the right edge of the card. Phone widths keep the stacked card layout.
💄 style: visibility label stays on one line and profile tabs fit phone widthAhmet Kaan Gümüş · 92c7e69
💄 style: visibility label stays on one line and profile tabs fit phone width The selected visibility segment keeps its icon and word in one row, centred on the pill, with the word unable to wrap. The pill no longer shrinks beside the Create button, so the two share a height and a vertical centre. The profile tab row runs to the screen edges below 899px like the repo tabs, snaps as it scrolls, and tightens its padding on phones so Packages is not clipped.
⚡ perf: ref switcher reads tip times in the same pass that lists refsAhmet Kaan Gümüş · 4c7677f
⚡ perf: ref switcher reads tip times in the same pass that lists refs list_refs already holds the open repo and the peeled commit id, so it now decodes the committer time there and stores it on RefInfo. The ref switcher sorts from that field and no longer reopens the repo per ref.
⚡ perf: sidebar shows your 5 freshest repositories and links to the restAhmet Kaan Gümüş · 2c14701Browse files
✨ feat: branch pill opens a filterable switcher for branches and tagsAhmet Kaan Gümüş · 02c773d
✨ feat: branch pill opens a filterable switcher for branches and tags The browse bar's ref pill now opens a popover with a filter, Branches and Tags tabs, entries sorted by latest commit (default branch first), and a "View all" link per tab. Long lists keep the first ten entries visible and hide the rest until the filter narrows them. Arrow keys and Enter work in the filter as in the file finder. On phones the popover opens as a full-width sheet. The repo home aside lists the five most recently updated branches as links with a "View all" link. The tree page uses the same switcher.
🐛 fix: reconnect banner waits for a real outage instead of flashing on page loadsAhmet Kaan Gümüş · 93ac114
🐛 fix: reconnect banner waits for a real outage instead of flashing on page loads The banner came from every error of the /-/alive stream, including the first failed connect, unloads, hidden or frozen tabs and bfcache restores, and without any grace period. It now shows only after the stream has opened on the page and stays down for 1.5 s, never while the page is hidden or leaving. A page shown again reconnects quietly.
✨ feat: token deletion asks for confirmation like runner deletionAhmet Kaan Gümüş · 3535e27
✨ feat: token deletion asks for confirmation like runner deletion Deleting an access token now opens the same inline confirm popover that runner deletion uses, with EN and TR messages. confirm_post is shared (pub(crate)) and takes its hidden fields as owned strings. The token panel from cfd9b9e wrapped the new token in a copy-box with a bare <code>, which broke every test that reads `pre.code code`. The token is back inside `pre.code` (the copy button is unchanged), so those selectors match again.
🐛 fix: one-time secrets stay on screen through live updates and reconnectsAhmet Kaan Gümüş · 4bff024
🐛 fix: one-time secrets stay on screen through live updates and reconnects A token, recovery codes or a runner registration token is shown only in the response to its POST. A settings change bumps the account stream, and the page then re-read itself and swapped the secret out. Pages showing a one-time secret now carry a `data-once` marker, and nav.js skips live refreshes while one is on screen. Token and recovery code panels get a copy button, and a failed copy selects the text so it can be copied by hand.
🎨 style: e2e modules drop the doc line left behind by the input_value dedupeAhmet Kaan Gümüş · 03ed0d5Browse files
♻️ refactor: e2e tests share one http harness instead of 28 copiesAhmet Kaan Gümüş · 03e7479
♻️ refactor: e2e tests share one http harness instead of 28 copies Move the Http client, Resp, cookie_named and login into common/http.rs and re-export them from common. The shared Http covers get, get_cookie, get_bearer, get_basic, post_form, stream and get_language, and Resp exposes header, location and set_cookies. 25 modules drop their local copies. oci, packages and browse keep their own harness because their responses are raw bytes. account_mail keeps its own cookie_named because it matches by prefix.
♻️ refactor: forge-web integration tests build as one binaryAhmet Kaan Gümüş · 177e570
♻️ refactor: forge-web integration tests build as one binary The 30 test files in crates/forge-web/tests now compile into one test binary, `e2e`, instead of one binary per file. Linking dominated build time, so the crate links one test executable. - Files moved to tests/e2e/, declared as modules from e2e/main.rs - Shared support moved to tests/e2e/common, declared once - input_value (identical in 25 files) moved into common - Test count unchanged at 104 (102 run, 2 ignored), all passing - Binaries before 30, after 1 - login and cookie_named differ per file (each file has its own Http and Resp harness), so they stay local for now
💄 style: new repository toggle names the chosen visibility and fields line upAhmet Kaan Gümüş · c8bdbe0
💄 style: new repository toggle names the chosen visibility and fields line up The selected visibility segment opens its word beside the icon, with a CSS transition that respects reduced motion. The Imports tab sits with the other tabs, the default branch field is as wide as the other fields, and the default labels checkbox aligns with its first line.
⚡ feat: relative times on every page keep themselves currentAhmet Kaan Gümüş · bcaef90
⚡ feat: relative times on every page keep themselves current
Server-rendered relative times ("3 hours ago") were static text, so an open page
aged without moving. Every `<time>` that shows an age now carries data-rel, and
nav.js re-words it locally, arming one setTimeout for the next real change of
wording. No request is made.
- views: rel_words() gives the wording; the <html> element carries it as
data-rel-words with the server clock in data-rel-now, copied on each swap.
- All relative <time> tags across pages get data-rel="true", plus the
standalone labels (blame, tree, branches, banner, dashboard, runners,
export, import) that now wrap a stamped <time>.
- CI run list is live on every page, not only page 1.
- Run rows and the run header show their age as a <time data-rel>.
- Tests: rel_words asserts added to relative_time_picks_the_unit; three
asserts updated for the live list and the <time> markup.✅ test: forge-core keeps its stamp ordering and closing keyword spec testsAhmet Kaan Gümüş · 868c8a6
✅ test: forge-core keeps its stamp ordering and closing keyword spec tests Restores stamps_sort_lexicographically_in_time_order (time.rs tests module) and all_keywords_are_case_insensitive (issue_refs.rs), both removed in the phase 2 deletion. Tests: 307 before, 309 after.
✅ test: forge-core drops tests whose removal leaves every mutant caughtAhmet Kaan Gümüş · 654f528
✅ test: forge-core drops tests whose removal leaves every mutant caught Phase 2 on forge-core, gated with cargo-mutants (full suite vs reduced suite). Candidates: 109 from per-test coverage and greedy set cover (321 tests before). - 92 protected by the blind-spot policy before the gate (every store::* test, the audit_store, stars_store and store_basic integration tests, and the security and format tests: authz, lfs_token, raw_token, token, secret, password, totp, protection, oci digests, avatar size limits, config). - 17 entered the gate. 1 skipped by the closure budget (server_settings precedence, 369 extra mutants over 200). - 16 gated over 8 src files, 331 mutants. Full run: 210 caught (incl. 4 timeouts), 55 missed. Reduced run after 1 restore round: 210 caught, 55 missed (equal). - 14 candidates survived the gate and were deleted. 2 were restored because removing them newly missed a mutant (issues::body_is_checked_in_bytes covers validate_body, names::accepted_names_return_folded_form covers validate_name). Tests: 321 before, 307 after. cargo nextest run -p forge-core: 307 passed. time.rs: the tests module held only one helper and an import after its tests were removed, so the module is gone. Coverage gaps: 55 mutants are missed by both runs (no tests written for them).
♻️ refactor: forge-core integration tests build as one binaryAhmet Kaan Gümüş · d9b0f87
♻️ refactor: forge-core integration tests build as one binary Four test binaries (audit_store, read_pool, stars_store, store_basic) are now one `integration` binary. Binaries 4 to 1, test count unchanged at 29. The store open and db path helpers are deduped into tests/integration/common.rs.
✅ test: forge-git drops two tests whose removal leaves every mutant caughtAhmet Kaan Gümüş · 9abc059
✅ test: forge-git drops two tests whose removal leaves every mutant caught Phase 2 on forge-git, gated with cargo-mutants (full suite vs reduced suite). Deleted maintenance::tests::after_push_reports_missing_repo and repo::tests::list_trash_without_directory_is_empty. The reduced run matched the full run: 487 caught, 104 missed, so no mutant became newly missed. Tests: 95 before, 93 after. cargo nextest run -p forge-git: 93 passed.
♻️ refactor: forge-git integration tests build as one binaryAhmet Kaan Gümüş · c885553
♻️ refactor: forge-git integration tests build as one binary Four test binaries (browse, browse_tools, forge_git, history) merge into one `integration` binary, cutting linked test executables from 4 to 1. Test count unchanged at 32. Shared BIG limits and the git env constructor move into tests/integration/common.rs; other helpers stay local because their git identities and signatures differ.
✅ test: wait for SIGKILLed job processes to exit before checking themAhmet Kaan Gümüş · 74e2f80
✅ test: wait for SIGKILLed job processes to exit before checking them The executor reaps the job cgroup before run_job returns, and the cgroup is gone by then. A SIGKILLed process leaves its cgroup before it finishes exiting, so a single /proc check right after could still see it in state D. Poll for up to 5 s instead.
♻️ refactor: forge-runner integration tests build as one binaryAhmet Kaan Gümüş · b495552
♻️ refactor: forge-runner integration tests build as one binary Five test binaries (builtin, flow, idmap, sandbox, unpack_subuid) are now one binary named integration, so the crate links one test executable instead of five. Test count unchanged at 27. Shared helper userns_available and can_run moved to tests/integration/common, deduplicated from builtin and sandbox.
✅ test: secret masking keeps its base64 and longest match spec testsAhmet Kaan Gümüş · f7792aaBrowse files
✅ test: forge-ci drops tests whose removal leaves every mutant caughtAhmet Kaan Gümüş · 09a95b5
✅ test: forge-ci drops tests whose removal leaves every mutant caught Candidates found by per-test coverage set cover: 22 of 69 tests (40 forced as sole coverers, 4 without production coverage, 3 greedy-kept). Candidates that survived the mutant gate: 5 (cron: requires_five_fields, next_is_strictly_after; mask: longest_match_wins, masks_base64_encoding, masks_plain_values). Tests before: 69, after: 64. Mutants (cargo-mutants on cron.rs, mask.rs, config.rs): caught full run 193, caught reduced run 193 (equal), missed in both 15. Coverage gaps (15 mutants missed by both runs) were recorded and no tests were written for them.
🚨 lint: merged tests drop needless borrows and name their complex typesAhmet Kaan Gümüş · 5852a68Browse files
✅ test: forge-web page tests share their fixtures and merge into tablesAhmet Kaan Gümüş · b757c23
✅ test: forge-web page tests share their fixtures and merge into tables Test count in scope: 132 before, 103 after. Per file (before -> after): api/statuses 10 -> 5, api/releases 10 -> 9, api/gitea_tests 8 -> 3, backup/tests 10 -> 6, replication 11 -> 9, importer/tests 9 -> 7, pulls_sync 9 -> 8, views/mod 13 -> 10, views/heatmap 13 -> 11, mail/templates 8 -> 7, i18n 7 -> 4. importer/api, importer/forgejo_tests and web_push stay as they were. Refused writes and read-only lookups now share one fixture, with a case label on every assertion. Streak, CSP, Target parse, i18n resolve and unchanged-line cases are folded into tables. No assertion was removed.
✅ test: page tests share their fixtures and merge into tablesAhmet Kaan Gümüş · 40e7f7d
✅ test: page tests share their fixtures and merge into tables Per-file test counts (#[test]/#[tokio::test]), main -> now: - pages/authoring_tests.rs: 7 -> 3 - pages/blame.rs: 3 -> 2 - pages/browse_tests.rs: 9 -> 4 - pages/commit.rs: 6 -> 3 - pages/commits.rs: 7 -> 3 - pages/forgot.rs: 3 -> 1 - pages/fork.rs: 9 -> 1 - pages/import_tests.rs: 5 -> 2 Total: 44 -> 19. Scoped run: 19 passed, 0 failed.
✅ test: CI page tests share their fixtures and merge into tablesAhmet Kaan Gümüş · de06f74
✅ test: CI page tests share their fixtures and merge into tables ci_tests.rs: 32 -> 18 tests. Access, run list, live pages, job log events, log tail, log.txt and follower, artifacts, badge, and run page previews now share one fixture per group, each scenario in its own block with its own runs and names. Finish-based scenarios finish their job before the next one starts, since finish_job claims the oldest queued job. ci_badge.rs: 6 -> 5 tests. The two escaping tests merge into one. No assertion was removed or weakened. Clippy was skipped per the coordinator.
✅ test: page tests share their fixtures and merge into tablesAhmet Kaan Gümüş · 3bcf844
✅ test: page tests share their fixtures and merge into tables ci_runs.rs: 22 -> 19 tests (ref/image shortening, scale/span text, axis/place merged). compare.rs: 10 -> 4 tests (read-only views and pull posts share one fixture each; fork and private keep their own). code_search.rs: 7 -> 2 tests (segment cases merged; all route scenarios share one fixture). Total 39 -> 25. No assertions removed.
✅ test: forge-web page tests share their fixtures and merge into tablesAhmet Kaan Gümüş · 5137546
✅ test: forge-web page tests share their fixtures and merge into tables Per-file test counts before and after: - git_auth.rs: 9 -> 1 (basic auth cases in one table) - git_http.rs: 10 -> 9 (git protocol value cases in one table) - internal.rs: 10 -> 9 (ref name cases in one table) - lfs/route_tests.rs: 12 -> 11 (path-without-.git check moved onto the batch fixture) - notify.rs: 18 -> 16 (mention parsing cases in one table) - raw.rs: 11 -> 1 (read-only scenarios share one 9 MB fixture) - signatures.rs: 7 -> 4 (ssh badge scenarios share one fixture, key listing cases in one table) - webhooks/client.rs: 10 -> 9 (CIDR and hostname accept cases in one loop) - webhooks/payload.rs: 7 -> 7 (no duplicates found) Every assertion is kept and labelled with its case. Scoped run: 115 passed.
✅ test: page tests share their fixtures and merge into tablesAhmet Kaan Gümüş · 8a535cb
✅ test: page tests share their fixtures and merge into tables admin_backups 6 -> 3, admin_replication 5 -> 3, account_tools_tests 8 -> 4, audit_log 6 -> 2, assets 8 -> 6, archive 4 (unchanged), admin_health 1 (unchanged), avatars 3 (unchanged). 41 -> 26 tests in scope. Scenarios that share one fixture run in order, each asserting its own result and naming it in assert messages. Tests that need a pristine instance or different config keep their own fixture.
✅ test: page tests share their fixtures and merge into tablesAhmet Kaan Gümüş · b00f3f4
✅ test: page tests share their fixtures and merge into tables Counts for the page files in this pass: 55 #[test] before, 31 after. media 7 -> 3, new_repo 6 -> 3, reactions_tests 8 -> 2, register 5 -> 3, security_tab_tests 4 -> 2, snippets 9 -> 2. The other 16 files (org_ctx, org_teams, ref_live, repo_settings, settings_sessions, settings_tokens, setup, snippet_raw, theme_cookie, wiki) kept their tests. Read-only scenarios share one fixture; each keeps a labelled assert message. Pristine or mutating cases (a pushed branch, an archived repo, a separate registration mode) keep their own fixture or run last.
✅ test: forge-web page tests share their fixtures and merge into tablesAhmet Kaan Gümüş · d052c07
✅ test: forge-web page tests share their fixtures and merge into tables Test count in the four page files: 46 before, 31 after. - repo_settings_live_tests.rs: 6 -> 4 (security and transfer stream checks merged into one table of paths) - repo_mirrors.rs: 11 -> 6 (non-admin 404s, secret redaction and Turkish list merged; loopback form merged into add and sync; edit and delete share one seeded mirror; pull-mirror owner check merged into the empty-repo add) - repo_webhooks.rs: 12 -> 8 (long-secret case merged into the invalid-form test; other-repo 404 merged with edit and delete; escaped delivery merged with redeliver) - notifications.rs: 17 -> 13 (anonymous login and stream checks merged; pull 404 merged into subscription; owner open merged into another-user 404; second discussion merged into the discussion test)
✅ test: ci page tests share their fixtures and merge into tablesAhmet Kaan Gümüş · 9d64853
✅ test: ci page tests share their fixtures and merge into tables api_tests 32 -> 26, schedule 17 -> 11, release 10 -> 8 (59 -> 45). Folded checks that needed no fresh store into the test that already had one (unknown secret, blank runner name, missing log offset, memory overrides). Merged the OOM, dependant, self-update, cancel, glob, manual, pull request and failed-run cases into one test each, one branch, tag or run number per scenario. The runner binary stream test is unchanged.
✅ test: forge-web page tests share their fixtures and merge into tablesAhmet Kaan Gümüş · a7d2b6c
✅ test: forge-web page tests share their fixtures and merge into tables Counts for the four files (tests before -> after): - settings_security.rs: 15 -> 6 - passkeys_tests.rs: 13 -> 7 - settings_keys.rs: 9 -> 3 - settings_gpg_tests.rs: 7 -> 2 Scenarios that share a fixture run in an order that keeps each assertion valid, and the throttle-sensitive scenarios keep their own fixture. Every assertion is kept, and the rejection cases of the SSH key parser are checked against their exact KeyProblem.
✅ test: page tests share their fixtures and merge into tablesAhmet Kaan Gümüş · 7cded14
✅ test: page tests share their fixtures and merge into tables Per file, test count before -> after: - login.rs: 12 -> 4 (password throttles on one app, audit kept pristine, two-factor flows on one app, two-factor expiry and limit on one app) - issue_pin_tests.rs: 7 -> 2 (write rules in order on one repo, read views on one repo) - edit_history.rs: 7 -> 2 (public scenarios share one fixture, private repo kept separate) - discussion_live_tests.rs: 4 -> 2 (public writes share one seed, streams test kept) - labels_page.rs: 4 -> 1 (defaults button and adding in order on one site) - labels_css.rs: 4 -> 4 (unchanged, no shared fixture to merge) Total: 38 -> 15. Every assertion is kept, with the scenario name in its message.
✅ test: admin page tests share their fixtures and merge into tablesAhmet Kaan Gümüş · 6efb476
✅ test: admin page tests share their fixtures and merge into tables Per file, test count before and after: - admin_runners.rs: 10 -> 4 - admin_server.rs: 10 -> 4 - admin_mail.rs: 8 -> 3 - admin_live_tests.rs: 9 -> 3 Gate, CSRF and refusal checks now run inside the scenario that owns the fixture state. Every assertion is kept, with its scenario named in the message.
⚡ perf: dev builds keep line tables only, so test binaries are smaller and link fasterAhmet Kaan Gümüş · 2f69218Browse files
⚡ 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.
✅ test: page tests share their fixtures and merge into tablesAhmet Kaan Gümüş · cbc0d0b
✅ test: page tests share their fixtures and merge into tables Counts per file, before to after: - profile.rs: 13 to 4 - profile_pins.rs: 6 to 2 - settings_profile.rs: 11 to 2 - settings_appearance.rs: 8 to 5 - settings_live.rs: 5 to 3 - settings_notifications.rs: 4 to 2 Scenarios that share one fixture now run in order in one test, with unique names per scenario and a label on every assertion. Pure checks that cannot fail were folded into their neighbours. No assertion was removed.
✅ test: pull page tests share their fixtures and merge into tablesAhmet Kaan Gümüş · f23b28c
✅ test: pull page tests share their fixtures and merge into tables Counts before/after per file: - pull_view.rs: 20 -> 4 - pull_reviews.rs: 15 -> 5 - pull_files.rs: 11 -> 2 Scenarios that share one open pull run in order inside one test, so each scenario sees only the comments and state added before it. Every assert carries its scenario name. Pristine-instance tests are kept separate.
✅ test: page tests share their fixtures and merge into tablesAhmet Kaan Gümüş · eb7e617
✅ test: page tests share their fixtures and merge into tables Counts for the three page files: releases_tests 22 -> 9, repo 15 -> 9, repo_secrets 7 -> 5 (44 -> 23 tests). Merged: release scenarios share one fixture per group with unique tags and releases; the blob-count check runs first in its fixture. The repo read-only pages and 404 checks share one fixture. Secret refusals share one fixture, and the value-leak check runs before the language switch. Kept separate: the three release live-stream tests, the repo push-banner tests (push events accumulate in a shared repo), and the pure names_follow_the_pattern test.
✅ test: page tests share their fixtures and merge into tablesAhmet Kaan Gümüş · a83ea02
✅ test: page tests share their fixtures and merge into tables issue_meta_tests.rs: 13 -> 3 tests (one fixture per scenario group). issues_list.rs: 15 -> 3 tests (pristine flow, populated flow, private repo). issue_view.rs: 13 -> 2 tests (page rendering and form gating, comment/close/edit rules). Merged tests keep every assertion, with a case label in each message. Tests that need a pristine instance (empty list, pagination, private repo) stay on their own fixture. The issue-number precondition in the state test was dropped; the number is not the thing under test.
✅ test: page tests share their fixtures and merge into tablesAhmet Kaan Gümüş · 1a6f67b
✅ test: page tests share their fixtures and merge into tables Merge fixture-sharing scenarios into one table-like test each, keeping every assertion and labelling each with its case. - pulls_merge.rs: 22 -> 19 (four refused-merge tests become one) - push.rs: 8 -> 5 (VAPID, refused subscriptions, public routes) - pulls_list.rs: 6 -> 4 (list, issues exclusion and new-PR button) - pull_branch.rs: 6 -> 5 (protected and default branch refusals) Total in scope: 42 -> 33. Verified with nextest: 34 passed in the pages module filter.
⚡ perf: CI claims wait a configurable time, and the e2e tests set it smallAhmet Kaan Gümüş · f6cbcec
⚡ perf: CI claims wait a configurable time, and the e2e tests set it small The e2e drain loop claims until the forge has nothing left, and that last claim always sat out the full 25 s claim long poll. Two drains cost the fork test 50 s, one drain cost the push and merge queue tests about 25 s each. The claim wait is now `[ci] claim_wait_ms` (default 25000, unchanged in production). The e2e servers set it to 50, and the unit-test config does the same. The live log test drops its fixed `sleep 5` for a release file the test writes after it sees the first line, so the job still runs while the stream is read, and the wait is only as long as the job needs. Timings (nextest, same machine, under shared CPU load): fork_pull_waits_for_approval_and_runs_without_secrets 59.6 s -> 6.0 s push_run_masks_secrets_keeps_artifacts_and_skips_dependants 33.1 s -> 4.8 s merge_queue_lands_the_first_pull_and_kicks_out_the_conflicting_second 34.0 s -> 6.2 s live_log_streams_until_the_job_finishes 9.7 s -> 4.8 s All assertions are unchanged.