docs: record 1.7.53 Cordn reliability and relay limits

This commit is contained in:
SkateSpots 2026-10-30 17:43:06 +07:00
parent 95ff486038
commit 20b2b0d676

View file

@ -2228,7 +2228,7 @@ session with **no other memory of this project**. So:
instead of showing the error boundary. instead of showing the error boundary.
- **Baselines** (verified 2026-10-29): `npm test` → **0 errors, 0 warnings**, - **Baselines** (verified 2026-10-29): `npm test` → **0 errors, 0 warnings**,
**156 tests**, build ok. The gate also type-checks the CVM server **156 tests**, build ok. The gate also type-checks the CVM server
(`tsc -p cvm-server/tsconfig.json`). `package.json` version **1.7.52**. (`tsc -p cvm-server/tsconfig.json`). `package.json` version **1.7.53**.
- ✅ Lint is **clean**: `no-explicit-any` = 0 · `react-hooks/exhaustive-deps` = 0 - ✅ Lint is **clean**: `no-explicit-any` = 0 · `react-hooks/exhaustive-deps` = 0
· `no-unused-vars` = 0 · `react-refresh` = 0. Non-component exports were · `no-unused-vars` = 0 · `react-refresh` = 0. Non-component exports were
**split into their own modules** (`contexts/language.ts`, `lib/sortOptions.ts`, **split into their own modules** (`contexts/language.ts`, `lib/sortOptions.ts`,
@ -2760,6 +2760,12 @@ Rules:
grantmaker form keep all content with tighter mobile spacing. `/support` grantmaker form keep all content with tighter mobile spacing. `/support`
redirects to `/supporters`. APK sha256 `acd581a2…`, versionCode 10752. redirects to `/supporters`. APK sha256 `acd581a2…`, versionCode 10752.
Web live at `69a8649`. Web live at `69a8649`.
- **1.7.53 (2026-10-30):** Cordn/Staircase reliability. Newlay coordinator
budget raised (300/min, burst 120, concurrency 64), client polling now
backs off with jitter and polls hidden tabs half as often; relay health
alerts cover Cordn 429s/announce/TLS; Settings shows per-relay health pills;
Crew coordinator card adds a Staircase/Cordn QR. APK sha256 `f124669c…`,
versionCode 10753. Web live at `95ff486`.
### Relay archive (dataset backup) ### Relay archive (dataset backup)
- **Transfer content between keys (`scripts/transfer-content.mjs`, 2026-10-04):** - **Transfer content between keys (`scripts/transfer-content.mjs`, 2026-10-04):**
@ -3068,6 +3074,11 @@ The community relay moved off the hosted relay.tools instance
cosmetic; unauthenticated reads work. Config backup: cosmetic; unauthenticated reads work. Config backup:
`~/newlay/deploy/docker/newlay.toml.bak-*`; restart with `~/newlay/deploy/docker/newlay.toml.bak-*`; restart with
`sudo docker compose up -d --force-recreate` from `~/newlay`. `sudo docker compose up -d --force-recreate` from `~/newlay`.
**2026-10-30:** after 3,767 `cordn rate limit` rejects in 24h (`msg_fetch_many`,
mostly the two admin pubkeys), raised `[cordn] rate_per_min` 120→300,
`rate_burst` 30→120 and `max_concurrent_requests` 32→64. Config backup
`newlay.toml.bak-cordn-20261030-102947`; restarted and verified coordinator
announce + NIP-11 200. Recheck the reject count before/after a Staircase soak.
⚠️ **Content can silently miss the canonical relay:** the app publishes to ⚠️ **Content can silently miss the canonical relay:** the app publishes to
`getWriteRelays()` and resolves on the **first** relay that accepts, so a `getWriteRelays()` and resolves on the **first** relay that accepts, so a
rate-limited community-relay write can leave a spot only on ditto/damus (this rate-limited community-relay write can leave a spot only on ditto/damus (this
@ -3096,7 +3107,9 @@ The community relay moved off the hosted relay.tools instance
dies, and posts to **ntfy.sh** when the problem set changes (deduped; also a dies, and posts to **ntfy.sh** when the problem set changes (deduped; also a
"recovered" message). The topic is in `/home/ubuntu/skatespots-health.env` "recovered" message). The topic is in `/home/ubuntu/skatespots-health.env`
(mode 600, not tracked) — subscribe to it in the ntfy app. Units tracked at (mode 600, not tracked) — subscribe to it in the ntfy app. Units tracked at
`scripts/systemd/skatespots-health.{service,timer}`. `scripts/systemd/skatespots-health.{service,timer}`. **2026-10-30:** the host
script also alerts on ≥40 Cordn rate-limit rejects/15m, a missing coordinator
announce/20m, and TLS expiry <14d; deployed to `/home/ubuntu/skatespots-health.sh`.
- **Media / Blossom (2026-10-12):** the relay also serves Newlay's Blossom at - **Media / Blossom (2026-10-12):** the relay also serves Newlay's Blossom at
**`blossom.skate-spots.org`** (a Caddy site block → the same `127.0.0.1:7777`; **`blossom.skate-spots.org`** (a Caddy site block → the same `127.0.0.1:7777`;
blobs stored at `/var/lib/newlay/data/blobs`, INSIDE the data volume so they blobs stored at `/var/lib/newlay/data/blobs`, INSIDE the data volume so they