Skip to content

Kagi v0.7.3 — internal structure: hotspot split, op-flow dedup, CI LOC gate

Choose a tag to compare

@github-actions github-actions released this 04 Jul 23:54
30d6a30

Maintenance release driven by Kagi's own Analyze view (hotspot/coupling) pointed at its own repo. No user-facing feature changes.

Changed

  • src/ui/mod.rs slimmed 5,850 → 4,402 LOC (#95). The top hotspot (risk 0.686) lost five blocks to their proper feature modules: modal input sync, the main-diff/compare family, conflict detection, branch/commit action dispatch, and the platform menu (new platform_menu.rs).
  • Shared async op shell. The byte-identical spawn/finish scaffold repeated across 21 operation sites is now a single finish_op_on_main helper (net −157 LOC). The plan → confirm → preflight → execute → verify → oplog pipeline and all [kagi] log contract lines are unchanged. Implemented cross-model by GLM 5.2, reviewed by Claude.

CI

  • Advisory file-LOC ratchet (ci/check-loc.sh): files over 800 LOC can no longer grow past their recorded baseline without failing the advisory lint job — a guard against god-file regrowth.

Verification

  • 831 tests green at every commit; UI git2-free grep gate = 0; GUI exercised live (WIP diff, stash push/pop round-trip through the new helper) before merge.