The at menu keeps its own cache current: a logon and resume task and a background sync on each open (AHT-231) #211

Merged
nelson merged 2 commits from aht-231-menu-sync into main 2026-11-29 18:29:00 -08:00
Owner

Work package: AHT-231

home-sync ran fzt-automate --sync on every run so a menu edit (a commit to romaine-life/at, which started home-sync on every PC) reached each PC's ~\.fzt-automate\menu-cache.yaml (FZTA-7). home-sync is to know no app, so the menu keeps its own cache current.

  • Added: at-app.json registers fzt-automate-menu-sync, fzt-automate.exe --sync at logon and on resume (home-sync's own run times); the popup starts a detached, windowless --sync each time it opens, so an edit shows by the next open, without the menu waiting on the network.
  • Changed: --sync writes into a folder of its own beside the cache and renames each file into place, so a popup opening during a background sync never reads half a file.
  • Unchanged: opening reads the cache as before; the menu's own sync command; everything else.

go test -p 4 . passes. romaine-life/at's home-sync workflow, which starts home-sync on a menu edit, no longer does anything for the menu and can be dropped there.

🤖 Generated with Claude Code

Work package: [AHT-231](https://openproject.home.romaine.life/wp/AHT-231) home-sync ran `fzt-automate --sync` on every run so a menu edit (a commit to romaine-life/at, which started home-sync on every PC) reached each PC's `~\.fzt-automate\menu-cache.yaml` (FZTA-7). home-sync is to know no app, so the menu keeps its own cache current. - **Added**: `at-app.json` registers `fzt-automate-menu-sync`, `fzt-automate.exe --sync` at logon and on resume (home-sync's own run times); the popup starts a detached, windowless `--sync` each time it opens, so an edit shows by the next open, without the menu waiting on the network. - **Changed**: `--sync` writes into a folder of its own beside the cache and renames each file into place, so a popup opening during a background sync never reads half a file. - **Unchanged**: opening reads the cache as before; the menu's own `sync` command; everything else. `go test -p 4 .` passes. romaine-life/at's home-sync workflow, which starts home-sync on a menu edit, no longer does anything for the menu and can be dropped there. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
README: the cache's path
Some checks failed
Suite default / scope (pull_request) Has been cancelled
Suite default / check-fetches (pull_request) Has been cancelled
Suite default / check-rules (pull_request) Has been cancelled
Suite default / check-logs (pull_request) Has been cancelled
Suite default / reused-checks (pull_request) Has been cancelled
Suite go / scope (pull_request) Has been cancelled
Suite go / check-format (pull_request) Has been cancelled
Suite go / check-test-linux (pull_request) Has been cancelled
Suite go / check-test-windows (pull_request) Has been cancelled
Suite go / check-services (pull_request) Has been cancelled
Suite go / reused-checks (pull_request) Has been cancelled
Suite release / scope (pull_request) Has been cancelled
Suite release / module (pull_request) Has been cancelled
Suite release / reserve (pull_request) Has been cancelled
Suite release / finalize (pull_request) Has been cancelled
merge-queue not in the queue
Suite release / deliver (pull_request) Has been cancelled
Suite release / deliver-prune (pull_request) Has been cancelled
Suite release / publish (pull_request) Has been cancelled
Suite release / check-package (pull_request) Has been cancelled
Suite release / deploy-image (pull_request) Has been cancelled
Suite release / reused-checks (pull_request) Has been cancelled
bb8f63a895
nelson merged commit 46750fd7f4 into main 2026-11-29 18:29:00 -08:00
nelson deleted branch aht-231-menu-sync 2026-11-29 18:29:01 -08:00
Sign in to join this conversation.
No description provided.