mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-19 05:14:32 +01:00
|
Some checks failed
dependency freshness / dependencies on newest stable (push) Waiting to run
file length / file-length (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
palette drift / palette (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
shared gate tests / gate unit tests (push) Waiting to run
sickdays pre-commit / pre-commit (push) Has been cancelled
sickdays tests / test (push) Has been cancelled
sync() reads the pool, waits on the network, then writes its merged copy back without a lock. A second write landing inside that window was silently overwritten. Marking day A and then clearing day B within a second or two lost the clear, so B stayed a sick day. Every background sync now holds a module lock, and each write tries it without blocking. A click that lands mid-sync shows "Syncing -- try again in a moment." in the panel and calls on_saved with nothing. The phone's picker avoids the same race by making the grid inert while it syncs. The red-first test pins the lost write with a sync stub that reads, waits, then writes back. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PAhbNszs5JKdtnD4uBi3xp |
||
|---|---|---|
| .. | ||
| gui | ||
| tests | ||
| __init__.py | ||
| __main__.py | ||
| _api.py | ||
| _audit.py | ||
| _cli_output.py | ||
| _cli.py | ||
| _conflict.py | ||
| _constants.py | ||
| _day.py | ||
| _errors.py | ||
| _hmac.py | ||
| _keep_api.py | ||
| _keep.py | ||
| _model.py | ||
| _paths.py | ||
| _store.py | ||
| _sync.py | ||
| _writes.py | ||
| py.typed | ||