From 20b2b0d6768e22811e1b4982a4aae5da54d7d553 Mon Sep 17 00:00:00 2001 From: SkateSpots Date: Fri, 30 Oct 2026 17:43:06 +0700 Subject: [PATCH] docs: record 1.7.53 Cordn reliability and relay limits --- AGENTS.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 444b19d..fb37fb2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -2228,7 +2228,7 @@ session with **no other memory of this project**. So: instead of showing the error boundary. - **Baselines** (verified 2026-10-29): `npm test` → **0 errors, 0 warnings**, **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 · `no-unused-vars` = 0 · `react-refresh` = 0. Non-component exports were **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` redirects to `/supporters`. APK sha256 `acd581a2…`, versionCode 10752. 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) - **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: `~/newlay/deploy/docker/newlay.toml.bak-*`; restart with `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 `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 @@ -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 "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 - `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 **`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