#Dagger Cloud

1 messages ยท Page 1 of 1 (latest)

waxen niche
#

probably yes? but now the error only happens there rather than everywhere?

rugged geyser
#

There are other errors elsewhere, I'm double-checking how many of those are also secrets-related

#

@waxen niche ooh for some reason, the php toolchain does this:

func (t *PhpSdkDev) WithGeneratedClient() *PhpSdkDev {
    relLayer := t.DevContainer(true).
        WithExec([]string{"dagger", "run", "./scripts/codegen.php"}).
        Directory(".").
        Filter(dagger.DirectoryFilterOpts{
            Exclude: []string{
                "vendor",
            },
        })

    t.Workspace = t.Workspace.
        // Merge rel layer inside the current workspace
        WithDirectory(t.SourcePath, relLayer)

    return t
}

Note the wrapped dagger run. Could that be the reason only that function triggers the issue?

#

(mm that should not be the reason, dagger run although weird in this place, should only pass through the session)

waxen niche
rugged geyser
#

I'm squashing a few other unrelated bugs

waxen niche
rugged geyser
#

@waxen niche I have 2 remaining blockers, and I am equally stuck on both ๐Ÿ˜› so technically this ๐Ÿ‘† is 50% of my blockers ๐Ÿ˜›

waxen niche
rugged geyser
#

You don't even want to know about the 2nd blocker... I already know it's going to be wildly infuriating once I finally figure out the root cause

#

@waxen niche don't ruin your evening over it!

waxen niche
rugged geyser
#

I figured out my other blocker... It's exactly as dumb as I imagined

#

Add one to the "slightly wrong ignore filter in A silently causes a seemingly unrelated explosion in B" category

#
  • cmd/dagger/shell_completion_test.go uses modules/wolfi as test data
  • modules/wolfi is ignored in engineDev() constructor.
  • Test still runs, silently fails to load modules/wolfi, shell auto-completion no longer includes wolfi functions: only core functions
  • As a result a small number of shell autocomplete tests fail because eg. a<tab> only offers address and not [address, alpine]
waxen niche
waxen niche
rugged geyser