Open the runtime lookup to Deployments\Jobs storage() overrides

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 <noreply@anthropic.com>
This commit is contained in:
loks0nandClaude Fable 5 committed 2026-07-14 14:05:13 +01:00
1 parent d53dcc519b
commit 35c67a72cc
1 file changed
+1 -1
+1 -1
View File
@@ -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;