You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 27b5a29
Browse filesBrowse the repository at this point in the historyBrowse files
fix(relay): bound HTTP typing by serialized size; test the write fence
The 1 KiB cap summed content and tag values only, so an event with an h
tag plus many empty tags counted as a few bytes while its JSON could
reach the HTTP body limit. Measure the serialized event instead (2 KiB,
which leaves room for id, pubkey and sig on a ~600-byte real indicator).
The oversize test now covers content, one large tag value, and 10k empty
tags.
Add a test for the community write fence on the HTTP typing path. Over
HTTP a quiescing community's host no longer binds, so the test binds
the tenant first and then quiesces, which is the window the fence
guards.
Update comments and docs that said HTTP rejects every ephemeral kind;
only typing (kind:20002) is accepted.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: ART <ea39c1c8acf57180161ef4ba4ed68abf8589f5291956b909a5aa991fc66664ca@buzz.block.builderlab.xyz>
1.**`feed get` sorts newest-first** — every other list command sorts oldest-first. Don't assume consistent sort order.
125
-
2.**`users set-presence` is broken** — sends ephemeral kind:20001 via HTTP POST; relay rejects ephemeral kinds over HTTP. Will fail until WebSocket support is added.
125
+
2.**`users set-presence` is broken** — sends ephemeral kind:20001 via HTTP POST; relay accepts presence only over WebSocket (typing, kind:20002, is the one ephemeral kind HTTP accepts). Will fail until WebSocket support is added.
126
126
3.**`workflow runs` always returns `[]`** — run history lives in the relay's database, not as Nostr events.
127
127
4.**`dms open` returns `dm_id`** — use this value as `--channel` for subsequent `messages send/get` commands on that DM.
128
128
5.**Content max 65,536 bytes** (exit 1 if exceeded). Diffs auto-truncate at 61,440 bytes at a hunk boundary.
0 commit comments