Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: EwanJasper/SessionRelay
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.4.2
Choose a base ref
...
head repository: EwanJasper/SessionRelay
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.4.3
Choose a head ref
  • 2 commits
  • 11 files changed
  • 1 contributor

Commits on Sep 7, 2026

  1. docs: sync record files to 0.4.2 reality

    - test count 185 -> 207 (zh/en README quality sections)
    - user-guide semantic section: '恒 15 个' -> deletion-tool-zero wording
      (invariant phrasing, survives tool-count growth)
    - doctor checklist: semantic + daemon-log conditional items listed
    - daemon chapter: log-to-disk + watch --status tail + doctor crash hint
    - quick-ref: watch --status annotation; CONTRIBUTING test count
    EwanJasper committed Sep 7, 2026
    Configuration menu
    Copy the full SHA
    3b9a066 View commit details
    Browse the repository at this point in the history
  2. fix: memory-safety for daemon log path (readLogTail + hourly rotation)

    Memory evaluation of 0.4.2 found: status/doctor read the whole log file
    into heap to show 3 lines (5MB log = 5MB spike), and rotation only ran at
    daemon start so an up-for-days daemon grew unbounded (~60KB/h measured).
    - readLogTail: seek-read tail only, heap O(bytes) — 5MB log now costs
      0.01MB per status call (S12 regression test asserts <1MB delta)
    - rotateWatchLog hourly via unref'd interval in the foreground daemon path
    - local e2e: log growth measured 35KB/0.6h; rotation 5MB -> tail only
    EwanJasper committed Sep 7, 2026
    Configuration menu
    Copy the full SHA
    c006880 View commit details
    Browse the repository at this point in the history
Loading