docs(protocol): catalogue the -32016 PUSH_PENDING_LIMITED push-bound error - #69
Merged
Merged
Conversation
…error Add the cache.pushCapsule in-flight pending-reassembly bound error to the dig-rpc catalog, mirroring how -32015 METADATA_TOO_LARGE is represented, and regenerate the derived static specs. Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Coherence companion to dig-node PR #191 (closes DIG-Network/dig_ecosystem#2149).
What changed
dig-node added a new catalogued JSON-RPC error,
-32016 PUSH_PENDING_LIMITED—cache.pushCapsulerefuses a window when the node's in-flight pending-reassembly bound is exceeded (per-requestor or global concurrent-push cap, the global pending-bytes budget, or an abandoned-partial TTL); retriable after in-flight pushes complete. Distinct from-32015 METADATA_TOO_LARGE.Edits
scripts/dig-spec.mjs(catalogue source) — addedPUSH_PENDING_LIMITED: { code: -32016, … }torpcErrors, sibling toMETADATA_TOO_LARGE, same shape.docs/support/error-codes.md(the sole hand-maintained prose error table;docs/protocol/dig-rpc.mdonly links to it) — added the-32016row + updated the surface-summary sentence.static/error-codes.json/openrpc.json/openrpc-node.json— regenerated vianpm run gen(drift-gated against the.mdtable; not hand-edited).package.json0.14.0 → 0.14.1(patch — an error-catalogue row addition, matching the-32015precedent).Verified
npm run gendrift gate (64 codes / 4 surfaces),format:check,typecheck,lint(zero warnings), fullbuildacross all 14 locales, andtest:unit(28 pass / 1 dist-skipped) all green.Generated by Claude Code