forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on bcaef901dbc87aecf8dc13e336bc101cfd50455eFiltered to crates/forge-core/src/issue_refs.rsClear filter

2026-10-23

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

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.