Commit 4be3f27
fix(app): materialize delayed parameters on the pod_template path
_get_k8s_pod / _serialized_pod_spec built the serve container command from the
raw, unmaterialized parameters, so an app that combines a pod_template with a
delayed parameter (e.g. model_path=RunOutput(run_name=...)) shipped the
unresolved getter to the serve entrypoint, which then couldn't download it
(storage.get: "Unable to load data"). The container path (get_proto_container)
already passed the materialized parameters; thread them through _get_k8s_pod ->
_serialized_pod_spec -> container_cmd so the pod path resolves them too. Delayed
values (RunOutput/ArtifactValue) now serialize to their resolved File/Dir URI.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent d8d2e22 commit 4be3f27
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
147 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
148 | 154 | | |
149 | 155 | | |
150 | 156 | | |
| |||
184 | 190 | | |
185 | 191 | | |
186 | 192 | | |
| 193 | + | |
187 | 194 | | |
188 | 195 | | |
189 | 196 | | |
| |||
201 | 208 | | |
202 | 209 | | |
203 | 210 | | |
204 | | - | |
| 211 | + | |
205 | 212 | | |
206 | 213 | | |
207 | 214 | | |
| |||
396 | 403 | | |
397 | 404 | | |
398 | 405 | | |
| 406 | + | |
399 | 407 | | |
400 | 408 | | |
401 | 409 | | |
| |||
0 commit comments