Skip to main content
New source defaults to authoring contract edition 11. The optional compatibility: { authoringContract: 'explicit-freshness' } marker explicitly declares that contract. Existing artifacts retain their pinned edition. Check, publish, and run use the same admitted snapshot.

Durable call keys are static

Durable call keys — the deepline.fetch key, the deepline.dataset key, the deepline.step id — must be static string literals. The key names a durable receipt, so check, publish, and replay have to agree on it before the body runs. A key computed at runtime cannot be resolved at check time and is rejected. This is an architectural constraint, not a style rule. A play cannot loop over a computed key, so it cannot page a large table with a helper like page(pageNumber). Unrolling one literal key per page is not a design at any real page count. Push the aggregation server-side and call it once: a SQL function, a view, or a provider endpoint that returns the whole result. Keep unrolled literal keys only for a handful of genuinely distinct calls. To fan out over rows, use deepline.dataset with a static key — the per-row receipt identity comes from the row, not from the key.

Durable HTTP batches

A static deepline.fetch key inside a loop is a warning because every iteration must still have distinct method, URL, body, or safe headers. One durable receipt must never stand in for every request. Keep the static fetch label. For a mutating batch, make the body distinct and use a replay-stable external Idempotency-Key such as ${deepline.run.rootId}:signals:${batchIndex}.

deepline.run.id

deepline.run.rootId is the submitted run: it is stable while Deepline retries or resumes that run, and a separately submitted run receives a new one. deepline.run.id names the Play invocation; it equals rootId in a submitted run, but inside an inline deepline.runPlay child it is the child’s composition id, which repeats in every parent run that makes the same call with the same input. Build external idempotency keys from deepline.run.rootId plus whatever names the operation, such as a batch index or record id. It is correct in a submitted run and inside an inline child.

Runtime capabilities