From dfb162f9c3249f62cdaebbd137b5428b18774991 Mon Sep 17 00:00:00 2001 From: Durable Workflow Date: Mon, 21 Sep 2026 19:10:43 +0000 Subject: [PATCH 1/3] Reproduce transient schema inspection losing worker retry classification --- .../Feature/WorkerDatabaseUnavailableTest.php | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/tests/Feature/WorkerDatabaseUnavailableTest.php b/tests/Feature/WorkerDatabaseUnavailableTest.php index 8a5b2a705..ba97c9806 100644 --- a/tests/Feature/WorkerDatabaseUnavailableTest.php +++ b/tests/Feature/WorkerDatabaseUnavailableTest.php @@ -97,6 +97,29 @@ public function test_connection_loss_in_a_bootstrap_query_keeps_the_retry_contra ->assertJsonPath('poll_request_id', 'same-logical-poll'); } + public function test_connection_loss_during_operator_schema_inspection_is_retryable(): void + { + $injected = 0; + DB::connection()->beforeExecuting(function (string $query) use (&$injected): void { + if (str_contains($query, "'workflow_run_summaries'") + && str_contains($query, 'sqlite_master')) { + ++$injected; + $exception = new PDOException('private connection lost during schema inspection'); + $exception->errorInfo = ['HY000', 2006, 'private connection lost during schema inspection']; + throw $exception; + } + }); + + $response = $this->postJson('/api/worker/heartbeat', [ + 'worker_id' => 'database-worker', + ], $this->workerHeaders()); + + $this->assertGreaterThan(0, $injected); + $response->assertStatus(503) + ->assertJsonPath('reason', 'backend_unavailable') + ->assertJsonPath('retryable', true); + } + public function test_invalid_authentication_remains_unauthorized_during_database_loss(): void { config(['server.auth.driver' => 'token', 'server.auth.token' => 'test-secret-token']); From f20af0053094e6409b630b5f8604c16770bbb8d4 Mon Sep 17 00:00:00 2001 From: Durable Workflow Date: Mon, 21 Sep 2026 19:18:25 +0000 Subject: [PATCH 2/3] Use strict schema inspection and verify transient worker recovery --- app/Support/ServerReadiness.php | 2 +- .../Feature/WorkerDatabaseUnavailableTest.php | 57 +++++++++++++++---- 2 files changed, 48 insertions(+), 11 deletions(-) diff --git a/app/Support/ServerReadiness.php b/app/Support/ServerReadiness.php index bf9abebdf..988406792 100644 --- a/app/Support/ServerReadiness.php +++ b/app/Support/ServerReadiness.php @@ -105,7 +105,7 @@ private function migrationCheck(): array try { $inspection = $this->migrationAdoption->inspect(); $contract = ReadinessContract::definition(); - $operatorSurface = WaterlineEngineSource::status(); + $operatorSurface = WaterlineEngineSource::status(throwOnInspectionFailure: true); } catch (\Throwable $exception) { return [ 'status' => 'unavailable', diff --git a/tests/Feature/WorkerDatabaseUnavailableTest.php b/tests/Feature/WorkerDatabaseUnavailableTest.php index ba97c9806..0663ffed3 100644 --- a/tests/Feature/WorkerDatabaseUnavailableTest.php +++ b/tests/Feature/WorkerDatabaseUnavailableTest.php @@ -5,6 +5,7 @@ use App\Models\RuntimeCredential; use App\Models\WorkerRegistration; use App\Support\WorkerProtocol; +use App\Support\WorkflowUpdateValidationTaskBroker; use Illuminate\Database\Connection; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Support\Facades\DB; @@ -97,27 +98,63 @@ public function test_connection_loss_in_a_bootstrap_query_keeps_the_retry_contra ->assertJsonPath('poll_request_id', 'same-logical-poll'); } - public function test_connection_loss_during_operator_schema_inspection_is_retryable(): void + #[DataProvider('schemaInspectionFailures')] + public function test_operator_schema_inspection_preserves_failure_classification(string $path, int $code, string $reason): void { + WorkerRegistration::query()->where('worker_id', 'database-worker') + ->update(['capabilities' => [WorkflowUpdateValidationTaskBroker::CAPABILITY]]); $injected = 0; - DB::connection()->beforeExecuting(function (string $query) use (&$injected): void { - if (str_contains($query, "'workflow_run_summaries'") + $inject = true; + DB::connection()->beforeExecuting(function (string $query) use (&$injected, &$inject, $code): void { + if ($inject && str_contains($query, "'workflow_run_summaries'") && str_contains($query, 'sqlite_master')) { - ++$injected; + $injected++; $exception = new PDOException('private connection lost during schema inspection'); - $exception->errorInfo = ['HY000', 2006, 'private connection lost during schema inspection']; + $exception->errorInfo = ['HY000', $code, 'private connection lost during schema inspection']; throw $exception; } }); - $response = $this->postJson('/api/worker/heartbeat', [ + $request = [ 'worker_id' => 'database-worker', - ], $this->workerHeaders()); + 'task_queue' => 'database-queue', + 'poll_request_id' => 'schema-inspection-poll', + 'timeout_seconds' => 0, + ]; + $response = $this->postJson($path, $request, $this->workerHeaders()); $this->assertGreaterThan(0, $injected); - $response->assertStatus(503) - ->assertJsonPath('reason', 'backend_unavailable') - ->assertJsonPath('retryable', true); + $response->assertStatus(503)->assertJsonPath('reason', $reason); + $this->assertStringNotContainsString('private connection', $response->getContent()); + if ($reason === 'backend_unavailable') { + $response->assertHeader('Retry-After', '1')->assertJsonPath('retryable', true) + ->assertJsonPath('outcome', 'unknown'); + if ($path === '/api/worker/heartbeat') { + $response->assertJsonPath('operation', 'heartbeat_worker') + ->assertJsonPath('worker_id', 'database-worker')->assertJsonMissingPath('acknowledged'); + } else { + $response->assertJsonPath('poll_request_id', 'schema-inspection-poll') + ->assertJsonPath('retry_same_poll_request_id', true); + } + } else { + $response->assertJsonMissingPath('retryable'); + } + + $inject = false; + $this->postJson($path, $request, $this->workerHeaders())->assertSuccessful(); + } + + public static function schemaInspectionFailures(): array + { + $cases = []; + foreach ([['/api/worker/heartbeat'], ...self::pollPaths()] as [$path]) { + foreach ([2002, 2006, 2013, 1045, 1049] as $code) { + $cases[$path.'-'.$code] = [$path, $code, + in_array($code, [2002, 2006, 2013], true) ? 'backend_unavailable' : 'workflow_v2_blocked']; + } + } + + return $cases; } public function test_invalid_authentication_remains_unauthorized_during_database_loss(): void From 1cd95f30fe4045359e98cbf0073adbd70cd5ae17 Mon Sep 17 00:00:00 2001 From: Durable Workflow Date: Mon, 21 Sep 2026 19:38:56 +0000 Subject: [PATCH 3/3] Pin published Workflow 2.0.15 and prepare Server 2.3.13 --- composer.json | 4 ++-- composer.lock | 16 ++++++++-------- docker-compose.dedicated-matching.yml | 4 ++-- docker-compose.memo-rolling.yml | 4 ++-- docker-compose.published.yml | 4 ++-- docker-compose.small-cluster.yml | 2 +- docker-compose.yml | 8 ++++---- k8s/README.md | 10 +++++----- k8s/helm/durable-workflow/Chart.yaml | 6 +++--- k8s/helm/durable-workflow/README.md | 2 +- .../ci/existing-secrets-values.yaml | 2 +- .../ci/ingress-and-hpa-values.yaml | 2 +- .../ci/inline-secrets-values.yaml | 2 +- k8s/helm/durable-workflow/templates/_helpers.tpl | 2 +- k8s/helm/durable-workflow/values.yaml | 2 +- k8s/helm/examples/values-dev.yaml | 2 +- .../values-external-secrets-operator.yaml | 2 +- .../values-production-existing-secrets.yaml | 2 +- k8s/migration-job.yaml | 2 +- k8s/scheduler-cronjob.yaml | 2 +- k8s/secret.yaml | 2 +- k8s/server-deployment.yaml | 2 +- k8s/worker-deployment.yaml | 2 +- resources/release/source-release.json | 4 ++-- scripts/k8s-kind-smoke.sh | 2 +- 25 files changed, 46 insertions(+), 46 deletions(-) diff --git a/composer.json b/composer.json index d170d0105..b15857583 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "require": { "php": "^8.2", "apache/avro": "^1.12", - "durable-workflow/workflow": "2.0.14", + "durable-workflow/workflow": "2.0.15", "laravel/framework": "^13.0", "laravel/tinker": "^3.0", "league/flysystem-aws-s3-v3": "^3.35.3" @@ -48,7 +48,7 @@ }, "extra": { "durable-workflow": { - "product-train": "2.3.12" + "product-train": "2.3.13" }, "laravel": { "dont-discover": [] diff --git a/composer.lock b/composer.lock index 6f2c51abc..b5d2733b9 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "34037ff3e9246cc8703dd18ef194b7d7", + "content-hash": "efe16ee6e83736fbd6ee30bddefcbc83", "packages": [ { "name": "apache/avro", @@ -655,16 +655,16 @@ }, { "name": "durable-workflow/workflow", - "version": "2.0.14", + "version": "2.0.15", "source": { "type": "git", "url": "https://github.com/durable-workflow/workflow.git", - "reference": "259c32b86d132bdbac683e3bbc1de44251d45c5d" + "reference": "2faa3116499457e797c9c8758d94b7924bd58433" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/durable-workflow/workflow/zipball/259c32b86d132bdbac683e3bbc1de44251d45c5d", - "reference": "259c32b86d132bdbac683e3bbc1de44251d45c5d", + "url": "https://api.github.com/repos/durable-workflow/workflow/zipball/2faa3116499457e797c9c8758d94b7924bd58433", + "reference": "2faa3116499457e797c9c8758d94b7924bd58433", "shasum": "" }, "require": { @@ -697,7 +697,7 @@ "dev-main": "2.0.x-dev" }, "durable-workflow": { - "product-train": "2.0.14", + "product-train": "2.0.15", "laravel-embedded-upgrade-contract": "resources/laravel-embedded-upgrade-contract.json", "laravel-dependency-security-policy": "resources/laravel-dependency-security-policy.json" } @@ -724,9 +724,9 @@ "description": "Embedded durable workflow runtime and orchestration engine for Laravel applications.", "support": { "issues": "https://github.com/durable-workflow/workflow/issues", - "source": "https://github.com/durable-workflow/workflow/tree/2.0.14" + "source": "https://github.com/durable-workflow/workflow/tree/2.0.15" }, - "time": "2026-09-12T09:18:29+00:00" + "time": "2026-09-21T19:26:29+00:00" }, { "name": "egulias/email-validator", diff --git a/docker-compose.dedicated-matching.yml b/docker-compose.dedicated-matching.yml index aaa88b3ed..8eb849673 100644 --- a/docker-compose.dedicated-matching.yml +++ b/docker-compose.dedicated-matching.yml @@ -32,13 +32,13 @@ name: durable-workflow-server # daemon reports `shape: dedicated`. # Generated by scripts/ci/sync-source-release.mjs. Do not edit the fallback. -x-server-image: &server-image ${DW_SERVER_IMAGE:-durableworkflow/server:${DW_SERVER_TAG:-2.3.12}} +x-server-image: &server-image ${DW_SERVER_IMAGE:-durableworkflow/server:${DW_SERVER_TAG:-2.3.13}} x-server-environment: &server-environment APP_NAME: "Durable Workflow Server" APP_ENV: ${APP_ENV:-local} DW_SERVER_KEY: ${DW_SERVER_KEY:-} - APP_VERSION: ${APP_VERSION:-${DW_SERVER_TAG:-2.3.12}} + APP_VERSION: ${APP_VERSION:-${DW_SERVER_TAG:-2.3.13}} APP_DEBUG: ${APP_DEBUG:-false} DB_CONNECTION: mysql DB_HOST: mysql diff --git a/docker-compose.memo-rolling.yml b/docker-compose.memo-rolling.yml index a97513945..78646ccaf 100644 --- a/docker-compose.memo-rolling.yml +++ b/docker-compose.memo-rolling.yml @@ -49,14 +49,14 @@ services: command: ["server-bootstrap"] environment: <<: *runtime-environment - APP_VERSION: ${APP_VERSION:-2.3.12} + APP_VERSION: ${APP_VERSION:-2.3.13} successor: image: ${DW_MEMO_SUCCESSOR_IMAGE:-durable-workflow/server-memo-rolling:local} ports: !override [] environment: <<: *runtime-environment - APP_VERSION: ${APP_VERSION:-2.3.12} + APP_VERSION: ${APP_VERSION:-2.3.13} DW_SERVER_ID: memo-successor DW_SERVER_TOPOLOGY_SHAPE: standalone_server DW_SERVER_PROCESS_CLASS: server_http_node diff --git a/docker-compose.published.yml b/docker-compose.published.yml index ea932396a..087c095ac 100644 --- a/docker-compose.published.yml +++ b/docker-compose.published.yml @@ -1,13 +1,13 @@ name: durable-workflow-server # Generated by scripts/ci/sync-source-release.mjs. Do not edit the fallback. -x-server-image: &server-image ${DW_SERVER_IMAGE:-durableworkflow/server:${DW_SERVER_TAG:-2.3.12}} +x-server-image: &server-image ${DW_SERVER_IMAGE:-durableworkflow/server:${DW_SERVER_TAG:-2.3.13}} x-server-environment: &server-environment APP_NAME: "Durable Workflow Server" APP_ENV: ${APP_ENV:-local} DW_SERVER_KEY: ${DW_SERVER_KEY:-} - APP_VERSION: ${APP_VERSION:-${DW_SERVER_TAG:-2.3.12}} + APP_VERSION: ${APP_VERSION:-${DW_SERVER_TAG:-2.3.13}} APP_DEBUG: ${APP_DEBUG:-false} LOG_CHANNEL: ${LOG_CHANNEL:-stderr} LOG_LEVEL: ${LOG_LEVEL:-info} diff --git a/docker-compose.small-cluster.yml b/docker-compose.small-cluster.yml index cf271525d..e89b274f6 100644 --- a/docker-compose.small-cluster.yml +++ b/docker-compose.small-cluster.yml @@ -12,7 +12,7 @@ x-server-build: &server-build x-server-environment: &server-environment APP_NAME: "Durable Workflow Server" APP_ENV: testing - APP_VERSION: ${APP_VERSION:-2.3.12} + APP_VERSION: ${APP_VERSION:-2.3.13} APP_DEBUG: "false" DW_SERVER_KEY: ${DW_SERVER_KEY:-base64:5Zt4nUhlCm3DD0nLXZJQdHiwPfb56yGo9gNV/g3jYbY=} DB_CONNECTION: ${DW_SMALL_CLUSTER_DB:-mysql} diff --git a/docker-compose.yml b/docker-compose.yml index 3ea624827..02cc8eca2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,7 +15,7 @@ services: DW_SERVER_KEY: "${DW_SERVER_KEY:-}" DW_SERVER_TOPOLOGY_SHAPE: standalone_server DW_SERVER_PROCESS_CLASS: server_http_node - APP_VERSION: "${APP_VERSION:-2.3.12}" + APP_VERSION: "${APP_VERSION:-2.3.13}" APP_DEBUG: "false" DB_CONNECTION: mysql DB_HOST: mysql @@ -62,7 +62,7 @@ services: APP_NAME: "Durable Workflow Server" APP_ENV: local DW_SERVER_KEY: "${DW_SERVER_KEY:-}" - APP_VERSION: "${APP_VERSION:-2.3.12}" + APP_VERSION: "${APP_VERSION:-2.3.13}" APP_DEBUG: "false" DB_CONNECTION: mysql DB_HOST: mysql @@ -124,7 +124,7 @@ services: DW_SERVER_KEY: "${DW_SERVER_KEY:-}" DW_SERVER_TOPOLOGY_SHAPE: standalone_server DW_SERVER_PROCESS_CLASS: worker_node - APP_VERSION: "${APP_VERSION:-2.3.12}" + APP_VERSION: "${APP_VERSION:-2.3.13}" DB_CONNECTION: mysql DB_HOST: mysql DB_PORT: 3306 @@ -177,7 +177,7 @@ services: DW_SERVER_KEY: "${DW_SERVER_KEY:-}" DW_SERVER_TOPOLOGY_SHAPE: standalone_server DW_SERVER_PROCESS_CLASS: scheduler_node - APP_VERSION: "${APP_VERSION:-2.3.12}" + APP_VERSION: "${APP_VERSION:-2.3.13}" DB_CONNECTION: mysql DB_HOST: mysql DB_PORT: 3306 diff --git a/k8s/README.md b/k8s/README.md index b53bce422..1a0b36ec3 100644 --- a/k8s/README.md +++ b/k8s/README.md @@ -13,7 +13,7 @@ The checked-in manifests are synchronized with the repository's stable source release and pin its Docker Hub tag: ```text -durableworkflow/server:2.3.12 +durableworkflow/server:2.3.13 ``` Before production use, patch every workload image to the exact published tag or @@ -21,15 +21,15 @@ digest you intend to run: ```bash kubectl set image -n durable-workflow deploy/durable-workflow-server \ - server=durableworkflow/server:2.3.12 + server=durableworkflow/server:2.3.13 kubectl set image -n durable-workflow deploy/durable-workflow-worker \ - worker=durableworkflow/server:2.3.12 + worker=durableworkflow/server:2.3.13 kubectl set image -n durable-workflow cronjob/durable-workflow-scheduler \ - scheduler=durableworkflow/server:2.3.12 + scheduler=durableworkflow/server:2.3.13 ``` GitHub Container Registry publishes the same release line at -`ghcr.io/durable-workflow/server:2.3.12`. Digest pinning is preferred for strict +`ghcr.io/durable-workflow/server:2.3.13`. Digest pinning is preferred for strict change control. The manifests expect you to provide: diff --git a/k8s/helm/durable-workflow/Chart.yaml b/k8s/helm/durable-workflow/Chart.yaml index 5ad23be0a..b7455fb71 100644 --- a/k8s/helm/durable-workflow/Chart.yaml +++ b/k8s/helm/durable-workflow/Chart.yaml @@ -5,11 +5,11 @@ type: application # The chart's own semver version. Bumped on every chart release; treated as # independent of the server image version (appVersion). Breaking-change rules # for this version live in docs/helm-upgrading.md alongside the chart. -version: 0.1.91 +version: 0.1.92 # The immutable Durable Workflow Server identity this chart release packages. # The onboarding default in values.yaml and appVersion are generated from the # checked-in source release record. -appVersion: "2.3.12" +appVersion: "2.3.13" kubeVersion: ">=1.27.0-0" home: https://durable-workflow.github.io/docs/2.0/deployment sources: @@ -30,7 +30,7 @@ annotations: # exact commit that most recently changed the packaged chart. org.opencontainers.image.source: https://github.com/durable-workflow/server dev.durable-workflow.source-revision: "unreleased" - dev.durable-workflow.image-reference: "docker.io/durableworkflow/server:2.3.12" + dev.durable-workflow.image-reference: "docker.io/durableworkflow/server:2.3.13" artifacthub.io/license: MIT artifacthub.io/category: integration-delivery # Free-form changelog for the current chart release shown by Artifact Hub. diff --git a/k8s/helm/durable-workflow/README.md b/k8s/helm/durable-workflow/README.md index e4e251cf0..4a83bedb4 100644 --- a/k8s/helm/durable-workflow/README.md +++ b/k8s/helm/durable-workflow/README.md @@ -63,7 +63,7 @@ helm install durable-workflow ./k8s/helm/durable-workflow \ ```yaml image: - tag: "2.3.12" + tag: "2.3.13" # Pin a digest in production: # digest: "sha256:abc123..." # memoPayloadStorage: "raw-json-v1" # Required for a digest or custom image. diff --git a/k8s/helm/durable-workflow/ci/existing-secrets-values.yaml b/k8s/helm/durable-workflow/ci/existing-secrets-values.yaml index 1863c1b4c..8db305731 100644 --- a/k8s/helm/durable-workflow/ci/existing-secrets-values.yaml +++ b/k8s/helm/durable-workflow/ci/existing-secrets-values.yaml @@ -1,7 +1,7 @@ # CI fixture: GitOps / externally-managed-secret path. The chart consumes # existing Secrets and renders no Secret resources of its own. image: - tag: "2.3.12" + tag: "2.3.13" externalDatabase: connection: pgsql diff --git a/k8s/helm/durable-workflow/ci/ingress-and-hpa-values.yaml b/k8s/helm/durable-workflow/ci/ingress-and-hpa-values.yaml index 9dc16137d..d3316f7ac 100644 --- a/k8s/helm/durable-workflow/ci/ingress-and-hpa-values.yaml +++ b/k8s/helm/durable-workflow/ci/ingress-and-hpa-values.yaml @@ -1,6 +1,6 @@ # CI fixture: ingress + autoscaling enabled. Exercises optional templates. image: - tag: "2.3.12" + tag: "2.3.13" externalDatabase: connection: mysql diff --git a/k8s/helm/durable-workflow/ci/inline-secrets-values.yaml b/k8s/helm/durable-workflow/ci/inline-secrets-values.yaml index a724f4d77..aab5d1a2b 100644 --- a/k8s/helm/durable-workflow/ci/inline-secrets-values.yaml +++ b/k8s/helm/durable-workflow/ci/inline-secrets-values.yaml @@ -2,7 +2,7 @@ # chart's render path is exercised end-to-end. Real deployments should use # existingSecret instead. image: - tag: "2.3.12" + tag: "2.3.13" externalDatabase: connection: mysql diff --git a/k8s/helm/durable-workflow/templates/_helpers.tpl b/k8s/helm/durable-workflow/templates/_helpers.tpl index 17e074e89..9f3046485 100644 --- a/k8s/helm/durable-workflow/templates/_helpers.tpl +++ b/k8s/helm/durable-workflow/templates/_helpers.tpl @@ -88,7 +88,7 @@ resolved by an explicit capability declaration or an existing workload marker. {{- define "durable-workflow.memoPayloadStorageForImage" -}} {{- $image := toString . -}} {{- $normalized := regexReplaceAll "^index\\.docker\\.io/" $image "docker.io/" -}} -{{- if eq $normalized "docker.io/durableworkflow/server:2.3.12" -}} +{{- if eq $normalized "docker.io/durableworkflow/server:2.3.13" -}} dual-v1 {{- else if regexMatch "^docker\\.io/durableworkflow/server:2\\.0\\.0-rc\\.[0-9]+$" $normalized -}} {{- $releaseCandidate := atoi (regexFind "[0-9]+$" $normalized) -}} diff --git a/k8s/helm/durable-workflow/values.yaml b/k8s/helm/durable-workflow/values.yaml index 863de000d..dccaacf9e 100644 --- a/k8s/helm/durable-workflow/values.yaml +++ b/k8s/helm/durable-workflow/values.yaml @@ -21,7 +21,7 @@ image: registry: docker.io repository: durableworkflow/server # Generated by scripts/ci/sync-source-release.mjs. Do not edit this default. - tag: "2.3.12" + tag: "2.3.13" # Optional digest pin. When set, takes precedence over tag for change control. # Example: "sha256:abc123..." digest: "" diff --git a/k8s/helm/examples/values-dev.yaml b/k8s/helm/examples/values-dev.yaml index d0e37eb1c..e2b4590d0 100644 --- a/k8s/helm/examples/values-dev.yaml +++ b/k8s/helm/examples/values-dev.yaml @@ -3,7 +3,7 @@ # shape in production. image: - tag: "2.3.12" + tag: "2.3.13" externalDatabase: connection: mysql diff --git a/k8s/helm/examples/values-external-secrets-operator.yaml b/k8s/helm/examples/values-external-secrets-operator.yaml index 7e5565ee9..fb364bc93 100644 --- a/k8s/helm/examples/values-external-secrets-operator.yaml +++ b/k8s/helm/examples/values-external-secrets-operator.yaml @@ -5,7 +5,7 @@ # concern. image: - tag: "2.3.12" + tag: "2.3.13" externalDatabase: connection: pgsql diff --git a/k8s/helm/examples/values-production-existing-secrets.yaml b/k8s/helm/examples/values-production-existing-secrets.yaml index 4fced725b..b602ee75a 100644 --- a/k8s/helm/examples/values-production-existing-secrets.yaml +++ b/k8s/helm/examples/values-production-existing-secrets.yaml @@ -10,7 +10,7 @@ image: repository: durable-workflow/server # Pin a digest in production for change-control auditability. digest: "" # e.g. "sha256:abc123..." - tag: "2.3.12" + tag: "2.3.13" externalDatabase: connection: pgsql diff --git a/k8s/migration-job.yaml b/k8s/migration-job.yaml index 3a76de808..877f72508 100644 --- a/k8s/migration-job.yaml +++ b/k8s/migration-job.yaml @@ -13,7 +13,7 @@ spec: restartPolicy: OnFailure containers: - name: migrate - image: durableworkflow/server:2.3.12 + image: durableworkflow/server:2.3.13 command: ["server-entrypoint"] args: ["server-bootstrap"] envFrom: diff --git a/k8s/scheduler-cronjob.yaml b/k8s/scheduler-cronjob.yaml index aaa2c671e..d8fa3ccb3 100644 --- a/k8s/scheduler-cronjob.yaml +++ b/k8s/scheduler-cronjob.yaml @@ -24,7 +24,7 @@ spec: restartPolicy: Never containers: - name: scheduler - image: durableworkflow/server:2.3.12 + image: durableworkflow/server:2.3.13 command: ["server-entrypoint"] args: ["sh", "-c", "php artisan schedule:evaluate --limit=100 --json; php artisan activity:timeout-enforce --limit=100; if php artisan list --raw | grep -q '^external-payloads:cleanup '; then php artisan external-payloads:cleanup --limit=100 --json; fi; php artisan history:prune --limit=100"] envFrom: diff --git a/k8s/secret.yaml b/k8s/secret.yaml index ac41ec64a..65fa76590 100644 --- a/k8s/secret.yaml +++ b/k8s/secret.yaml @@ -12,7 +12,7 @@ metadata: app.kubernetes.io/name: durable-workflow data: APP_NAME: "Durable Workflow Server" - APP_VERSION: "2.3.12" + APP_VERSION: "2.3.13" APP_ENV: production APP_DEBUG: "false" DB_CONNECTION: mysql diff --git a/k8s/server-deployment.yaml b/k8s/server-deployment.yaml index 4281daa6a..de5b52bc3 100644 --- a/k8s/server-deployment.yaml +++ b/k8s/server-deployment.yaml @@ -23,7 +23,7 @@ spec: spec: containers: - name: server - image: durableworkflow/server:2.3.12 + image: durableworkflow/server:2.3.13 ports: - containerPort: 8080 name: http diff --git a/k8s/worker-deployment.yaml b/k8s/worker-deployment.yaml index de66e4e4f..bf8f1b042 100644 --- a/k8s/worker-deployment.yaml +++ b/k8s/worker-deployment.yaml @@ -19,7 +19,7 @@ spec: spec: containers: - name: worker - image: durableworkflow/server:2.3.12 + image: durableworkflow/server:2.3.13 command: ["server-entrypoint"] args: ["php", "artisan", "queue:work", "--sleep=1", "--tries=3", "--max-time=3600"] envFrom: diff --git a/resources/release/source-release.json b/resources/release/source-release.json index 43472c7da..7be39f9cd 100644 --- a/resources/release/source-release.json +++ b/resources/release/source-release.json @@ -1,9 +1,9 @@ { "schema": "durable-workflow.server.source-release/v1", "server": { - "version": "2.3.12" + "version": "2.3.13" }, "helm_chart": { - "version": "0.1.91" + "version": "0.1.92" } } diff --git a/scripts/k8s-kind-smoke.sh b/scripts/k8s-kind-smoke.sh index 0a6e8bb09..f48ada6cd 100755 --- a/scripts/k8s-kind-smoke.sh +++ b/scripts/k8s-kind-smoke.sh @@ -7,7 +7,7 @@ cluster="${K8S_SMOKE_CLUSTER:-durable-workflow-server-smoke}" image="${K8S_SMOKE_IMAGE:-durableworkflow/server:k8s-smoke}" # Generated by scripts/ci/sync-source-release.mjs so the smoke replaces the # same default shipped by the public manifests. -manifest_image="durableworkflow/server:2.3.12" +manifest_image="durableworkflow/server:2.3.13" kind_node_image="${K8S_SMOKE_KIND_NODE_IMAGE:-kindest/node:v1.29.4}" artifact_dir="${K8S_SMOKE_ARTIFACT_DIR:-/tmp/durable-workflow-k8s-kind-smoke-artifacts}" rendered_dir="${artifact_dir}/rendered-manifests"