From 35c67a72cc4a310b5a90aa04a5dc5f29312ddae7 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Mon, 13 Jul 2026 20:27:52 +0100 Subject: [PATCH] Open the runtime lookup to Deployments\Jobs storage() overrides MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit storage() is the documented seam for alternate output/cache strategies (e.g. S3 artifacts instead of the shared volume), and any override needs the runtime image to derive the cache key — same as the default strategy. Co-Authored-By: Claude Fable 5 --- src/Appwrite/Service/Deployments/Jobs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Service/Deployments/Jobs.php b/src/Appwrite/Service/Deployments/Jobs.php index 854db9ec31..fc4997526d 100644 --- a/src/Appwrite/Service/Deployments/Jobs.php +++ b/src/Appwrite/Service/Deployments/Jobs.php @@ -270,7 +270,7 @@ readonly class Jobs extends Deployments ]; } - private static function runtime(Document $function, string $version): array + protected static function runtime(Document $function, string $version): array { $runtimes = Config::getParam($version === 'v2' ? 'runtimes-v2' : 'runtimes', []); $runtime = $runtimes[$function->getAttribute('runtime')] ?? null;