diff --git a/docker-compose.yml b/docker-compose.yml index 79254258cc..416f9e21d7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1243,7 +1243,7 @@ services: options: max-file: "5" max-size: 10m - image: ghcr.io/open-runtimes/orchestrator/jobs-service:0.4.2 + image: ghcr.io/open-runtimes/orchestrator/jobs-service:0.4.3 restart: unless-stopped user: root networks: @@ -1254,7 +1254,7 @@ services: - ORCHESTRATOR_BACKEND=docker - ORCHESTRATOR_NETWORK=appwrite - ARTIFACT_ENDPOINT=http://orchestrator-jobs:8080 - - JOB_SIDECAR_IMAGE=ghcr.io/open-runtimes/orchestrator/job-sidecar:0.4.2 + - JOB_SIDECAR_IMAGE=ghcr.io/open-runtimes/orchestrator/job-sidecar:0.4.3 mariadb: image: mariadb:10.11 diff --git a/src/Appwrite/Compute/Job.php b/src/Appwrite/Compute/Job.php index 0dcd4e3a93..ac8d2ce84e 100644 --- a/src/Appwrite/Compute/Job.php +++ b/src/Appwrite/Compute/Job.php @@ -78,7 +78,7 @@ final class Job // so unlike the uploaded-tarball path it can't size it. Stat the // downloaded archive so the orchestrator reports its byte size in // an artifact callback, which the worker records as sourceSize. - new StatArtifact(id: 'sourceSize', in: 'source.tar.gz', depends: 'job'), + new StatArtifact(id: 'sourceSize', in: 'source.tar.gz', depends: 'source'), ]; } else { // Presigned source-download URL (GET, no request-body cap), fetched by