diff --git a/docs/features/signals.md b/docs/features/signals.md index adb061872c0..f060bad2e3e 100644 --- a/docs/features/signals.md +++ b/docs/features/signals.md @@ -132,9 +132,8 @@ for the PHP, Python and Rust SDK calls. ## Signal another workflow {#signal-another-workflow} -:::note Pending release -Durable signal-external for embedded workflows is in -[Workflow #1247](https://github.com/durable-workflow/workflow/pull/1247) and has not been released. Its API is +:::note Experimental +Embedded durable signal-external first shipped in Workflow 2.35.0. Its API is experimental. ::: diff --git a/docs/polyglot/workflow-signals.md b/docs/polyglot/workflow-signals.md index 184305ea818..5187dc0b58d 100644 --- a/docs/polyglot/workflow-signals.md +++ b/docs/polyglot/workflow-signals.md @@ -22,7 +22,7 @@ Native Server 3.15.0 adds two signal operations: | PHP SDK | 3.22.0 or later: `Client::signalWithStart()` | 3.22.0 or later: `WorkflowContext::signalExternalWorkflow()` | | Python SDK | 2.20.0 or later: `Client.signal_with_start()` | 2.20.0 or later: `ctx.signal_external_workflow()` | | Rust SDK | 4.21.0 or later: `Client::signal_with_start()` | 4.21.0 or later: `ctx.signal_external_workflow()` | -| Embedded PHP (Laravel) | `WorkflowStub::signalWithStart()`, see the [signals guide](../features/signals.md#signal-with-start) | Pending release, see the [signals guide](../features/signals.md#signal-another-workflow) | +| Embedded PHP (Laravel) | `WorkflowStub::signalWithStart()`, see the [signals guide](../features/signals.md#signal-with-start) | Workflow 2.35.0 or later (experimental): `signalExternalWorkflow()`, see the [signals guide](../features/signals.md#signal-another-workflow) | Published PHP Server 2.x supports neither operation. The SDKs check the connected Server before sending. Against an older Server a client call raises diff --git a/i18n/de/docusaurus-plugin-content-docs/current/features/signals.md b/i18n/de/docusaurus-plugin-content-docs/current/features/signals.md index 41be0fdba77..37fb897c97c 100644 --- a/i18n/de/docusaurus-plugin-content-docs/current/features/signals.md +++ b/i18n/de/docusaurus-plugin-content-docs/current/features/signals.md @@ -143,10 +143,9 @@ Python- und Rust-SDKs finden Sie unter [Signal-with-start](/docs/polyglot/workfl ## Einen anderen Workflow signalisieren {#signal-another-workflow} -:::note Noch nicht veröffentlicht -Dauerhaftes Signal-external für eingebettete Workflows befindet sich in -[Workflow #1247](https://github.com/durable-workflow/workflow/pull/1247) und wurde noch nicht veröffentlicht. Seine API -ist experimentell. +:::note Experimentell +Dauerhaftes Signal-external für eingebettete Workflows ist seit Workflow 2.35.0 +verfügbar. Seine API ist experimentell. ::: Workflow-Code kann mit `signalExternalWorkflow()` einen anderen Workflow in diff --git a/i18n/de/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md b/i18n/de/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md index 1eabbb38d3b..1f332331753 100644 --- a/i18n/de/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md +++ b/i18n/de/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md @@ -23,7 +23,7 @@ Der native Server 3.15.0 ergänzt zwei Signaloperationen: | PHP SDK | 3.22.0 oder neuer: `Client::signalWithStart()` | 3.22.0 oder neuer: `WorkflowContext::signalExternalWorkflow()` | | Python SDK | 2.20.0 oder neuer: `Client.signal_with_start()` | 2.20.0 oder neuer: `ctx.signal_external_workflow()` | | Rust SDK | 4.21.0 oder neuer: `Client::signal_with_start()` | 4.21.0 oder neuer: `ctx.signal_external_workflow()` | -| Eingebettetes PHP (Laravel) | `WorkflowStub::signalWithStart()`, siehe [Leitfaden zu Signalen](../features/signals.md#signal-with-start) | Noch nicht veröffentlicht, siehe [Leitfaden zu Signalen](../features/signals.md#signal-another-workflow) | +| Eingebettetes PHP (Laravel) | `WorkflowStub::signalWithStart()`, siehe [Leitfaden zu Signalen](../features/signals.md#signal-with-start) | Workflow 2.35.0 oder neuer (experimentell): `signalExternalWorkflow()`, siehe [Leitfaden zu Signalen](../features/signals.md#signal-another-workflow) | Der veröffentlichte PHP-Server 2.x unterstützt keine der beiden Operationen. Die SDKs prüfen den verbundenen Server vor dem Senden. Gegenüber einem älteren diff --git a/i18n/de/source-hashes.json b/i18n/de/source-hashes.json index 520942fcefe..76f4700209e 100644 --- a/i18n/de/source-hashes.json +++ b/i18n/de/source-hashes.json @@ -51,7 +51,7 @@ "features/service-operations.md": "912131c0a8ef393040a933fb4a66e68abcb9d475a3ebd47c85287d4032f45a0e", "features/side-effects.md": "abdccab8d6fc1a12b3eff8a4ccc58730ac36f523559b4ad89c5c2a8d201a3b86", "features/signal+timer.md": "a05fc480544fa71f6c9b215ad3417f71b8475dd81f9de8ee18d7a3b69ac33a23", - "features/signals.md": "bcf10742b5879b2c89c68706d3410154a51c2b41e1c4e4ec3a9c10c56cf1cb27", + "features/signals.md": "d79518932e35625adfecd0d0e76b936ba802d13aef1c887ff4a33edcab97f75b", "features/sticky-execution.md": "d54fe85283d633d5cba10a03c716a707bf3b6a4e6d47ec9859e17f5f676a89b8", "features/timeouts.md": "c0d2d4108b195d10a759a4cc5368e0d13a48bde4a46005601ec15d58198f409a", "features/timers.md": "8ef45889325eb3358dd7c894511dfbd647e2813fd2eb368069f17d56c90a5d27", @@ -101,7 +101,7 @@ "polyglot/worker-build-id-rollout.md": "62ddf1ca054cf4b83de2fa020f313a153ece00519f804c4f8f30aca53c979af0", "polyglot/worker-compatibility-routing.md": "ef58f23c112f0e6b968927ba861177903adca21ed33b6b9371681e23a18b2994", "polyglot/worker-protocol.md": "91b18b39d626c1288bfa3f6b8212fa8246aa14393cb489a39fe90379bc4cd4b2", - "polyglot/workflow-signals.md": "c8b4280f844570ad7eed0884130724ac4ad62a2a58041de76cd02621ae5ee03f", + "polyglot/workflow-signals.md": "79ad4de94bc73346c0f35bb3e5d4d50beae325bf7572190ba6a9367265a52d38", "polyglot/workflow-streams.md": "5675a8ea1b9d0b1f7223fecb90b3b048d3006670bf505950bc783709287a6432", "quickstart.md": "744ad91ea47202d056e14f6582dd751c471d329433565bcc4cb4182ae4cc76fb", "rolling-upgrades.md": "6acff017f2148d4f7553ebd4811aff8bde59cf6da4251845f4240ef7d1b1a970", diff --git a/i18n/es/docusaurus-plugin-content-docs/current/features/signals.md b/i18n/es/docusaurus-plugin-content-docs/current/features/signals.md index 5587caa2939..72e69a5f4bc 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/features/signals.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/features/signals.md @@ -114,10 +114,9 @@ para las llamadas de los SDK de PHP, Python y Rust. ## Enviar una señal a otro workflow {#signal-another-workflow} -:::note Pendiente de publicación -El envío duradero de señales externas para workflows embebidos está en -[Workflow #1247](https://github.com/durable-workflow/workflow/pull/1247) y aún no se ha publicado. Su API es -experimental. +:::note Experimental +El envío duradero de señales externas para workflows embebidos está disponible +desde Workflow 2.35.0. Su API es experimental. ::: El código de un workflow puede enviar una señal a otro workflow de su espacio diff --git a/i18n/es/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md b/i18n/es/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md index 0181758ccf7..984ca3c1714 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md @@ -23,7 +23,7 @@ El Server nativo 3.15.0 añade dos operaciones de señal: | PHP SDK | 3.22.0 o posterior: `Client::signalWithStart()` | 3.22.0 o posterior: `WorkflowContext::signalExternalWorkflow()` | | Python SDK | 2.20.0 o posterior: `Client.signal_with_start()` | 2.20.0 o posterior: `ctx.signal_external_workflow()` | | Rust SDK | 4.21.0 o posterior: `Client::signal_with_start()` | 4.21.0 o posterior: `ctx.signal_external_workflow()` | -| PHP integrado (Laravel) | `WorkflowStub::signalWithStart()`, consulta la [guía de señales](../features/signals.md#signal-with-start) | Pendiente de publicación, consulta la [guía de señales](../features/signals.md#signal-another-workflow) | +| PHP integrado (Laravel) | `WorkflowStub::signalWithStart()`, consulta la [guía de señales](../features/signals.md#signal-with-start) | Workflow 2.35.0 o posterior (experimental): `signalExternalWorkflow()`, consulta la [guía de señales](../features/signals.md#signal-another-workflow) | El PHP Server 2.x publicado no admite ninguna de las dos operaciones. Los SDK comprueban el Server conectado antes de enviar. Frente a un Server más antiguo, diff --git a/i18n/es/source-hashes.json b/i18n/es/source-hashes.json index 520942fcefe..76f4700209e 100644 --- a/i18n/es/source-hashes.json +++ b/i18n/es/source-hashes.json @@ -51,7 +51,7 @@ "features/service-operations.md": "912131c0a8ef393040a933fb4a66e68abcb9d475a3ebd47c85287d4032f45a0e", "features/side-effects.md": "abdccab8d6fc1a12b3eff8a4ccc58730ac36f523559b4ad89c5c2a8d201a3b86", "features/signal+timer.md": "a05fc480544fa71f6c9b215ad3417f71b8475dd81f9de8ee18d7a3b69ac33a23", - "features/signals.md": "bcf10742b5879b2c89c68706d3410154a51c2b41e1c4e4ec3a9c10c56cf1cb27", + "features/signals.md": "d79518932e35625adfecd0d0e76b936ba802d13aef1c887ff4a33edcab97f75b", "features/sticky-execution.md": "d54fe85283d633d5cba10a03c716a707bf3b6a4e6d47ec9859e17f5f676a89b8", "features/timeouts.md": "c0d2d4108b195d10a759a4cc5368e0d13a48bde4a46005601ec15d58198f409a", "features/timers.md": "8ef45889325eb3358dd7c894511dfbd647e2813fd2eb368069f17d56c90a5d27", @@ -101,7 +101,7 @@ "polyglot/worker-build-id-rollout.md": "62ddf1ca054cf4b83de2fa020f313a153ece00519f804c4f8f30aca53c979af0", "polyglot/worker-compatibility-routing.md": "ef58f23c112f0e6b968927ba861177903adca21ed33b6b9371681e23a18b2994", "polyglot/worker-protocol.md": "91b18b39d626c1288bfa3f6b8212fa8246aa14393cb489a39fe90379bc4cd4b2", - "polyglot/workflow-signals.md": "c8b4280f844570ad7eed0884130724ac4ad62a2a58041de76cd02621ae5ee03f", + "polyglot/workflow-signals.md": "79ad4de94bc73346c0f35bb3e5d4d50beae325bf7572190ba6a9367265a52d38", "polyglot/workflow-streams.md": "5675a8ea1b9d0b1f7223fecb90b3b048d3006670bf505950bc783709287a6432", "quickstart.md": "744ad91ea47202d056e14f6582dd751c471d329433565bcc4cb4182ae4cc76fb", "rolling-upgrades.md": "6acff017f2148d4f7553ebd4811aff8bde59cf6da4251845f4240ef7d1b1a970", diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/features/signals.md b/i18n/fr/docusaurus-plugin-content-docs/current/features/signals.md index 2edb2bea0b1..a31e2589e59 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/features/signals.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/features/signals.md @@ -134,10 +134,9 @@ pour les appels des SDK PHP, Python et Rust. ## Signaler un autre workflow {#signal-another-workflow} -:::note En attente de publication -Le signal externe durable pour les workflows intégrés se trouve dans -[Workflow #1247](https://github.com/durable-workflow/workflow/pull/1247) et n’a pas encore été publié. Son API est -expérimentale. +:::note Expérimental +Le signal externe durable pour les workflows intégrés est disponible depuis +Workflow 2.35.0. Son API est expérimentale. ::: Le code d’un workflow peut envoyer un signal à un autre workflow de son espace diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md b/i18n/fr/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md index 9dd5cfaa6df..485e140c33b 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md @@ -23,7 +23,7 @@ Le Server natif 3.15.0 ajoute deux opérations de signal : | PHP SDK | 3.22.0 ou ultérieur : `Client::signalWithStart()` | 3.22.0 ou ultérieur : `WorkflowContext::signalExternalWorkflow()` | | Python SDK | 2.20.0 ou ultérieur : `Client.signal_with_start()` | 2.20.0 ou ultérieur : `ctx.signal_external_workflow()` | | Rust SDK | 4.21.0 ou ultérieur : `Client::signal_with_start()` | 4.21.0 ou ultérieur : `ctx.signal_external_workflow()` | -| PHP embarqué (Laravel) | `WorkflowStub::signalWithStart()`, voir le [guide des signaux](../features/signals.md#signal-with-start) | En attente de publication, voir le [guide des signaux](../features/signals.md#signal-another-workflow) | +| PHP embarqué (Laravel) | `WorkflowStub::signalWithStart()`, voir le [guide des signaux](../features/signals.md#signal-with-start) | Workflow 2.35.0 ou ultérieur (expérimental) : `signalExternalWorkflow()`, voir le [guide des signaux](../features/signals.md#signal-another-workflow) | Le PHP Server 2.x publié ne prend en charge aucune des deux opérations. Les SDK vérifient le Server connecté avant l’envoi. Face à un Server plus ancien, un diff --git a/i18n/fr/source-hashes.json b/i18n/fr/source-hashes.json index 520942fcefe..76f4700209e 100644 --- a/i18n/fr/source-hashes.json +++ b/i18n/fr/source-hashes.json @@ -51,7 +51,7 @@ "features/service-operations.md": "912131c0a8ef393040a933fb4a66e68abcb9d475a3ebd47c85287d4032f45a0e", "features/side-effects.md": "abdccab8d6fc1a12b3eff8a4ccc58730ac36f523559b4ad89c5c2a8d201a3b86", "features/signal+timer.md": "a05fc480544fa71f6c9b215ad3417f71b8475dd81f9de8ee18d7a3b69ac33a23", - "features/signals.md": "bcf10742b5879b2c89c68706d3410154a51c2b41e1c4e4ec3a9c10c56cf1cb27", + "features/signals.md": "d79518932e35625adfecd0d0e76b936ba802d13aef1c887ff4a33edcab97f75b", "features/sticky-execution.md": "d54fe85283d633d5cba10a03c716a707bf3b6a4e6d47ec9859e17f5f676a89b8", "features/timeouts.md": "c0d2d4108b195d10a759a4cc5368e0d13a48bde4a46005601ec15d58198f409a", "features/timers.md": "8ef45889325eb3358dd7c894511dfbd647e2813fd2eb368069f17d56c90a5d27", @@ -101,7 +101,7 @@ "polyglot/worker-build-id-rollout.md": "62ddf1ca054cf4b83de2fa020f313a153ece00519f804c4f8f30aca53c979af0", "polyglot/worker-compatibility-routing.md": "ef58f23c112f0e6b968927ba861177903adca21ed33b6b9371681e23a18b2994", "polyglot/worker-protocol.md": "91b18b39d626c1288bfa3f6b8212fa8246aa14393cb489a39fe90379bc4cd4b2", - "polyglot/workflow-signals.md": "c8b4280f844570ad7eed0884130724ac4ad62a2a58041de76cd02621ae5ee03f", + "polyglot/workflow-signals.md": "79ad4de94bc73346c0f35bb3e5d4d50beae325bf7572190ba6a9367265a52d38", "polyglot/workflow-streams.md": "5675a8ea1b9d0b1f7223fecb90b3b048d3006670bf505950bc783709287a6432", "quickstart.md": "744ad91ea47202d056e14f6582dd751c471d329433565bcc4cb4182ae4cc76fb", "rolling-upgrades.md": "6acff017f2148d4f7553ebd4811aff8bde59cf6da4251845f4240ef7d1b1a970", diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/features/signals.md b/i18n/ja/docusaurus-plugin-content-docs/current/features/signals.md index b5df0a632d7..357af967c86 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/features/signals.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/features/signals.md @@ -106,8 +106,8 @@ $result->startOutcome(); // "started_new" or "returned_existing_active" ## 別のワークフローへシグナルを送る {#signal-another-workflow} -:::note 未リリース -組み込みワークフロー向けの永続的な signal-external は [Workflow #1247](https://github.com/durable-workflow/workflow/pull/1247) で対応中で、まだリリースされていません。API は実験的です。 +:::note 実験的 +組み込みワークフロー向けの永続的な signal-external は Workflow 2.35.0 で初めてリリースされました。API は実験的です。 ::: ワークフローコードは `signalExternalWorkflow()` で、同じ名前空間内の別のワークフローへシグナルを送れます。このワークフローはリクエストを一度だけ記録して待機します。その記録がコミットされた後、ランタイムが対象でシグナルを受理し、結果をこのワークフローの履歴に記録します。データベースの競合は、どちらのワークフローも失敗させずに再試行します。リプレイは再送せずに記録済みの結果を返します。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md b/i18n/ja/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md index 149cbfe2682..821f64287c4 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md @@ -18,7 +18,7 @@ description: 1つの操作でワークフローを開始または再利用して | PHP SDK | 3.22.0 以降: `Client::signalWithStart()` | 3.22.0 以降: `WorkflowContext::signalExternalWorkflow()` | | Python SDK | 2.20.0 以降: `Client.signal_with_start()` | 2.20.0 以降: `ctx.signal_external_workflow()` | | Rust SDK | 4.21.0 以降: `Client::signal_with_start()` | 4.21.0 以降: `ctx.signal_external_workflow()` | -| 組み込み PHP (Laravel) | `WorkflowStub::signalWithStart()`。[シグナルガイド](../features/signals.md#signal-with-start)を参照 | 未リリース。[シグナルガイド](../features/signals.md#signal-another-workflow)を参照 | +| 組み込み PHP (Laravel) | `WorkflowStub::signalWithStart()`。[シグナルガイド](../features/signals.md#signal-with-start)を参照 | Workflow 2.35.0 以降(実験的): `signalExternalWorkflow()`。[シグナルガイド](../features/signals.md#signal-another-workflow)を参照 | 公開済みの PHP Server 2.x はどちらの操作にも対応していません。SDK は送信前に接続先の Server を確認します。古い Server に対しては、クライアント呼び出しが `ServerCapabilityUnavailable` (PHP)、`RuntimeCapabilityUnsupported` (Python)、`Error::SignalWithStartUnavailable` (Rust) を発生させ、何も送信しません。Worker は何かを送信する前に、新しいシグナルコマンドを `signal_external_workflow_unavailable` で拒否します。そのためワークフロータスクは完了せず、実行も失敗しません。 diff --git a/i18n/ja/source-hashes.json b/i18n/ja/source-hashes.json index 520942fcefe..76f4700209e 100644 --- a/i18n/ja/source-hashes.json +++ b/i18n/ja/source-hashes.json @@ -51,7 +51,7 @@ "features/service-operations.md": "912131c0a8ef393040a933fb4a66e68abcb9d475a3ebd47c85287d4032f45a0e", "features/side-effects.md": "abdccab8d6fc1a12b3eff8a4ccc58730ac36f523559b4ad89c5c2a8d201a3b86", "features/signal+timer.md": "a05fc480544fa71f6c9b215ad3417f71b8475dd81f9de8ee18d7a3b69ac33a23", - "features/signals.md": "bcf10742b5879b2c89c68706d3410154a51c2b41e1c4e4ec3a9c10c56cf1cb27", + "features/signals.md": "d79518932e35625adfecd0d0e76b936ba802d13aef1c887ff4a33edcab97f75b", "features/sticky-execution.md": "d54fe85283d633d5cba10a03c716a707bf3b6a4e6d47ec9859e17f5f676a89b8", "features/timeouts.md": "c0d2d4108b195d10a759a4cc5368e0d13a48bde4a46005601ec15d58198f409a", "features/timers.md": "8ef45889325eb3358dd7c894511dfbd647e2813fd2eb368069f17d56c90a5d27", @@ -101,7 +101,7 @@ "polyglot/worker-build-id-rollout.md": "62ddf1ca054cf4b83de2fa020f313a153ece00519f804c4f8f30aca53c979af0", "polyglot/worker-compatibility-routing.md": "ef58f23c112f0e6b968927ba861177903adca21ed33b6b9371681e23a18b2994", "polyglot/worker-protocol.md": "91b18b39d626c1288bfa3f6b8212fa8246aa14393cb489a39fe90379bc4cd4b2", - "polyglot/workflow-signals.md": "c8b4280f844570ad7eed0884130724ac4ad62a2a58041de76cd02621ae5ee03f", + "polyglot/workflow-signals.md": "79ad4de94bc73346c0f35bb3e5d4d50beae325bf7572190ba6a9367265a52d38", "polyglot/workflow-streams.md": "5675a8ea1b9d0b1f7223fecb90b3b048d3006670bf505950bc783709287a6432", "quickstart.md": "744ad91ea47202d056e14f6582dd751c471d329433565bcc4cb4182ae4cc76fb", "rolling-upgrades.md": "6acff017f2148d4f7553ebd4811aff8bde59cf6da4251845f4240ef7d1b1a970", diff --git a/i18n/pt-BR/docusaurus-plugin-content-docs/current/features/signals.md b/i18n/pt-BR/docusaurus-plugin-content-docs/current/features/signals.md index a5d749ac374..c89101f415e 100644 --- a/i18n/pt-BR/docusaurus-plugin-content-docs/current/features/signals.md +++ b/i18n/pt-BR/docusaurus-plugin-content-docs/current/features/signals.md @@ -133,10 +133,9 @@ para as chamadas dos SDKs PHP, Python e Rust. ## Sinalizar outro workflow {#signal-another-workflow} -:::note Lançamento pendente -O signal-external durável para workflows embarcados está em -[Workflow #1247](https://github.com/durable-workflow/workflow/pull/1247) e ainda não foi lançado. Sua API é -experimental. +:::note Experimental +O signal-external durável para workflows embarcados está disponível desde o +Workflow 2.35.0. Sua API é experimental. ::: O código do workflow pode enviar um sinal a outro workflow em seu namespace com diff --git a/i18n/pt-BR/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md b/i18n/pt-BR/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md index e3a80f9a232..1079e22ae6d 100644 --- a/i18n/pt-BR/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md +++ b/i18n/pt-BR/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md @@ -23,7 +23,7 @@ O Server nativo 3.15.0 adiciona duas operações de sinal: | PHP SDK | 3.22.0 ou posterior: `Client::signalWithStart()` | 3.22.0 ou posterior: `WorkflowContext::signalExternalWorkflow()` | | Python SDK | 2.20.0 ou posterior: `Client.signal_with_start()` | 2.20.0 ou posterior: `ctx.signal_external_workflow()` | | Rust SDK | 4.21.0 ou posterior: `Client::signal_with_start()` | 4.21.0 ou posterior: `ctx.signal_external_workflow()` | -| PHP embarcado (Laravel) | `WorkflowStub::signalWithStart()`, consulte o [guia de sinais](../features/signals.md#signal-with-start) | Lançamento pendente, consulte o [guia de sinais](../features/signals.md#signal-another-workflow) | +| PHP embarcado (Laravel) | `WorkflowStub::signalWithStart()`, consulte o [guia de sinais](../features/signals.md#signal-with-start) | Workflow 2.35.0 ou posterior (experimental): `signalExternalWorkflow()`, consulte o [guia de sinais](../features/signals.md#signal-another-workflow) | O PHP Server 2.x publicado não oferece nenhuma das duas operações. Os SDKs verificam o Server conectado antes do envio. Com um Server mais antigo, uma diff --git a/i18n/pt-BR/source-hashes.json b/i18n/pt-BR/source-hashes.json index 520942fcefe..76f4700209e 100644 --- a/i18n/pt-BR/source-hashes.json +++ b/i18n/pt-BR/source-hashes.json @@ -51,7 +51,7 @@ "features/service-operations.md": "912131c0a8ef393040a933fb4a66e68abcb9d475a3ebd47c85287d4032f45a0e", "features/side-effects.md": "abdccab8d6fc1a12b3eff8a4ccc58730ac36f523559b4ad89c5c2a8d201a3b86", "features/signal+timer.md": "a05fc480544fa71f6c9b215ad3417f71b8475dd81f9de8ee18d7a3b69ac33a23", - "features/signals.md": "bcf10742b5879b2c89c68706d3410154a51c2b41e1c4e4ec3a9c10c56cf1cb27", + "features/signals.md": "d79518932e35625adfecd0d0e76b936ba802d13aef1c887ff4a33edcab97f75b", "features/sticky-execution.md": "d54fe85283d633d5cba10a03c716a707bf3b6a4e6d47ec9859e17f5f676a89b8", "features/timeouts.md": "c0d2d4108b195d10a759a4cc5368e0d13a48bde4a46005601ec15d58198f409a", "features/timers.md": "8ef45889325eb3358dd7c894511dfbd647e2813fd2eb368069f17d56c90a5d27", @@ -101,7 +101,7 @@ "polyglot/worker-build-id-rollout.md": "62ddf1ca054cf4b83de2fa020f313a153ece00519f804c4f8f30aca53c979af0", "polyglot/worker-compatibility-routing.md": "ef58f23c112f0e6b968927ba861177903adca21ed33b6b9371681e23a18b2994", "polyglot/worker-protocol.md": "91b18b39d626c1288bfa3f6b8212fa8246aa14393cb489a39fe90379bc4cd4b2", - "polyglot/workflow-signals.md": "c8b4280f844570ad7eed0884130724ac4ad62a2a58041de76cd02621ae5ee03f", + "polyglot/workflow-signals.md": "79ad4de94bc73346c0f35bb3e5d4d50beae325bf7572190ba6a9367265a52d38", "polyglot/workflow-streams.md": "5675a8ea1b9d0b1f7223fecb90b3b048d3006670bf505950bc783709287a6432", "quickstart.md": "744ad91ea47202d056e14f6582dd751c471d329433565bcc4cb4182ae4cc76fb", "rolling-upgrades.md": "6acff017f2148d4f7553ebd4811aff8bde59cf6da4251845f4240ef7d1b1a970", diff --git a/i18n/uk/docusaurus-plugin-content-docs/current/features/signals.md b/i18n/uk/docusaurus-plugin-content-docs/current/features/signals.md index 688e8fd46a7..87919e0a4c3 100644 --- a/i18n/uk/docusaurus-plugin-content-docs/current/features/signals.md +++ b/i18n/uk/docusaurus-plugin-content-docs/current/features/signals.md @@ -131,10 +131,9 @@ Server 3.15.0 або новішого й відхиляє закритий за ## Signal іншому workflow {#signal-another-workflow} -:::note Очікує релізу -Довговічний signal-external для вбудованих workflow розробляється в -[Workflow #1247](https://github.com/durable-workflow/workflow/pull/1247) і ще не випущений. Його API -експериментальний. +:::note Експериментально +Довговічний signal-external для вбудованих workflow доступний починаючи з +Workflow 2.35.0. Його API експериментальний. ::: Код workflow може надіслати signal іншому workflow у своєму namespace через diff --git a/i18n/uk/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md b/i18n/uk/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md index e7fa587c3fe..1be3e75a155 100644 --- a/i18n/uk/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md +++ b/i18n/uk/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md @@ -22,7 +22,7 @@ Native Server 3.15.0 додає дві операції signal: | PHP SDK | 3.22.0 або новіший: `Client::signalWithStart()` | 3.22.0 або новіший: `WorkflowContext::signalExternalWorkflow()` | | Python SDK | 2.20.0 або новіший: `Client.signal_with_start()` | 2.20.0 або новіший: `ctx.signal_external_workflow()` | | Rust SDK | 4.21.0 або новіший: `Client::signal_with_start()` | 4.21.0 або новіший: `ctx.signal_external_workflow()` | -| Вбудований PHP (Laravel) | `WorkflowStub::signalWithStart()`, див. [посібник із signal](../features/signals.md#signal-with-start) | Очікує релізу, див. [посібник із signal](../features/signals.md#signal-another-workflow) | +| Вбудований PHP (Laravel) | `WorkflowStub::signalWithStart()`, див. [посібник із signal](../features/signals.md#signal-with-start) | Workflow 2.35.0 або новіший (експериментально): `signalExternalWorkflow()`, див. [посібник із signal](../features/signals.md#signal-another-workflow) | Опублікований PHP Server 2.x не підтримує жодної з цих операцій. SDK перевіряють підключений Server до надсилання. Зі старішим Server виклик клієнта diff --git a/i18n/uk/source-hashes.json b/i18n/uk/source-hashes.json index 520942fcefe..76f4700209e 100644 --- a/i18n/uk/source-hashes.json +++ b/i18n/uk/source-hashes.json @@ -51,7 +51,7 @@ "features/service-operations.md": "912131c0a8ef393040a933fb4a66e68abcb9d475a3ebd47c85287d4032f45a0e", "features/side-effects.md": "abdccab8d6fc1a12b3eff8a4ccc58730ac36f523559b4ad89c5c2a8d201a3b86", "features/signal+timer.md": "a05fc480544fa71f6c9b215ad3417f71b8475dd81f9de8ee18d7a3b69ac33a23", - "features/signals.md": "bcf10742b5879b2c89c68706d3410154a51c2b41e1c4e4ec3a9c10c56cf1cb27", + "features/signals.md": "d79518932e35625adfecd0d0e76b936ba802d13aef1c887ff4a33edcab97f75b", "features/sticky-execution.md": "d54fe85283d633d5cba10a03c716a707bf3b6a4e6d47ec9859e17f5f676a89b8", "features/timeouts.md": "c0d2d4108b195d10a759a4cc5368e0d13a48bde4a46005601ec15d58198f409a", "features/timers.md": "8ef45889325eb3358dd7c894511dfbd647e2813fd2eb368069f17d56c90a5d27", @@ -101,7 +101,7 @@ "polyglot/worker-build-id-rollout.md": "62ddf1ca054cf4b83de2fa020f313a153ece00519f804c4f8f30aca53c979af0", "polyglot/worker-compatibility-routing.md": "ef58f23c112f0e6b968927ba861177903adca21ed33b6b9371681e23a18b2994", "polyglot/worker-protocol.md": "91b18b39d626c1288bfa3f6b8212fa8246aa14393cb489a39fe90379bc4cd4b2", - "polyglot/workflow-signals.md": "c8b4280f844570ad7eed0884130724ac4ad62a2a58041de76cd02621ae5ee03f", + "polyglot/workflow-signals.md": "79ad4de94bc73346c0f35bb3e5d4d50beae325bf7572190ba6a9367265a52d38", "polyglot/workflow-streams.md": "5675a8ea1b9d0b1f7223fecb90b3b048d3006670bf505950bc783709287a6432", "quickstart.md": "744ad91ea47202d056e14f6582dd751c471d329433565bcc4cb4182ae4cc76fb", "rolling-upgrades.md": "6acff017f2148d4f7553ebd4811aff8bde59cf6da4251845f4240ef7d1b1a970", diff --git a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/features/signals.md b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/features/signals.md index 794064eecae..0d9dd8fd60c 100644 --- a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/features/signals.md +++ b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/features/signals.md @@ -106,8 +106,8 @@ $result->startOutcome(); // "started_new" or "returned_existing_active" ## 向另一个工作流发送信号 {#signal-another-workflow} -:::note 待发布 -面向嵌入式工作流的持久 signal-external 位于 [Workflow #1247](https://github.com/durable-workflow/workflow/pull/1247),尚未发布。其 API 为实验性。 +:::note 实验性 +面向嵌入式工作流的持久 signal-external 首次发布于 Workflow 2.35.0。其 API 为实验性。 ::: 工作流代码可以通过 `signalExternalWorkflow()` 向其命名空间内的另一个工作流发送信号。此工作流只记录一次请求,然后等待。该记录提交后,运行时在目标上接收该信号,并将结果记录到此工作流的历史中;遇到数据库冲突时会重试,而不会使任一工作流失败。重放返回已记录的结果,不会再次发送: diff --git a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md index 2009957bc9a..66fb57e7810 100644 --- a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md +++ b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/polyglot/workflow-signals.md @@ -18,7 +18,7 @@ description: 通过一次操作启动或复用工作流并向其发送信号, | PHP SDK | 3.22.0 或更高版本:`Client::signalWithStart()` | 3.22.0 或更高版本:`WorkflowContext::signalExternalWorkflow()` | | Python SDK | 2.20.0 或更高版本:`Client.signal_with_start()` | 2.20.0 或更高版本:`ctx.signal_external_workflow()` | | Rust SDK | 4.21.0 或更高版本:`Client::signal_with_start()` | 4.21.0 或更高版本:`ctx.signal_external_workflow()` | -| 嵌入式 PHP(Laravel) | `WorkflowStub::signalWithStart()`,见[信号指南](../features/signals.md#signal-with-start) | 尚未发布,见[信号指南](../features/signals.md#signal-another-workflow) | +| 嵌入式 PHP(Laravel) | `WorkflowStub::signalWithStart()`,见[信号指南](../features/signals.md#signal-with-start) | Workflow 2.35.0 或更高版本(实验性):`signalExternalWorkflow()`,见[信号指南](../features/signals.md#signal-another-workflow) | 已发布的 PHP Server 2.x 不支持这两个操作。SDK 在发送前会检查所连接的 Server。针对较旧的 Server,客户端调用会引发 `ServerCapabilityUnavailable`(PHP)、`RuntimeCapabilityUnsupported`(Python)或 `Error::SignalWithStartUnavailable`(Rust),且不发送任何内容。Worker 会在提交任何内容之前,以 `signal_external_workflow_unavailable` 拒绝新的信号命令,因此工作流任务不会完成,运行也不会失败。 diff --git a/i18n/zh-Hans/source-hashes.json b/i18n/zh-Hans/source-hashes.json index 520942fcefe..76f4700209e 100644 --- a/i18n/zh-Hans/source-hashes.json +++ b/i18n/zh-Hans/source-hashes.json @@ -51,7 +51,7 @@ "features/service-operations.md": "912131c0a8ef393040a933fb4a66e68abcb9d475a3ebd47c85287d4032f45a0e", "features/side-effects.md": "abdccab8d6fc1a12b3eff8a4ccc58730ac36f523559b4ad89c5c2a8d201a3b86", "features/signal+timer.md": "a05fc480544fa71f6c9b215ad3417f71b8475dd81f9de8ee18d7a3b69ac33a23", - "features/signals.md": "bcf10742b5879b2c89c68706d3410154a51c2b41e1c4e4ec3a9c10c56cf1cb27", + "features/signals.md": "d79518932e35625adfecd0d0e76b936ba802d13aef1c887ff4a33edcab97f75b", "features/sticky-execution.md": "d54fe85283d633d5cba10a03c716a707bf3b6a4e6d47ec9859e17f5f676a89b8", "features/timeouts.md": "c0d2d4108b195d10a759a4cc5368e0d13a48bde4a46005601ec15d58198f409a", "features/timers.md": "8ef45889325eb3358dd7c894511dfbd647e2813fd2eb368069f17d56c90a5d27", @@ -101,7 +101,7 @@ "polyglot/worker-build-id-rollout.md": "62ddf1ca054cf4b83de2fa020f313a153ece00519f804c4f8f30aca53c979af0", "polyglot/worker-compatibility-routing.md": "ef58f23c112f0e6b968927ba861177903adca21ed33b6b9371681e23a18b2994", "polyglot/worker-protocol.md": "91b18b39d626c1288bfa3f6b8212fa8246aa14393cb489a39fe90379bc4cd4b2", - "polyglot/workflow-signals.md": "c8b4280f844570ad7eed0884130724ac4ad62a2a58041de76cd02621ae5ee03f", + "polyglot/workflow-signals.md": "79ad4de94bc73346c0f35bb3e5d4d50beae325bf7572190ba6a9367265a52d38", "polyglot/workflow-streams.md": "5675a8ea1b9d0b1f7223fecb90b3b048d3006670bf505950bc783709287a6432", "quickstart.md": "744ad91ea47202d056e14f6582dd751c471d329433565bcc4cb4182ae4cc76fb", "rolling-upgrades.md": "6acff017f2148d4f7553ebd4811aff8bde59cf6da4251845f4240ef7d1b1a970",