Repository navigation
Release Notes
Bounded POST /delegation/query database work (#776, TC-4491), node health telemetry and named pool warnings (#770, TC-4464), the cloudflared restart-loop fix (#769, TC-4466), a required sql_identity_fence choice on deploy dispatch (#768, TC-4465), the TC-2917 chunked SQL artifact migrations (flag off) and the threshold member key store and share volume guard (inert by default). The deploy-ready compose template hash is 86ffe6b3be75877b3a35dee1ab42a073860c370c09536148c0dd9b89b7859ba2.
Upgrade notes
- Two Postgres migrations run at the first boot (both from TC-2917, SQL flag off):
m20261113_020000_artifact_chunk_walandm20261113_030000_artifact_part_lifecycle. Each runs underlock_timeout = '500ms'; a lock timeout fails the migration and the boot. Theirdownis forward-only on PostgreSQL. The rollback posture is decided and recorded before the dispatch (TC-4495). - Dispatch with an explicit
-f sql_identity_fence=false(production);unsetis refused.
Changes
-
POST /delegation/queryreads account relationships as one narrow four-column list, sorts by issued time and CID string in Rust, then loads abilities and ancestor lifecycle state only for page candidates on every backend. Account-session discovery reads only delegation-list abilities. The cursor format and response fields are unchanged; sparsestatusorspacematches require further geometrically growing hydration batches (up to 1,000). The narrow account scan still reads all relationship rows per request; no database migration. Ancestor graph errors are evaluated only for hydrated rows, so an off-page over-limit or over-depth graph no longer fails the page. Details: TC-4491. -
The node logs a health line once a minute (target
tinycloud::node_health, messagenode health): the minute's process CPU (user and system ms), RSS, the tokio runtime's workers, live tasks, global queue depth and busy time, the requests in flight now and the most during the minute, and the main database pool's maximum, size, idle, in-use and waiting callers with its acquisitions, timeouts, cancelled and failed acquires, total and longest acquire wait. Each background job that has run (artifact_parts,renewal,replay_cleanup,kv_orphans,retention,webhook_dispatch) adds anode job healthline: passes and failures in the minute, last and longest pass duration and the age of a pass still running. Integer counts and durations only; RSS reads 0 outside Linux. The vendored sqlx pool counts acquisitions for it (Pool::acquire_stats,vendor/sqlx-core/PATCH.md). Details: TC-4464. -
The sqlx pool warnings "closing a pooled connection released inside a transaction" (TC-2954) and "acquired connection, but time to acquire exceeded slow threshold" (2 s) are logged on target
tinycloud_core::db_pool. Before, the node dropped them with every othersqlx*target, so neither was ever written. Details: TC-4464. -
Production compose (log shipper):
VECTOR_CONFIG_JSONships both health lines as the individual eventsnode_healthandnode_job_health(integer fields only, validated key by key; anything else is dropped), and names the two pool warningsdb_pool_closed_in_transactionanddb_pool_acquire_slow. Fixed rate: at most 7 events a minute, 10,080 a day; worst case 756 + 6 x 247 = 2,238 bytes a minute, 96,681,600 bytes per 30 days NDJSON. Canonical schema samgbafa/tinycloud-dev#393. On top of TC-4466 the N0 compose template hash becomes86ffe6b3…(raw53a78d72…; was0391bb7d…). Details: TC-4464. -
Production compose (TC-4466): the
cloudflaredconnector no longer restart-loops whenCLOUDFLARE_TUNNEL_TOKENis empty or unset. Itsrestartis${CLOUDFLARE_TUNNEL_TOKEN:+unless-stopped}:unless-stoppedwith a token, as before, otherwise Docker's defaultno, so the tokenlesstunnel runexits once (255) and stays down. In production it had exited and restarted about once a minute. The N0 template hash moves fromb7cd7a5b…to0391bb7d6b9bd65ab5af5b461bdefc09b688cac397fdc83d8a91e48643ff14f4(raw867b6da2…). The hosted compose proof now runs the pinned image without a token and checks that it stays down with no restarts. -
Deploy workflow:
sql_identity_fenceno longer has a usable default. It is a required choice (unset/true/false, defaultunset), and the version guard refuses anydeploy_phala=truedispatch that leaves itunset, before any build or CVM mutation. The Deploy step also refuses anything but a literaltrue/falsebefore sealing. On 2026-11-28 a deploy that omitted-f sql_identity_fence=falsegot the old defaulttrueand fenced production SQL and writes (503s).trueandfalsemean what they did before, and builds without a deploy are unaffected. Details: TC-4465. -
Production compose: the database pool is
TINYCLOUD_DATABASE__MAX_CONNECTIONS: "20"(was 10). The production database (PlanetScaletinycloud-node-production-usw) allows 50 connections, so two containers that overlap during a deploy (2 x 20 = 40) still fit with room for admin access. Under load the pool of 10 queued requests for up to the 30 s sqlx acquire timeout. This changes the compose hash; the N0 template lock indocker.ymlandscripts/ci/fixtures/tc959-n0-compose.yamlmove with it: the N0 compose template hash is nowb7cd7a5b…(rawcb780f0b…). Rollback: set it back to 10 with the same image digest. -
Production compose (log shipper):
node_requestevents with status 500 and above now keeppool_wait_ms,query_time_msandquery_count, the same three fields the node already logs on every request line, with the same bounds as below 400; 400 to 499 still carry none. A value of the wrong type or out of range is dropped and the event still ships. On a 5xx the timings include a cut or failed wait (the 55 s deadline drops the handler future, and its pool wait is counted up to the cut); SQL-service work runs on a spawned task, so on a cut its timers can read zero or partial. To stay within the 600 MB capped reserve (the line grows by 112 bytes) thenode_request_5xxcap goes from 10 to 8 per minute per sidecar instance; worst case 596,203,200 bytes NDJSON, 597,888,000 json-array. No node change. The N0 compose template hash is now5323f626…(raw763caa5b…). Details: TC-4308. -
The node logs one info line,
deletion_ledger_start, at every start after the deletion ledger replay: the file's state (missingwhen the start's open created the file,empty,present), byte size, delete operations, key entries,committedandabortedlines, the newestdeletedAt(aborted intents included) andtorn_tail. Counts, a flag and a timestamp only. It ships to Better Stack with the logship bundle (TC-4177/TC-4190); this release only logs it.tinycloud node purge-ledger reconcileprints a notice on stderr when it creates a missing ledger file. Details: TC-4177. -
POST /delegateandPOST /revokerefuse a validly signed request that has no standing, or is outside its signed time window, before taking any lock. Before, it took the guards of the delegation chain it cited, queued for the write order of the spaces it named and, on PostgreSQL, held a pooled connection in an open transaction until it was refused. Now it is refused at once:- a delegation whose issuer has no applicable authority for its requested capabilities;
- a revocation by someone who may not revoke its target, or of a target that is not stored;
- a renewal lease not issued by the delegator of the original it renews;
- an expired or not-yet-valid delegation or revocation.
The checks run again inside the transaction, which decides. A delegation already stored still answers as registered when posted again, even after it has expired. Clients that post a child without waiting for its parent's response must retry: a child whose parent is not yet stored is now refused at once with 401Cannot find parent delegation. Before, it could sometimes wait for the parent's write and be admitted. Refusal messages are unchanged, except that a stranger's renewal lease is now refused as unauthorized even where its window or shape was also wrong./delegatealso checks the request's signature before the Policy/v3 admission reads the graph, so a badly signed delegation citing a policy root answers 401Failed to verify signatureinstead of 403. Details: TC-3000.
-
SQL databases over the checkpoint save size limit remain readable and reject mutations before execution. Details: TC-1491.
-
Ops: added a reversible local-config HTTP ingress switch and operator runbook for a separately verified independent Cloudflare origin. Dry-run is the default; production routing and policy execution remain separate. Details: TC-1387.
-
Production compose: stored SQL databases up to 320 MiB load again; saves still stop at 64 MiB (
TINYCLOUD_STORAGE__SQL__MAX_ARTIFACT_READ_BYTES: "320 MiB"). Config only, no migration. Details: TC-1491. -
Production compose: a
cloudflaredCloudflare Tunnel connector service (image pinned by digest, no published ports, metrics on loopback, no log driver, on its owncf-edgenetwork shared only withtinycloud, credential from the optional sealedCLOUDFLARE_TUNNEL_TOKEN). Unset, the rest of the stack deploys unchanged and the connector has no credential and carries nothing. The N0 compose template hash becomes91802e6c…(raw68f00873…). Config only, no migration. Details: TC-4194. -
Production compose: the log shipper's
VECTOR_CONFIG_JSONships the node's one deletion-ledger line per start as the individual eventdeletion_ledger_start(ledger_filemissing/empty/present,bytes,operations,key_entries,committed,aborted,newest_deleted_at; counts only, no ids or paths), so an OS move or deploy can compare the ledger before and after, and names the DuckDB cache cleanup warningduckdb_cache_cleanup_failed. It also pre-registers fourevent_codevalues for the store-master and shadow-local diagnostics that arrive with TC-1491 P4.2a (store_master_mode_unreadable_refused,store_master_backstop_rotation_failed,shadow_local_working_copy_missing,shadow_local_read_failed), so those lines are named from the first deploy. The N0 compose template hash becomes693f06e8…(rawef81b59f…;docs/releasing.mdhas the full values). Details: TC-4177, TC-4190. -
DuckDB: a failed cache cleanup is a
warnagain (eventduckdb_cache_cleanup_failed), shipped as a counted diagnostic. #647 had demoted it todebugbecause no event code existed. Details: TC-4190. -
DuckDB: the node opens and ends every transaction itself; client requests that send transaction control (
BEGIN,START TRANSACTION,COMMIT,END,ROLLBACK, savepoints) are refused at every tier, and the SDK'stransactionalbatches are unchanged.nextvalandsetvalcount as writes, so a read-tier orreadOnlyrequest is refused them. Line comments are parsed more strictly. Details: TC-3430. -
DuckDB: a request marked
readOnlyallows only queries andEXPLAIN, whatever its ability tier. Transaction control (BEGIN,COMMIT,ROLLBACK) counts as a write, so the read tier andreadOnlyrequests are refused it. Details: TC-3035. -
The 503 body of a request that reached its deadline before its write began reads "request_timeout: no change was applied; retry the request with a new signature". Details: TC-1997.
-
Revocation: the delegator of a delegation D can now give D's own delegatee the right to revoke exactly D. The delegator issues a parentless delegation, to D's delegatee only, carrying exactly one capability:
tinycloud.delegation/revokeon exactlyurn:cid:<D>. D must already be on the node, and the grant must expire no later than D. Any other audience, extra capability, wildcard, or<space>/delegationscope is still refused, as before. The delegatee then revokes D through the existing/revoke, presenting that grant as its one proof. The grant stops working when it is itself revoked, and when the chain D was issued under is revoked. It reaches no other delegation: not D's parent, not a sibling. Owner-issued grants are unchanged. No route, migration or config change. Details: TC-3150. -
Read audits no longer write
parent_delegationsrows: about 370 bytes less per read for each delegation it cites (table plus indexes, PostgreSQL 18). A read citing one delegation with one capability goes from about 2,174 to about 1,800 bytes, about 17% less. Reads also stop growingparent_delegations, the table the permission check searches. A read's audit record (every/invokethat changes no KV data: KV get, list, metadata and sync, capabilities read, and SQL/DuckDB authorization) keeps itsactor,invocationandinvoked_abilitiesrows: the space purge (TC-2871) finds a space's reads throughinvoked_abilities, and the database migration inventory attributes SQL databases through them. The cited parents stay inside the signedserialization. KV writes still store all four. Existing rows are kept; no migration. On PostgreSQL a read-audit batch is still one statement, and one with more than 65,535 parameters still falls back to one transaction. Rollback: v1.26.9 and v1.26.10 read these records as they are, since the permission check walks parent edges upward from a delegation, never from a read. After a rollback the older node writes the parent rows again; mixed history is harmless. Details: TC-3259. -
PostgreSQL: a batch KV read seeks each key, also after the database starts reusing a generic plan. The batch lookup of live
current_kvrows usedkey = ANY($3). After five runs of the prepared statement, PostgreSQL's generic plan walked the whole space onidx_current_kv_space_orderand checked each row against the array. In production that read about 740 buffer pages for 44 rows, and it was 58% of query CPU. The lookup is now oneLIMIT 1lateral probe per key overunnest($3), and every plan seeks on(space, deleted, key)or the primary key. Same rows, same single statement; no migration and no database setting. Details: TC-3211. -
KV: a put records its value's size. A
kv/metadata(head) answer carries the stored size inx-tinycloud-content-length, since its body is empty, and the time the current value was written inLast-Modified. For values written before this release, the head gets the size from a file stat or S3 HEAD, without reading the value. A store that can't do that, or a probe that fails, leaves the header out. Akv/listsent withx-tinycloud-list-entries: trueanswers[{key, size?, updatedAt?}]instead of bare keys, withupdatedAtin whole seconds (RFC 3339) andsizeabsent for values written before this release; lists without the header are unchanged. Size and write time reach only the space's owner or a caller whose cited delegations hold an unexpiredkv/getcovering that key, checked per key. Anyone else gets both absent (not null), including a list-only or metadata-only grant and a share-link list recipient. Nothing reveals a writer, other versions, deleted values or keys outside the prefix (docs/delegation-flow.md). The migration adds a nullable column without a default, a metadata-only change on PostgreSQL. Details: TC-2492. -
A batch KV read (two or more
kv/get, or two or morekv/metadata, in one/invoke) answers with anETag("kv-batch-…") andCache-Control: private, no-cache. The tag names the keys, the ability, and the write position and value digest of each key's live row (or its absence), taken from the rows the batch already looks up, so it costs no extra statement. Sent back inIf-None-Match, it answers304with no body while none of those keys has been written or deleted. The invocation is still authorized and its read still audited, but no value is read. Writes to keys outside the batch leave the tag unchanged. A batch that answers a live key as not found because its stored value can't be read carries noETag, so a client never caches that answer under the state of a present key. Previously a non-*If-None-Matchon a batch read answered 400. Details: TC-3217. -
Renewals: an operator can pause and resume all scheduled renewal stamps on a node with
PUT /admin/renewals{"paused":true|false}(admin Bearer secret;GETreads the state). The switch is persisted in the node database (one migration,m20261117_000000_renewal_switch, seeded as running, so nothing changes on deploy) and is re-checked inside the stamp transaction. Lease registration and already-issued stamps are unchanged while paused; a grant that ends while paused is not revived on resume. Runbook:docs/runbooks/renewal-leases.md. Details: TC-3163. -
Hooks honour renewal stamps. A hook ticket's
parent_expis now the cited delegations' current effective end, the one/invokereads use: the latest admitted stamp of the node's current renewer epoch, capped by every ancestor, else the signed expiry. It is recomputed at every/hooks/eventsopen and reopen, so a renewed grant (including an owner-lease-renewed one) keeps its subscription past its signed expiry, and a stream ends at the earliest of its ticket'sexp, that current end andhooks.max_ticket_ttl_seconds(300 s by default) after it opened. Each open still checks the whole chain for revocation; a stream already open when a delegation in its chain is revoked, or when stamping stops, ends at that deadline and its reopen is refused. Unrenewed grants are unchanged./inforeportshooks-effective-end-v1. Details: TC-3174. -
Signed KV URLs honour renewal stamps.
POST /signed/kvcaps a URL at the cited delegations' current effective end, the one/invokereads use (the latest admitted stamp of the node's current renewer epoch, capped by every ancestor, else the cited delegation's signed expiry), instead of the signed expiry, so a renewed grant can mint one past its signed expiry. EveryGET /signed/kv/<id>recomputes that end and answers 401signed URL expiredonce it has passed, even before the URL's storedexpiresAt, for example when the grant's lease is revoked. Unrenewed grants are unchanged. Details: TC-3176. -
Signed KV URLs re-check revocation at every use.
GET /signed/kv/<id>checks the whole delegation chain the URL was minted under (the cited delegations and every ancestor) and answers 401signed URL authority revokedonce any is revoked. Before, revocation was checked only at mint, so an already-minted URL kept serving content until itsexpiresAt(up to 300 s). Details: TC-3177. -
Artifact-part writers prioritize their own predecessor reclamation, keep replacement contention retryable, and distinguish capacity refusals from space-growth limits; existing database layouts can checkpoint before adopting WAL parts. Details: TC-2917.
-
Chunked artifacts (flag on only): a write that races another checkpoint replacement of the same database now answers 503
unavailable_retryablewithRetry-After: 1(SDKNODE_BUSY, retried automatically) instead of 402 storage-quota-exceeded, and does not arm the checkpoint back-off; a parts capacity refusal answers 507sql_database_size_limitinstead of 402. DuckDB answers the same: its replacement-busy 503 body now startsunavailable_retryable:and so carriesRetry-After: 1(before:Database artifact replacement is temporarily unavailable, noRetry-After, SDKNETWORK_ERROR). TC-2917. -
DuckDB cache cleanup no longer holds up lookups of other databases while files are deleted; a spill directory left by a stopped process no longer blocks hydration or discard, and a failed import leaves no staged or imported file behind. Details: TC-2917.
-
DuckDB keeps disk headroom: a write or import that would leave less than
storage.duckdb.min_free_bytesfree, a write still running when free space drops below it, and a statement that spills paststorage.duckdb.max_temp_directory_sizeanswer507 duckdb_disk_headroom; each is counted astinycloud_disk_headroom_refusals_total{engine="duckdb"}. A write refused this way keeps nothing: the database's local copy is dropped and reloaded from its last saved artifact, so neither a transaction that committed just before the refusal nor earlier statements of its batch are kept or saved later. Only plain queries andEXPLAINwithoutANALYZEsent asquerycount as reads; anything else (includingPREPARE/EXECUTE) counts as a write. Reservations share the node-wide disk budget with SQL. Both limits key onstorage.sql.chunked_artifacts: unset, the floor is 2 GiB (provisional until production headroom is measured) and the spill limit 1 GiB per connection when it is on; otherwise both are off. With chunked artifacts on, the node refuses to start when the DuckDB floor is belowstorage.sql.chunked_artifact_max_bytes, so the floor cannot be 0. Details: TC-2917. -
At startup the node removes DuckDB spill directories and staging or renamed-aside cache files left by a stopped process, before it serves; the cache files themselves stay. Details: TC-2917.
-
DuckDB headroom accounting: the bytes a write has already written leave its reservation (they are in the free-space reading), so two concurrent writes no longer stop each other inside the room the gate admitted them with. The snapshot copy a save takes is made beside the database's cache files, the filesystem the headroom measures, instead of in
$TMPDIR; copies left by a stopped process are removed at startup. Details: TC-2917. -
DuckDB saves a complete checkpoint when a write changes its main file, and uses incremental WAL persistence only when that file still matches the stored checkpoint, so acknowledged writes remain recoverable after restart. Details: TC-2990.
-
Opt-in SQL artifact parts also stream cumulative WAL updates, retaining the checkpoint until a full checkpoint is needed. Details: TC-2917.
-
DuckDB can persist checkpoints, cumulative WAL and imports through the same opt-in bounded artifact parts. Details: TC-2917.
-
Two PostgreSQL migrations ship with the artifact parts,
m20261113_020000_artifact_chunk_walandm20261113_030000_artifact_part_lifecycle, and they run at boot even withchunked_artifactsoff. Theirdownrefuses, so rolling back below this release is fix-forward only for them. Bothupsteps are re-runnable: runningupagain after deleting BOTHseaql_migrationsrows (m20261113_020000_artifact_chunk_walandm20261113_030000_artifact_part_lifecycle) is tested. Booting the previous image on the changed schema after such a row-only delete is proposed but untested. Details: TC-2917. -
Optional
spaces.registry_v2enables independently verified owner-signed per-space hosting and read/write modes. Listed session grants activate replicas without an extra per-node hosting signature; mixed data/encryption grants retain their original proof and activate only locally served spaces. Unconfigured onboarding is unchanged. Details: TC-2481 -
Registry hosting fixes: re-registering an unchanged valid grant activates newly listed spaces once, independently of CID registration. Registry unavailability keeps HTTP 503 through decrypt, hook, and invocation authorization. Share-holder named SQL reads are admitted by the registry like KV reads (defense in depth: no production route reaches them). Queued webhook deliveries follow the registry too: a space it no longer lists here stops sending them by the dispatcher's next pass, and an unreachable registry retries them. Details: TC-2481
-
Optional
spaces.registry_cache_max_age_seconds(default 0, off; at most 300; requiresregistry_v2) keeps reads and writes admitted from the last verified registry record while the registry is unreachable or answers 502/503/504, for at most that long after the last successful lookup; then 503 before any effect. Refusals discard the cached record, revocations still apply, the cache is memory-only, and activating a replica always needs the live registry. Registry lookups sendCache-Control: no-cache, so a cache in between can't confirm a withdrawn record. Details: TC-2481 -
Space purge: the purge ledger moves out of the block store into its own
[storage.purge_ledger]store: an Object Lock bucket on S3, or<datadir>/purge-ledgerby default on local storage. Startup refuses a ledger that shares the block bucket or directory. The data bucket never carries Object Lock. It is unversioned, so a purge's delete is final; if versioning is ever turned on, a 7-day noncurrent lifecycle rule must be added in the same change. Runbook:docs/runbooks/space-purge-storage.md. Details: TC-2871. -
Space purge runs in the node. Two settings turn it on, and both must be set:
TINYCLOUD_HOST_ID(non-secret, e.g.node-prod-1) and the secretTINYCLOUD_PURGE_LEDGER_KEYS, which takes only the JSON form{"active_key_id":"plk-YYYYMMDD","keys":{"<id>":"<base64url, at least 32 bytes>"}}. With both unset, the node starts as before and the/space/*lifecycle routes answer 404. On also requires PostgreSQL and a[storage.purge_ledger]. Before it serves, the node verifies every ledger record and reconciles the database and stores to the ledger; a failure stops the start. It then mounts/space/list,/space/retire-owner,/space/purgeand/space/purge/statusand runs one purge worker.tinycloud node purge-ledger reconcile --config <config>runs the same reconciliation once and prints counts only (restore runbook step 7). Runbook:docs/runbooks/space-purge-storage.md. Details: TC-2871. -
Space purge: a retired owner's encryption rows (
encryption_network,_key,_member,encryption_ceremonyandencryption_audit) are no longer deleted by the purge of the owner's last space. Once the owner is retired, has no live space and every purge of the owner is complete, the purge worker first writes a signed("owner","erased")record to the purge ledger at_purge-ledger/owners-erased/<key_id>/<owner HMAC>, then deletes those rows in one transaction, then drops the owner's settled operations fromdeletions.jsonl(only when the record verifies and no key row remains).tinycloud node purge-ledger reconciledeletes the rows again for everyerasedrecord and reportsowners_erased_redeleted,owners_prunedandblocked_rows_present(counts only). No rollback once an owner has been erased; recovery = fix forward. An earlier release refuses anerasedrecord and stops at start, and this release's purge migrations refusedown. This change is turned on in its own deploy step, not with other features. Runbook:docs/runbooks/space-purge-storage.md. Details: TC-2871. -
SQLite stamp replay deadlines now use the same timestamp encoding as cleanup (TC-2920).
-
Metrics: the PostgreSQL pool's timeouts in effect are exported, so an operator can read them back without the startup log:
tinycloud_db_idle_in_transaction_timeout_ms(0 when none is set, includinglocalstatement-timeout mode),tinycloud_db_statement_timeout_ms(0 when off) andtinycloud_db_statement_timeout_mode{mode="session"|"local"|"off"}(1 on the mode in effect). Values only; no connection details (TC-3178). -
PostgreSQL database artifacts use uncompressed external storage for new writes to avoid repeated decompression during chunked reads (TC-2917). Existing large artifacts require an operator re-toast; verify both storage settings after rollout and follow
scripts/tc2917-README.mdif lock contention deferred the migration. -
Encryption: v2 column format with key ids, per-purpose keys and recorded format metadata. Optional strict reads are off by default. Details: TC-2516, TC-2517.
-
Encryption network key-wrap v1 uses the explicit legacy column codec after the TC-2516 integration; wire bytes and default-off v2 writer flags are unchanged. Details: TC-2518.
-
Deploys: the workflow supports an explicit, reason-recorded rollback to an earlier released dstack image on the unchanged N0 compose. It checks image labels, release tag, ancestry, and identical migration sources while preserving the normal forward-release guard.
-
A new Policy/v3 registration records the share key its content source names (
share/<shareId>on the owner'sdefaultnetwork) in the registration's transaction, so publishing a share needs notinycloud.encryption/key.creategrant: the publisher encrypts to the key's public key and registers. A missing key is created atkeyVersion1 and counts toward the network's key limit; at the limit the registration answers 403key_limit_exceededand stores nothing. An existing key keeps its state. The registration now also requires the source's network to exist and be active. Docs:docs/encryption-named-keys.md. Details: TC-2525 -
Share-email issuer trust bundles can pin one next key for the same issuer DID during an explicit UTC overlap window. The legacy key stops at
issuerNotAfter; malformed, duplicate, unbounded or expired overlaps fail startup and--validate-config. Existing single-key bundles remain unchanged. This is node-side trust support only: the OpenCredentials witness and js-sdk policy contract must also support key rotation before activation. Older node images reject overlap fields; restore the previous single-key bundle before rollback. Seedeploy/share-email/production-trust-bundle-contract.md. -
Database operations are retried by one owner, once, within one time budget (
database.retry_window_ms):/delegate, the authorization step of/invokeand read-audit batches run again after a lost connection only when nothing can have committed. Statements,BEGINandCOMMITare no longer retried on their own, and the KV write path no longer replays its preparatory transaction. A request timeout, pool timeout or statement timeout is never retried and pauses all retries for 30 seconds, with one log line when the pause starts and one when it ends. Details: TC-2610 -
Webhook registration (
POST /hooks/webhooks) accepts optional write-onlyheaders({name: value}). They are sent on every delivery alongside the unchangedX-TinyCloud-*headers and HMAC signature, so a callback that requires its own credential (Authorization: Bearer …) can be woken. Validation:- At most 8 headers, 4096 bytes in total.
- Names are RFC 7230 tokens of up to 64 bytes.
- Values are 1–1024 bytes of printable ASCII (0x20–0x7E), so no tab, CR, LF or NUL, and no leading or trailing space.
- Case-insensitive duplicates are refused.
- Reserved names are refused:
Host,Content-Length,Content-Type,Content-Encoding,Content-MD5,Content-Range,Transfer-Encoding,Accept-Encoding,Connection,Keep-Alive,Upgrade,TE,Trailer,Expect,Cookie,Cookie2,Set-Cookie,Forwarded,Via,X-Real-IP, and anything startingProxy-,Sec-,X-Forwarded-orX-TinyCloud-. - A refusal returns 400 and stores nothing.
- A body that fails to parse (for example
headerssent as a string) answers 422, and no part of it reaches a log line at any log level.
Values are sealed like the webhook secret (v2, bound to the subscription row and column) and are never returned or logged; create and list return
headerNamesonly. Change headers by deleting and re-registering. One migration,m20261117_000000_hook_subscription_headers, addsheader_names_json,encrypted_headersandencrypted_headers_format(NOT NULL DEFAULT 0) tohook_subscription. Existing subscriptions have no headers and deliver unchanged. Details: TC-3123. -
SQL write events (SSE and webhook bodies) carry
rowId, the SQLite rowid of the row a statement inserted, when that statement is a single-table INSERT that inserted exactly one row. A woken agent can then read the row (for example the Home feed'sfeed_responses.sequence) without scanning. Updates, deletes, multi-row inserts, upserts that updated, ignored inserts,WITHOUT ROWIDtables and DuckDB writes omit it. The body stays ids-only. Details: TC-3123.
Install tinycloud-node 1.26.25
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/TinyCloudLabs/tinycloud-node/releases/download/v1.26.25/tinycloud-node-installer.sh | shInstall prebuilt binaries via Homebrew
brew install TinyCloudLabs/tap/tinycloud-nodeDownload tinycloud-node 1.26.25
| File | Platform | Checksum |
|---|---|---|
| tinycloud-node-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| tinycloud-node-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| tinycloud-node-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| tinycloud-node-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |