Repository navigation
Conversation
|
causes the following panic. What is interesting is this which appears near the beginning of the output / panic. We don't have any Full output |
|
or just which is not used in the cue we are evaluating (other than that the entire stdlib is included in the overlay and processed) This repro makes use of
Commenting out the two occurrences of |
There was a problem hiding this comment.
Commenting out this one line causes the panic to be gone and for dagger to complete with expected output (afaik)
|
@verdverm please can you provide some non- |
|
The following should be pretty close: |
|
I have a minimal-ish, obfuscated repro of what I think is going on here: I will raise this as an issue in the main CUE repro. |
|
Raised as cuelang/cue#843 - which also suggests the workaround for now (clearly we should never panic like this) |
|
This appears to be resolved on tip + CUE beta.7 |
Signed-off-by: Tony Worm <[email protected]>
Confirmed -- rebased this PR on top of main (beta.7) and it's green |
|
FYI @shykes -- this now works with >=CUE beta.7, without panics nor performance impact. Meaning we can use |
|
Yay!
… On Mar 30, 2021, at 7:27 PM, Andrea Luzzardi ***@***.***> wrote:
FYI @shykes -- this now works with >=CUE beta.7, without panics nor performance impact. Meaning we can use #Component (or whichever other name) instead of _ everywhere (e.g. #Load: from: #Component), both with structures and any embedded scalars (no disjunction explosion).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Pins github.com/vito/dang/v2 to the head of vito/dang#208, stacked on #206 and #185. Together they add the `dang` and `[imports.Dagger] dagger` keys of dang.toml, dang.ContextWithVersion and DaggerSource.VersionString, which keeps a declared prerelease (v1.0.0-beta.19 stays as is rather than becoming v1.0.0, past the naming cut). BurntSushi/toml becomes a direct dependency: the engine decodes an entrypoint's dang.toml into Dang's own ProjectConfig. This is a pseudo-version of an unmerged branch; re-bump it to a Dang release before merging. Signed-off-by: Alex Suraci <[email protected]>
Pins github.com/vito/dang/v2 to the head of vito/dang#208, stacked on #206 and #185. Together they add the `dang` and `[imports.Dagger] dagger` keys of dang.toml, dang.ContextWithVersion and DaggerSource.VersionString, which keeps a declared prerelease (v1.0.0-beta.19 stays as is rather than becoming v1.0.0, past the naming cut). BurntSushi/toml becomes a direct dependency: the engine decodes an entrypoint's dang.toml into Dang's own ProjectConfig. This is a pseudo-version of an unmerged branch; re-bump it to a Dang release before merging. Signed-off-by: Alex Suraci <[email protected]>
Pins github.com/vito/dang/v2 to the head of vito/dang#208, stacked on #206 and #185. Together they add the `dang` and `[imports.Dagger] dagger` keys of dang.toml, dang.ContextWithVersion and DaggerSource.VersionString, which keeps a declared prerelease (v1.0.0-beta.19 stays as is rather than becoming v1.0.0, past the naming cut). BurntSushi/toml becomes a direct dependency: the engine decodes an entrypoint's dang.toml into Dang's own ProjectConfig. This is a pseudo-version of an unmerged branch; re-bump it to a Dang release before merging. Signed-off-by: Alex Suraci <[email protected]>
Pins github.com/vito/dang/v2 to the head of vito/dang#208, stacked on #206 and #185. Together they add the `dang` and `[imports.Dagger] dagger` keys of dang.toml, dang.ContextWithVersion and DaggerSource.VersionString, which keeps a declared prerelease (v1.0.0-beta.19 stays as is rather than becoming v1.0.0, past the naming cut). BurntSushi/toml becomes a direct dependency: the engine decodes an entrypoint's dang.toml into Dang's own ProjectConfig. This is a pseudo-version of an unmerged branch; re-bump it to a Dang release before merging. Signed-off-by: Alex Suraci <[email protected]>
Pins github.com/vito/dang/v2 to the head of vito/dang#208, stacked on #206 and #185. Together they add the `dang` and `[imports.Dagger] dagger` keys of dang.toml, dang.ContextWithVersion and DaggerSource.VersionString, which keeps a declared prerelease (v1.0.0-beta.19 stays as is rather than becoming v1.0.0, past the naming cut). BurntSushi/toml becomes a direct dependency: the engine decodes an entrypoint's dang.toml into Dang's own ProjectConfig. This is a pseudo-version of an unmerged branch; re-bump it to a Dang release before merging. Signed-off-by: Alex Suraci <[email protected]>
Pins github.com/vito/dang/v2 to the head of vito/dang#208, stacked on #206 and #185. Together they add the `dang` and `[imports.Dagger] dagger` keys of dang.toml, dang.ContextWithVersion and DaggerSource.VersionString, which keeps a declared prerelease (v1.0.0-beta.19 stays as is rather than becoming v1.0.0, past the naming cut). BurntSushi/toml becomes a direct dependency: the engine decodes an entrypoint's dang.toml into Dang's own ProjectConfig. This is a pseudo-version of an unmerged branch; re-bump it to a Dang release before merging. Signed-off-by: Alex Suraci <[email protected]>
Pins github.com/vito/dang/v2 to the head of vito/dang#208, stacked on #206 and #185. Together they add the `dang` and `[imports.Dagger] dagger` keys of dang.toml, dang.ContextWithVersion and DaggerSource.VersionString, which keeps a declared prerelease (v1.0.0-beta.19 stays as is rather than becoming v1.0.0, past the naming cut). BurntSushi/toml becomes a direct dependency: the engine decodes an entrypoint's dang.toml into Dang's own ProjectConfig. This is a pseudo-version of an unmerged branch; re-bump it to a Dang release before merging. Signed-off-by: Alex Suraci <[email protected]>
Same changeset as #168 based on tip