Move the join-the-team section to the top of CONTRIBUTING.md, add
CONTRIBUTING_CN.md with a language switch in both files, and point the
README contribution note at the recruiting section.
Replace the outdated guide with a shorter one: where to file each kind of
report, pull request expectations, a minimal setup that defers to
docs-for-dev, and the two project roles with their GitHub permissions,
rules and how to join. Drop the stale multi-user branch, product-internal
security notes and the core.hooksPath step that stops pre-commit install.
Color the Intel download badge differently, merge the shields into one row without Python and Next.js, drop the Collaborate badge, and add a branded Docs badge below the shields.
Add macOS and Windows download badges (light/dark SVGs) to the README
header, linking to releases/latest/download/<stable name>. The desktop
release workflow now also uploads copies of each installer without the
version in the file name, so those links always resolve to the newest
build once the next release is published.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`test_scheduler_renews_lease_during_a_long_sync` ran a 200 ms lease with a 40 ms
renewal and then compared the deadline against `time.time()`. On the Python 3.12
runner the event loop was delayed past the deadline and the assertion read
`1793772763914 > 1793772763951` — 37 ms short. The test was really asserting that
the runner schedules an asyncio task within 200 ms, which it does not promise.
The lease is now 5 s with a renewal every 0.5 s, and the check runs after 1.2 s
with the database left alone in between. That still proves the lease is extended
while a sync is running, and it cannot lose the race.
Reproduction before the change: 0/20 failures idle, 1/10 with four busy loops on a
2-vCPU box. After: 0/20 idle and 0/20 under the same load.
Found while debugging, deliberately not changed here: `_renew_lease()` does not
catch exceptions from `renew_lease()`, and the task's exception is swallowed by
`asyncio.gather(..., return_exceptions=True)` in `_run_job`'s `finally`. One
transient SQLite error therefore ends the renewal loop silently, and the sync
loses its lease with nothing logged. That deserves its own change and its own
test.