mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Close the template sourceSize gap on orchestrator 0.4.3
0.4.3 emits artifact callbacks for pre-job (input-phase) artifacts, not just post-job ones. Revert the source stat to depends:'source' so it fires right after the download — its size callback now lands well before the exit callback that marks the deployment ready, eliminating the race where a reader at 'ready' saw sourceSize=0. Bump the jobs-service + sidecar images to 0.4.3. Verified locally against 0.4.3: testCreateFunctionAndDeploymentFromTemplateBranch and …Commit both pass (sourceSize/totalSize populated). The remaining template failure (…FromTemplate, a "0.3.*" tag range) is the separate vcs listTags unauthenticated fix, still pending. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
dc6fdc04f6
commit
f2911600fa
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user