I'm getting a 403 for it on the install script, and brew can't find that version in the tap. I upgraded to v0.12.5 and suddenly one of my functions stopped working (unexpected nil source on a WithMountedFile) - I also noticed I'm hitting a 60s timeout on "calling import cache" reliably. I wanted to rule out the upgrade, but I'm struggling to rollback. I've got two functions that do things in their constructors; one function that still works and another one that is broken. I've got a root module Cicd with several methods that return child structs:
cicd.Build() *Buildcicd.Test() *Testcicd.Package() *Packagecicd.Stacks() *Stacks
In their constructors, the Package and Stacks structs consume a field from the parent Cicd struct:
type Package struct {
// +private
File *dagger.File
}
func (m *Cicd) Package() *Package {
file := m.Build().MyFile()
return &Package{
File *dagger.File
}
}
func (m *Package) Services() *dagger.Container {
return dag.Container().
From("golang:latest").
WithMountedFile("/usr/local/bin/myfile", m.File)
}
I'm seeing the spans for the m.Build().MyFile() call in both Stacks and Package commands, but i'm getting an NPE in the internal/dagger gen only for the Stacks commands:
func (r *Container) WithMountedFile(path string, source *File, opts ...ContainerWithMountedFileOpts) *Container {
assertNotNil("source", source)
🤯 ... Literally as I was typing this out, I thought "I already uninstalled 0.12.5 with brew, install script couldn't find 0.12.4, but let me use the install script to install 0.12.5 and give it another whirl" and to my surprise, it worked.
I checked the engine logs, and it looks like after many minutes of gateway timeout on import cache, it finally succeeded. Difficult to determine if the remote cache issues were responsible... Nvm, i did a restart of the engine and the import cache is still timing out.
this is 100% me. i was looking at the stack trace wrong and was off by two lines, i marked an argument