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
RFC: should the content API support a write precondition? #161
PATCH /api/documents/:documentId/content has no precondition header. Two callers that read the same document and then write both succeed, and the second silently discards the first.
What to decide
Whether to add If-Match, carrying either a document checksum or a revision number. This was deliberately cut once.
Acceptance
A yes or no is recorded in this issue.
Notes
Node targeting reduces how often a caller needs this, so consider it after that decision rather than before.
Activity
HMarzban commentedon Oct 15, 2026
Related issues
If-Match. RFC: what should a content PATCH return so a caller can confirm its write? #164 shows no revision exists when the PATCH response is written. So a caller cannot learn one.edit_blocksand the content API PATCH share one apply lock inhocuspocusApply.ts. Test parallel connected-app writes across two collab replicas #381 measures whether a rev check holds across two replicas. AnIf-Matchhere faces the same limit.Cross-link review, 2026-10-15. Generated by Claude Code