edge.forms.takoform.com/ModuleWorker@0.1.0
Module Worker
Give one Worker application a stable identity.
Public package readback verified
Host support and admission are separate from package publication. These fields describe portable desired state, not a provider-specific deployment command.
How it fits
An empty desired state is intentional. Code, configuration and bindings belong to WorkerVersion; traffic belongs to WorkerDeployment.
Works with: Worker Bundle · Worker Version · Worker Deployment
Full contract description
Long-lived logical identity of one ES Module Worker application. The Form fixes the ES Module Worker ABI by identity, and states it exactly: the runtime contract worker.runtime@1.1.0 in this Form's providedInterfaces fixes the module's default-export shape, the fetch, scheduled, and queue handler signatures, the binding environment, ctx.waitUntil, exception handling, body streaming, the minimum Web API surface, and module loading. A host supporting this Form implements that exact digest; a runtime that behaves differently is a different contract version and a different Form version, never a compatibility date. Code, configuration, and bindings live on Worker Version revisions; traffic selection lives on Worker Deployments.
- Kind
ModuleWorker- Definition version
0.1.0- Role
identity
Desired state
No configurable desired-state fields. Use the empty object shown below.
Example desired state
This is the exact fixtures/desired.json from this package, not a complete Host API request or OpenTofu configuration. Replace example resource references and artifact digests with your own; it does not provision anything by itself.
{}
Read source fixture
Full desired-state schema
Nested fields, allowed alternatives and all schema constraints. Host-validated semantics also apply; read the contract description above.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Long-lived logical identity of one ES Module Worker application. The Form fixes the ES Module Worker ABI by identity, and states it exactly: the runtime contract worker.runtime@1.1.0 in this Form's providedInterfaces fixes the module's default-export shape, the fetch, scheduled, and queue handler signatures, the binding environment, ctx.waitUntil, exception handling, body streaming, the minimum Web API surface, and module loading. A host supporting this Form implements that exact digest; a runtime that behaves differently is a different contract version and a different Form version, never a compatibility date. Code, configuration, and bindings live on Worker Version revisions; traffic selection lives on Worker Deployments.",
"properties": {},
"title": "Module Worker desired state",
"type": "object"
}Lifecycle
createreaddeleteimportobserve
Provided interfaces
worker.runtime@1.1.0sha256:ed2f8211aac5be94488d391945ca6aca7627a4ecbd261e39790093e887feae08worker.service@1.0.0sha256:8024073e25413c8906c3e189555a7485b4c7a6656e8a537fb2801f9b9682536e
Canonical package locator
- Package digest
sha256:931eda33c673a640530b81779a5821ed27b9244c9f13dec9660867173aa69405- Schema digest
sha256:049df2fb1eda53e4ccb0d646022a3ded8bc17c44eb433fa2e5ac0861efe42ac7- Tag
forms/k-mvsgozjomzxxe3ltfz2gc23pmzxxe3jomnxw2l2nn5shk3dfk5xxe23foi/sha256-931eda33c673a640530b81779a5821ed27b9244c9f13dec9660867173aa69405- Source path
forms/releases/k-mvsgozjomzxxe3ltfz2gc23pmzxxe3jomnxw2l2nn5shk3dfk5xxe23foi/sha256-931eda33c673a640530b81779a5821ed27b9244c9f13dec9660867173aa69405- Signed set
e7f8a39311dd011b8467e97e7f300cabb9a6b06c
Four-field FormRef
{
"apiVersion": "edge.forms.takoform.com",
"kind": "ModuleWorker",
"definitionVersion": "0.1.0",
"schemaDigest": "sha256:049df2fb1eda53e4ccb0d646022a3ded8bc17c44eb433fa2e5ac0861efe42ac7"
}