Skip to content

refactor: centralize durable writes and split large modules#258

Merged
devmobasa merged 1 commit into
mainfrom
refactor/durable-io-and-module-splits
Jun 28, 2026
Merged

refactor: centralize durable writes and split large modules#258
devmobasa merged 1 commit into
mainfrom
refactor/durable-io-and-module-splits

Conversation

@devmobasa

Copy link
Copy Markdown
Owner

Summary

  • Add shared durable_io atomic write helpers with explicit overwrite, permission, symlink, and sync policies.
  • Route config, capture, onboarding, session backup, daemon/control, tray, Hyprland, and service/drop-in writes through durable write paths.
  • Split large modules and colocate tests for daemon control/core, toolbar item config, capture/onboarding state, input helpers, render profiles, blur, and unix signal handling.
  • Add tools/code-health-report.sh to track large files/functions and direct production
    fs::write usage.

Why

This makes persistence behavior consistent across the app, reduces scattered ad hoc write logic, and makes oversized modules easier to review and maintain without changing their public behavior.

@devmobasa devmobasa merged commit 53846b8 into main Jun 28, 2026
2 checks passed
@devmobasa devmobasa deleted the refactor/durable-io-and-module-splits branch June 28, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant