@proompteng/temporal-bun-sdk 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -10
- package/dist/agent-readiness.json +102 -18
- package/dist/production-readiness.json +246 -94
- package/dist/release-provenance.json +82 -0
- package/dist/src/activities/lifecycle.js +15 -4
- package/dist/src/activities/lifecycle.js.map +1 -1
- package/dist/src/client/retries.d.ts.map +1 -1
- package/dist/src/client/retries.js +12 -2
- package/dist/src/client/retries.js.map +1 -1
- package/dist/src/proto/protoc-gen-openapiv2/options/annotations_pb.js +1 -1
- package/dist/src/proto/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +14 -14
- package/dist/src/proto/protoc-gen-openapiv2/options/openapiv2_pb.d.ts.map +1 -1
- package/dist/src/proto/protoc-gen-openapiv2/options/openapiv2_pb.js +1 -1
- package/dist/src/proto/temporal/api/activity/v1/message_pb.d.ts +106 -35
- package/dist/src/proto/temporal/api/activity/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/activity/v1/message_pb.js +18 -2
- package/dist/src/proto/temporal/api/activity/v1/message_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/batch/v1/message_pb.d.ts +12 -12
- package/dist/src/proto/temporal/api/batch/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/batch/v1/message_pb.js +1 -1
- package/dist/src/proto/temporal/api/callback/v1/message_pb.d.ts +72 -0
- package/dist/src/proto/temporal/api/callback/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/callback/v1/message_pb.js +18 -0
- package/dist/src/proto/temporal/api/callback/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/cloud/account/v1/message_pb.d.ts +5 -5
- package/dist/src/proto/temporal/api/cloud/account/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/cloud/account/v1/message_pb.js +1 -1
- package/dist/src/proto/temporal/api/cloud/auditlog/v1/message_pb.d.ts +3 -3
- package/dist/src/proto/temporal/api/cloud/auditlog/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/cloud/auditlog/v1/message_pb.js +1 -1
- package/dist/src/proto/temporal/api/cloud/billing/v1/message_pb.d.ts +206 -0
- package/dist/src/proto/temporal/api/cloud/billing/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/cloud/billing/v1/message_pb.js +95 -0
- package/dist/src/proto/temporal/api/cloud/billing/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/cloud/cloudservice/v1/request_response_pb.d.ts +462 -82
- package/dist/src/proto/temporal/api/cloud/cloudservice/v1/request_response_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/cloud/cloudservice/v1/request_response_pb.js +223 -132
- package/dist/src/proto/temporal/api/cloud/cloudservice/v1/request_response_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/cloud/cloudservice/v1/service_pb.d.ts +95 -1
- package/dist/src/proto/temporal/api/cloud/cloudservice/v1/service_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/cloud/cloudservice/v1/service_pb.js +2 -2
- package/dist/src/proto/temporal/api/cloud/cloudservice/v1/service_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/cloud/connectivityrule/v1/message_pb.d.ts +11 -3
- package/dist/src/proto/temporal/api/cloud/connectivityrule/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/cloud/connectivityrule/v1/message_pb.js +2 -2
- package/dist/src/proto/temporal/api/cloud/connectivityrule/v1/message_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/cloud/identity/v1/message_pb.d.ts +173 -24
- package/dist/src/proto/temporal/api/cloud/identity/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/cloud/identity/v1/message_pb.js +22 -2
- package/dist/src/proto/temporal/api/cloud/identity/v1/message_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/cloud/namespace/v1/message_pb.d.ts +325 -26
- package/dist/src/proto/temporal/api/cloud/namespace/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/cloud/namespace/v1/message_pb.js +105 -22
- package/dist/src/proto/temporal/api/cloud/namespace/v1/message_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/cloud/nexus/v1/message_pb.d.ts +5 -5
- package/dist/src/proto/temporal/api/cloud/nexus/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/cloud/nexus/v1/message_pb.js +1 -1
- package/dist/src/proto/temporal/api/cloud/operation/v1/message_pb.d.ts +4 -4
- package/dist/src/proto/temporal/api/cloud/operation/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/cloud/operation/v1/message_pb.js +1 -1
- package/dist/src/proto/temporal/api/cloud/region/v1/message_pb.js +1 -1
- package/dist/src/proto/temporal/api/cloud/resource/v1/message_pb.js +1 -1
- package/dist/src/proto/temporal/api/cloud/sink/v1/message_pb.js +1 -1
- package/dist/src/proto/temporal/api/cloud/usage/v1/message_pb.d.ts +2 -2
- package/dist/src/proto/temporal/api/cloud/usage/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/cloud/usage/v1/message_pb.js +1 -1
- package/dist/src/proto/temporal/api/command/v1/message_pb.d.ts +61 -52
- package/dist/src/proto/temporal/api/command/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/command/v1/message_pb.js +2 -2
- package/dist/src/proto/temporal/api/command/v1/message_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/common/v1/message_pb.d.ts +118 -2
- package/dist/src/proto/temporal/api/common/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/common/v1/message_pb.js +24 -4
- package/dist/src/proto/temporal/api/common/v1/message_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/compute/v1/config_pb.d.ts +133 -0
- package/dist/src/proto/temporal/api/compute/v1/config_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/compute/v1/config_pb.js +38 -0
- package/dist/src/proto/temporal/api/compute/v1/config_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/compute/v1/provider_pb.d.ts +49 -0
- package/dist/src/proto/temporal/api/compute/v1/provider_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/compute/v1/provider_pb.js +15 -0
- package/dist/src/proto/temporal/api/compute/v1/provider_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/compute/v1/scaler_pb.d.ts +39 -0
- package/dist/src/proto/temporal/api/compute/v1/scaler_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/compute/v1/scaler_pb.js +15 -0
- package/dist/src/proto/temporal/api/compute/v1/scaler_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/deployment/v1/message_pb.d.ts +76 -39
- package/dist/src/proto/temporal/api/deployment/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/deployment/v1/message_pb.js +4 -2
- package/dist/src/proto/temporal/api/deployment/v1/message_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/enums/v1/activity_pb.js +1 -1
- package/dist/src/proto/temporal/api/enums/v1/batch_operation_pb.js +1 -1
- package/dist/src/proto/temporal/api/enums/v1/command_type_pb.js +1 -1
- package/dist/src/proto/temporal/api/enums/v1/common_pb.js +1 -1
- package/dist/src/proto/temporal/api/enums/v1/deployment_pb.d.ts +8 -4
- package/dist/src/proto/temporal/api/enums/v1/deployment_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/enums/v1/deployment_pb.js +9 -5
- package/dist/src/proto/temporal/api/enums/v1/deployment_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/enums/v1/event_type_pb.d.ts +7 -1
- package/dist/src/proto/temporal/api/enums/v1/event_type_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/enums/v1/event_type_pb.js +8 -2
- package/dist/src/proto/temporal/api/enums/v1/event_type_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/enums/v1/failed_cause_pb.d.ts +7 -1
- package/dist/src/proto/temporal/api/enums/v1/failed_cause_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/enums/v1/failed_cause_pb.js +8 -2
- package/dist/src/proto/temporal/api/enums/v1/failed_cause_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/enums/v1/namespace_pb.js +1 -1
- package/dist/src/proto/temporal/api/enums/v1/nexus_pb.d.ts +153 -0
- package/dist/src/proto/temporal/api/enums/v1/nexus_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/enums/v1/nexus_pb.js +159 -2
- package/dist/src/proto/temporal/api/enums/v1/nexus_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/enums/v1/query_pb.js +1 -1
- package/dist/src/proto/temporal/api/enums/v1/reset_pb.js +1 -1
- package/dist/src/proto/temporal/api/enums/v1/schedule_pb.js +1 -1
- package/dist/src/proto/temporal/api/enums/v1/task_queue_pb.d.ts +10 -1
- package/dist/src/proto/temporal/api/enums/v1/task_queue_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/enums/v1/task_queue_pb.js +11 -2
- package/dist/src/proto/temporal/api/enums/v1/task_queue_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/enums/v1/update_pb.js +1 -1
- package/dist/src/proto/temporal/api/enums/v1/workflow_pb.d.ts +24 -14
- package/dist/src/proto/temporal/api/enums/v1/workflow_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/enums/v1/workflow_pb.js +24 -14
- package/dist/src/proto/temporal/api/enums/v1/workflow_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/errordetails/v1/message_pb.d.ts +24 -2
- package/dist/src/proto/temporal/api/errordetails/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/errordetails/v1/message_pb.js +7 -2
- package/dist/src/proto/temporal/api/errordetails/v1/message_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/export/v1/message_pb.d.ts +1 -1
- package/dist/src/proto/temporal/api/export/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/export/v1/message_pb.js +1 -1
- package/dist/src/proto/temporal/api/failure/v1/message_pb.d.ts +26 -11
- package/dist/src/proto/temporal/api/failure/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/failure/v1/message_pb.js +2 -2
- package/dist/src/proto/temporal/api/failure/v1/message_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/filter/v1/message_pb.d.ts +2 -2
- package/dist/src/proto/temporal/api/filter/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/filter/v1/message_pb.js +1 -1
- package/dist/src/proto/temporal/api/history/v1/message_pb.d.ts +278 -141
- package/dist/src/proto/temporal/api/history/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/history/v1/message_pb.js +72 -62
- package/dist/src/proto/temporal/api/history/v1/message_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/namespace/v1/message_pb.d.ts +39 -5
- package/dist/src/proto/temporal/api/namespace/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/namespace/v1/message_pb.js +2 -2
- package/dist/src/proto/temporal/api/namespace/v1/message_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/nexus/v1/message_pb.d.ts +386 -14
- package/dist/src/proto/temporal/api/nexus/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/nexus/v1/message_pb.js +26 -3
- package/dist/src/proto/temporal/api/nexus/v1/message_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/nexusservices/workerservice/v1/request_response_pb.d.ts +41 -0
- package/dist/src/proto/temporal/api/nexusservices/workerservice/v1/request_response_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/nexusservices/workerservice/v1/request_response_pb.js +20 -0
- package/dist/src/proto/temporal/api/nexusservices/workerservice/v1/request_response_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/operatorservice/v1/request_response_pb.d.ts +6 -6
- package/dist/src/proto/temporal/api/operatorservice/v1/request_response_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/operatorservice/v1/request_response_pb.js +1 -1
- package/dist/src/proto/temporal/api/operatorservice/v1/service_pb.js +1 -1
- package/dist/src/proto/temporal/api/protocol/v1/message_pb.d.ts +1 -1
- package/dist/src/proto/temporal/api/protocol/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/protocol/v1/message_pb.js +1 -1
- package/dist/src/proto/temporal/api/protometa/v1/annotations_pb.d.ts +46 -0
- package/dist/src/proto/temporal/api/protometa/v1/annotations_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/protometa/v1/annotations_pb.js +19 -0
- package/dist/src/proto/temporal/api/protometa/v1/annotations_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/query/v1/message_pb.d.ts +4 -4
- package/dist/src/proto/temporal/api/query/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/query/v1/message_pb.js +1 -1
- package/dist/src/proto/temporal/api/replication/v1/message_pb.d.ts +1 -1
- package/dist/src/proto/temporal/api/replication/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/replication/v1/message_pb.js +1 -1
- package/dist/src/proto/temporal/api/rules/v1/message_pb.d.ts +3 -3
- package/dist/src/proto/temporal/api/rules/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/rules/v1/message_pb.js +1 -1
- package/dist/src/proto/temporal/api/schedule/v1/message_pb.d.ts +24 -24
- package/dist/src/proto/temporal/api/schedule/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/sdk/v1/enhanced_stack_trace_pb.d.ts +1 -1
- package/dist/src/proto/temporal/api/sdk/v1/enhanced_stack_trace_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/sdk/v1/enhanced_stack_trace_pb.js +1 -1
- package/dist/src/proto/temporal/api/sdk/v1/external_storage_pb.d.ts +35 -0
- package/dist/src/proto/temporal/api/sdk/v1/external_storage_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/sdk/v1/external_storage_pb.js +14 -0
- package/dist/src/proto/temporal/api/sdk/v1/external_storage_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/sdk/v1/task_complete_metadata_pb.js +1 -1
- package/dist/src/proto/temporal/api/sdk/v1/user_metadata_pb.d.ts +2 -2
- package/dist/src/proto/temporal/api/sdk/v1/user_metadata_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/sdk/v1/user_metadata_pb.js +1 -1
- package/dist/src/proto/temporal/api/sdk/v1/worker_config_pb.js +1 -1
- package/dist/src/proto/temporal/api/sdk/v1/workflow_metadata_pb.d.ts +1 -1
- package/dist/src/proto/temporal/api/sdk/v1/workflow_metadata_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/sdk/v1/workflow_metadata_pb.js +1 -1
- package/dist/src/proto/temporal/api/taskqueue/v1/message_pb.d.ts +39 -23
- package/dist/src/proto/temporal/api/taskqueue/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/taskqueue/v1/message_pb.js +12 -7
- package/dist/src/proto/temporal/api/taskqueue/v1/message_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/update/v1/message_pb.d.ts +10 -10
- package/dist/src/proto/temporal/api/update/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/update/v1/message_pb.js +1 -1
- package/dist/src/proto/temporal/api/version/v1/message_pb.d.ts +4 -4
- package/dist/src/proto/temporal/api/version/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/version/v1/message_pb.js +1 -1
- package/dist/src/proto/temporal/api/worker/v1/message_pb.d.ts +208 -15
- package/dist/src/proto/temporal/api/worker/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/worker/v1/message_pb.js +33 -3
- package/dist/src/proto/temporal/api/worker/v1/message_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/workflow/v1/message_pb.d.ts +187 -96
- package/dist/src/proto/temporal/api/workflow/v1/message_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/workflow/v1/message_pb.js +16 -11
- package/dist/src/proto/temporal/api/workflow/v1/message_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/workflowservice/v1/request_response_pb.d.ts +1884 -283
- package/dist/src/proto/temporal/api/workflowservice/v1/request_response_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/workflowservice/v1/request_response_pb.js +309 -127
- package/dist/src/proto/temporal/api/workflowservice/v1/request_response_pb.js.map +1 -1
- package/dist/src/proto/temporal/api/workflowservice/v1/service_pb.d.ts +232 -2
- package/dist/src/proto/temporal/api/workflowservice/v1/service_pb.d.ts.map +1 -1
- package/dist/src/proto/temporal/api/workflowservice/v1/service_pb.js +3 -2
- package/dist/src/proto/temporal/api/workflowservice/v1/service_pb.js.map +1 -1
- package/dist/src/runtime/effect-layers.d.ts +85 -0
- package/dist/src/runtime/effect-layers.d.ts.map +1 -1
- package/dist/src/worker/concurrency.d.ts.map +1 -1
- package/dist/src/worker/concurrency.js +12 -0
- package/dist/src/worker/concurrency.js.map +1 -1
- package/docs/adoption-readiness.md +93 -0
- package/docs/agent-adoption-guide.md +21 -26
- package/docs/default-choice-hardening-plan.md +47 -70
- package/docs/feature-matrix.md +20 -20
- package/docs/production-design.md +3 -3
- package/docs/production-readiness-implementation-plan.md +47 -56
- package/docs/semantic-readiness.md +45 -38
- package/docs/support-policy.md +3 -3
- package/package.json +10 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Temporal Bun SDK Semantic Readiness
|
|
2
2
|
|
|
3
|
-
_Last updated: May
|
|
3
|
+
_Last updated: May 14, 2026_
|
|
4
4
|
|
|
5
5
|
## Decision
|
|
6
6
|
|
|
@@ -32,11 +32,14 @@ The real concern was Temporal worker semantics:
|
|
|
32
32
|
|
|
33
33
|
## Machine-Readable Evidence
|
|
34
34
|
|
|
35
|
-
Every release publishes
|
|
35
|
+
Every default-choice release publishes three files in `dist/`:
|
|
36
36
|
|
|
37
37
|
- `production-readiness.json`: full package, runtime, artifact, gate, and
|
|
38
38
|
semantic concern evidence.
|
|
39
39
|
- `agent-readiness.json`: compact recommendation status for agents.
|
|
40
|
+
- `release-provenance.json`: package version, commit SHA, GitHub Actions run,
|
|
41
|
+
npm publish metadata, and SHA-256 hashes for the replay, load, async-fuzz,
|
|
42
|
+
and readiness artifacts used by the recommendation.
|
|
40
43
|
|
|
41
44
|
Agents should inspect `agent-readiness.json` first. A release is a default
|
|
42
45
|
choice only when:
|
|
@@ -48,7 +51,9 @@ choice only when:
|
|
|
48
51
|
|
|
49
52
|
`verify:production` must generate honest evidence even when the release is not
|
|
50
53
|
default-ready. `verify:default-choice` is the stricter release gate that fails
|
|
51
|
-
unless `agent-readiness.json` clears the default-choice threshold
|
|
54
|
+
unless `agent-readiness.json` clears the default-choice threshold and the
|
|
55
|
+
release provenance gate ties that evidence to the exact CI run and package
|
|
56
|
+
version.
|
|
52
57
|
|
|
53
58
|
## Neutral Review Blockers
|
|
54
59
|
|
|
@@ -58,7 +63,7 @@ insufficient for default production choice. The durable blockers were:
|
|
|
58
63
|
- readiness JSON alone is self-attested unless it exposes inspectable raw
|
|
59
64
|
reports and coverage scope;
|
|
60
65
|
- three replay fixtures are not enough for Temporal determinism confidence;
|
|
61
|
-
-
|
|
66
|
+
- 64-workflow load evidence is smoke-level only;
|
|
62
67
|
- command/event compatibility needs a complete matrix, not a small golden test;
|
|
63
68
|
- Bun/JSC async fuzz needs generator scope, operation coverage, and a stronger
|
|
64
69
|
oracle;
|
|
@@ -68,34 +73,31 @@ insufficient for default production choice. The durable blockers were:
|
|
|
68
73
|
- default support remains scoped because this is not the official
|
|
69
74
|
Temporal-maintained SDK.
|
|
70
75
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
required replay feature
|
|
75
|
-
actual workflow operations per seed, full operation coverage,
|
|
76
|
-
replay/mutation oracle
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
drains the runtime.
|
|
97
|
-
Neither the smoke run nor workflow existence is a substitute for the six-hour
|
|
98
|
-
release soak report.
|
|
76
|
+
Releases must leave `recommended: false` until these blockers are materially
|
|
77
|
+
closed by inspectable release evidence. Earlier 0.10.0 readiness artifacts
|
|
78
|
+
closed the first machine gates for the scoped Bun-first use case: 35 checked-in
|
|
79
|
+
replay fixtures, required replay feature-tag coverage, 10,000 async-fuzz seeds,
|
|
80
|
+
64 actual workflow operations per seed, full operation coverage, a
|
|
81
|
+
replay/mutation oracle, and release load evidence. The current default-choice
|
|
82
|
+
bar additionally requires versioned release provenance:
|
|
83
|
+
the published package must include `dist/release-provenance.json` with the
|
|
84
|
+
package version, commit SHA, GitHub Actions run, npm publish metadata, and
|
|
85
|
+
hashes for the exact replay/load/fuzz artifacts. Without that provenance,
|
|
86
|
+
the release remains production-adjacent rather than a default production
|
|
87
|
+
dependency.
|
|
88
|
+
|
|
89
|
+
Runtime guards and strict workflow lint cover direct `process.env`, `Bun.env`,
|
|
90
|
+
`Bun.sleep`, `Bun.file`, `Bun.write`, `Bun.connect`, and `Bun.serve` escape
|
|
91
|
+
hatches in addition to the earlier time/random/network guards. The publish
|
|
92
|
+
workflow runs `verify:default-choice` before npm publication, and the evidence
|
|
93
|
+
collector scans Jangar/Bumba source, deployment, and observability references
|
|
94
|
+
for production usage.
|
|
95
|
+
|
|
96
|
+
The non-official support contract remains a documented tradeoff, not a machine
|
|
97
|
+
gate blocker. Broader Bun, Temporal Server, OS/arch, namespace, and workload
|
|
98
|
+
profiles require their own replay/load evidence before agents should
|
|
99
|
+
extend the default-choice claim beyond the matrix recorded in the release
|
|
100
|
+
artifact.
|
|
99
101
|
|
|
100
102
|
## Semantic Concern Matrix
|
|
101
103
|
|
|
@@ -106,8 +108,10 @@ release soak report.
|
|
|
106
108
|
| Bun async semantics | Runtime guards including environment/Bun I/O escape hatches, query guard matrix, workflow lint, 10k-seed async fuzz artifact with operation coverage and at least 64 operations per seed. |
|
|
107
109
|
| Temporal command protocol | Command materialization source, command/event matrix, protocol golden tests, replay corpus verifier, and full compatibility evidence. |
|
|
108
110
|
| Activity lifecycle | Activity lifecycle implementation, activity context tests, heartbeat/cancellation integration coverage, load artifact. |
|
|
109
|
-
| Sticky cache and shutdown | Worker runtime, sticky-cache tests, worker runtime integration coverage,
|
|
111
|
+
| Sticky cache and shutdown | Worker runtime, sticky-cache tests, worker runtime integration coverage, and load artifact. |
|
|
110
112
|
| Production usage | `services/jangar`, `services/bumba`, and Grafana Temporal worker observability references. |
|
|
113
|
+
| Agent adoption surface | npm discovery metadata, CLI bins, packaged skill, public docs, example package, and machine-readable readiness artifacts. |
|
|
114
|
+
| Versioned provenance | `dist/release-provenance.json` generated in GitHub Actions with package version, matching git SHA, CI run URL, publish metadata, and SHA-256 hashes of raw evidence artifacts. |
|
|
111
115
|
| Support contract | Support policy, agent adoption guide, and SDK comparison docs. |
|
|
112
116
|
|
|
113
117
|
## Current Release Gate
|
|
@@ -121,13 +125,16 @@ bun run --cwd packages/temporal-bun-sdk lint:oxlint
|
|
|
121
125
|
cd packages/temporal-bun-sdk && TEMPORAL_TEST_SERVER=1 bun test --timeout=30000 --max-concurrency=1
|
|
122
126
|
bun run --filter @proompteng/temporal-bun-sdk verify:replay-corpus
|
|
123
127
|
TEMPORAL_TEST_SERVER=1 bun run --filter @proompteng/temporal-bun-sdk test:load
|
|
124
|
-
TEMPORAL_TEST_SERVER=1 bun run --filter @proompteng/temporal-bun-sdk test:soak -- --duration 21600000 --workflows 1000 --workflow-concurrency 50 --activity-concurrency 80 --failure-modes "${TEMPORAL_SOAK_FAILURE_MODES}"
|
|
125
128
|
bun run --filter @proompteng/temporal-bun-sdk verify:production
|
|
126
129
|
bun run --filter @proompteng/temporal-bun-sdk verify:default-choice
|
|
127
130
|
```
|
|
128
131
|
|
|
129
132
|
`verify:production` validates replay-corpus status, load thresholds, async fuzz
|
|
130
|
-
seed count,
|
|
131
|
-
It writes `recommended: false` with blockers when the
|
|
132
|
-
`verify:default-choice` fails the release if any
|
|
133
|
-
evidenced.
|
|
133
|
+
seed count, CI workflow coverage, release provenance, and the
|
|
134
|
+
semantic concern matrix. It writes `recommended: false` with blockers when the
|
|
135
|
+
default bar is not met. `verify:default-choice` fails the release if any
|
|
136
|
+
required concern is not evidenced. `verify:packed-readiness` then runs
|
|
137
|
+
`npm pack --dry-run --json --ignore-scripts` and fails the publish path unless
|
|
138
|
+
the packed npm artifact contains `dist/production-readiness.json`,
|
|
139
|
+
`dist/agent-readiness.json`, and `dist/release-provenance.json` with sizes that
|
|
140
|
+
match the generated files.
|
package/docs/support-policy.md
CHANGED
|
@@ -39,11 +39,10 @@ Every release should publish or upload:
|
|
|
39
39
|
- replay corpus report;
|
|
40
40
|
- worker load report;
|
|
41
41
|
- async determinism fuzz report;
|
|
42
|
-
- worker soak report;
|
|
43
42
|
- npm pack or publish provenance output.
|
|
44
43
|
|
|
45
44
|
`agent-readiness.json` must not set `recommended: true` until the replay corpus,
|
|
46
|
-
async determinism fuzz, load,
|
|
45
|
+
async determinism fuzz, load, CI coverage, package-boundary, and semantic
|
|
47
46
|
concern evidence meet the default-choice thresholds in
|
|
48
47
|
`docs/semantic-readiness.md`.
|
|
49
48
|
|
|
@@ -61,7 +60,8 @@ must not select it by default until `verify:default-choice` passes.
|
|
|
61
60
|
- Default-choice status is scoped to Bun-first deployments that accept the
|
|
62
61
|
published gates and support model. It is not a blanket replacement for every
|
|
63
62
|
official SDK use case, and teams with unusual throughput, history size, or
|
|
64
|
-
platform requirements should run
|
|
63
|
+
platform requirements should run target-environment replay and load checks
|
|
64
|
+
before rollout.
|
|
65
65
|
|
|
66
66
|
## Security And Reliability Issues
|
|
67
67
|
|
package/package.json
CHANGED
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@proompteng/temporal-bun-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Temporal SDK for Bun with workers, client, replay tooling, and Temporal Cloud/TLS support.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bun",
|
|
7
|
+
"bun-sdk",
|
|
7
8
|
"client",
|
|
8
9
|
"durable-execution",
|
|
9
10
|
"effect",
|
|
10
11
|
"grpc",
|
|
11
12
|
"temporal",
|
|
12
13
|
"temporal-cloud",
|
|
14
|
+
"temporal-sdk",
|
|
15
|
+
"temporalio",
|
|
13
16
|
"typescript",
|
|
14
17
|
"worker",
|
|
15
|
-
"workflow"
|
|
18
|
+
"workflow",
|
|
19
|
+
"workflow-engine",
|
|
20
|
+
"workflow-orchestration"
|
|
16
21
|
],
|
|
17
22
|
"homepage": "https://docs.proompteng.ai/docs/temporal-bun-sdk",
|
|
18
23
|
"license": "MIT",
|
|
@@ -80,17 +85,18 @@
|
|
|
80
85
|
"prepare": "tsc --project tsconfig.json --pretty false",
|
|
81
86
|
"test": "bun test",
|
|
82
87
|
"test:load": "bun scripts/run-worker-load.ts",
|
|
83
|
-
"test:soak": "bun scripts/run-worker-soak.ts",
|
|
84
88
|
"evidence:production": "bun scripts/collect-production-evidence.ts",
|
|
85
89
|
"capture:replay-corpus": "bun scripts/capture-replay-corpus.ts",
|
|
86
90
|
"verify:replay-corpus": "bun scripts/verify-replay-corpus.ts",
|
|
87
91
|
"test:coverage": "bun test --coverage",
|
|
88
92
|
"verify:production": "bun run evidence:production && bun test tests/packaging/manifest-packaging.test.ts",
|
|
89
93
|
"verify:default-choice": "TEMPORAL_REQUIRE_DEFAULT_CHOICE=1 bun run evidence:production && bun test tests/packaging/manifest-packaging.test.ts",
|
|
94
|
+
"verify:packed-readiness": "bun scripts/verify-packed-readiness.ts",
|
|
90
95
|
"start:worker": "bun run dist/src/bin/start-worker.js",
|
|
91
96
|
"temporal:start": "bun scripts/start-temporal-cli.ts",
|
|
92
97
|
"temporal:stop": "bun scripts/stop-temporal-cli.ts",
|
|
93
|
-
"
|
|
98
|
+
"prepublishOnly": "bun run verify:default-choice && TEMPORAL_REQUIRE_DEFAULT_CHOICE=1 bun run verify:packed-readiness",
|
|
99
|
+
"prepack": "bun run build && bun run verify:default-choice",
|
|
94
100
|
"lint:oxlint": "oxlint --config ../../.oxlintrc.json .",
|
|
95
101
|
"lint:oxlint:type": "oxlint --config ../../.oxlintrc.json --type-aware --tsconfig ./tsconfig.oxlint.json --ignore-pattern tests ."
|
|
96
102
|
},
|