@maiden delta @fervent dome i'm attempting to get From working with Services by adding a containerimagedns bk source, i've written a small wrapper of the upstream bk source that injects search domains
with this wired in, any invocation to From ends up giving this very opaque bk error
multi.go:85: 7 : ! failed to resolve image docker.io/library/alpine:3.20.2: ref mutated by policy to non-image: docker-image://docker.io/library/alpine:3.20.2 -> docker-image://docker.io/library/alpine:3.20.2
digging through bk code, it looks like this error occurs in various frontends when the image resolves to nil
wiring the upstream image source impl into source manager doesn't give this same error.
3 known unknowns i have about the other dns sources are:
- what cache.Accessor is for, and if it's necessary
- what purpose is served by state.go files in each source impl
- why bk's baseWorker manages imageSources via field-literal *containerimage.Source instead of using SourceManager like the others
any hunches? would you dig on any of these things? this feels like it's either a typo i'm just not seeing or i'm missing some element of how sources work.
... the alternative is to keep expanding our shadow-llm copy beyond just the Image function, but continuing to pull that thread at 4pm has me suspicious im on the wrong track lol, thoughts?