Repository navigation
@odatano/nightgate 0.28.0
@odatano/nightgate 0.28.0
One error model with string codes, batch segment outcomes, a single-instance database lease.
- Breaking:
error.codeof a status-only reject is a class code (INVALID_ARGUMENT,NOT_FOUND, ...), not"400". - Error registry in
docs/reference.md#http-error-codes; codes on error classes, across the worker boundary, and on a sanitized 5xx. getJobStatus.chainSegments(new column):[{ segment, calls, applied }]for confirmed batches.- Admin
reconcileNightBalances(address?, after?, limit?): drift report, writes nothing. InstanceLeases(new entity),NIGHTGATE_INSTANCE_LEASE_TTL_MS: one process per database; a displaced process dispatches, writes and broadcasts nothing.- Timed-out worker RPC cancelled at its next wait point, never after the submit intent.
- Wallet not at tip before the build:
NetworkOrTimeout/wallet-not-synced, sponsor fails over. - Revoked grant or sponsor policy: job code
AGENT_GRANT_REVOKED/SPONSOR_POLICY_*(wasError). BlockStatistics: count per returned row, page 100 (max 1000).@odatano/nightgate-tx0.7.0:isRetryable(err),RETRYABLE_ERROR_CODES.
Full Changelog: v0.27.2...v0.28.0