Commit 73d86c2
fix: skip GPU/mode overlays when extension base compose_file is missing
resolve-compose-stack.sh included GPU overlay files (compose.nvidia.yaml,
compose.amd.yaml) even when the base compose_file declared in the manifest
did not exist on disk. This caused silent Docker Compose merge failures
because the GPU overlay expects services defined in the base file.
Add an else guard: if compose_file is specified but missing (and no
.disabled sibling exists), log a warning and skip all overlays for that
extension.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 7d2da71 commit 73d86c2
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
171 | 174 | | |
172 | 175 | | |
173 | 176 | | |
| |||
0 commit comments