generated from pulumi/pulumi-provider-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 13
Mux in a native provider #195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
ringods
wants to merge
1
commit into
main
Choose a base branch
from
mux-native-provider
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
I believe the current panic is caused by a bug in pulumi-go-provider's GetSchema. I'll open a PR later to today to fix it. Looks like |
iwahbe
added a commit
to pulumi/pulumi-go-provider
that referenced
this pull request
Nov 5, 2025
It looks like `GetSchema` was abandon, there weren't any tests for it and it was completely broken with `infer`. See pulumiverse/pulumi-talos#195 for an example: panic: interface conversion: interface {} is nil, not provider.RunInfo goroutine 1 [running]: github.com/pulumi/pulumi-go-provider.GetRunInfo(...) /home/runner/go/pkg/mod/github.com/pulumi/[email protected]/provider.go:607 github.com/pulumi/pulumi-go-provider/middleware/schema.(*state).generateSchema(_, {_, _}) /home/runner/go/pkg/mod/github.com/pulumi/[email protected]/middleware/schema/schema.go:289 +0x9f0 github.com/pulumi/pulumi-go-provider/middleware/schema.(*state).GetSchema(0xc000ddaea0, {0x494e508, 0xc0012ee370}, {0xc0008e7c70?}) /home/runner/go/pkg/mod/github.com/pulumi/[email protected]/middleware/schema/schema.go:191 +0x11b github.com/pulumi/pulumi-go-provider/middleware/cancel.Wrap.setCancel2[...].func7({0x0?}) /home/runner/go/pkg/mod/github.com/pulumi/[email protected]/middleware/cancel/cancel.go:134 +0xa2 github.com/pulumi/pulumi-go-provider.GetSchema({_, _}, {_, _}, {_, _}, {0xc000ddc810, 0x0, 0xc000dbc240, 0xc000ddc840, ...}) /home/runner/go/pkg/mod/github.com/pulumi/[email protected]/provider.go:557 +0x191 github.com/pulumiverse/pulumi-talos/provider/native.(*Provider).GetSpec(_, {_, _}, {_, _}, {_, _}) /home/runner/work/pulumi-talos/pulumi-talos/provider/native/provider.go:36 +0xf6 github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.genPulumiSchema(_, {_, _}, {_, _}, {{0x49a43c0, 0xc000da68c0}, {0x41d1110, 0x5}, {0x0, ...}, ...}, ...) /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/[email protected]/pkg/tfgen/generate_schema.go:251 +0x347
iwahbe
added a commit
to pulumi/pulumi-go-provider
that referenced
this pull request
Nov 5, 2025
It looks like `GetSchema` was abandon, there weren't any tests for it and it was completely broken with `infer`. See pulumiverse/pulumi-talos#195 for an example: panic: interface conversion: interface {} is nil, not provider.RunInfo goroutine 1 [running]: github.com/pulumi/pulumi-go-provider.GetRunInfo(...) /home/runner/go/pkg/mod/github.com/pulumi/[email protected]/provider.go:607 github.com/pulumi/pulumi-go-provider/middleware/schema.(*state).generateSchema(_, {_, _}) /home/runner/go/pkg/mod/github.com/pulumi/[email protected]/middleware/schema/schema.go:289 +0x9f0 github.com/pulumi/pulumi-go-provider/middleware/schema.(*state).GetSchema(0xc000ddaea0, {0x494e508, 0xc0012ee370}, {0xc0008e7c70?}) /home/runner/go/pkg/mod/github.com/pulumi/[email protected]/middleware/schema/schema.go:191 +0x11b github.com/pulumi/pulumi-go-provider/middleware/cancel.Wrap.setCancel2[...].func7({0x0?}) /home/runner/go/pkg/mod/github.com/pulumi/[email protected]/middleware/cancel/cancel.go:134 +0xa2 github.com/pulumi/pulumi-go-provider.GetSchema({_, _}, {_, _}, {_, _}, {0xc000ddc810, 0x0, 0xc000dbc240, 0xc000ddc840, ...}) /home/runner/go/pkg/mod/github.com/pulumi/[email protected]/provider.go:557 +0x191 github.com/pulumiverse/pulumi-talos/provider/native.(*Provider).GetSpec(_, {_, _}, {_, _}, {_, _}) /home/runner/work/pulumi-talos/pulumi-talos/provider/native/provider.go:36 +0xf6 github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.genPulumiSchema(_, {_, _}, {_, _}, {{0x49a43c0, 0xc000da68c0}, {0x41d1110, 0x5}, {0x0, ...}, ...}, ...) /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/[email protected]/pkg/tfgen/generate_schema.go:251 +0x347
|
The panic should be fixed when pulumi/pulumi-go-provider#422 merges. |
iwahbe
added a commit
to pulumi/pulumi-go-provider
that referenced
this pull request
Nov 13, 2025
It looks like `GetSchema` was abandon, there weren't any tests for it and it was completely broken with `infer`. See pulumiverse/pulumi-talos#195 for an example: panic: interface conversion: interface {} is nil, not provider.RunInfo goroutine 1 [running]: github.com/pulumi/pulumi-go-provider.GetRunInfo(...) /home/runner/go/pkg/mod/github.com/pulumi/[email protected]/provider.go:607 github.com/pulumi/pulumi-go-provider/middleware/schema.(*state).generateSchema(_, {_, _}) /home/runner/go/pkg/mod/github.com/pulumi/[email protected]/middleware/schema/schema.go:289 +0x9f0 github.com/pulumi/pulumi-go-provider/middleware/schema.(*state).GetSchema(0xc000ddaea0, {0x494e508, 0xc0012ee370}, {0xc0008e7c70?}) /home/runner/go/pkg/mod/github.com/pulumi/[email protected]/middleware/schema/schema.go:191 +0x11b github.com/pulumi/pulumi-go-provider/middleware/cancel.Wrap.setCancel2[...].func7({0x0?}) /home/runner/go/pkg/mod/github.com/pulumi/[email protected]/middleware/cancel/cancel.go:134 +0xa2 github.com/pulumi/pulumi-go-provider.GetSchema({_, _}, {_, _}, {_, _}, {0xc000ddc810, 0x0, 0xc000dbc240, 0xc000ddc840, ...}) /home/runner/go/pkg/mod/github.com/pulumi/[email protected]/provider.go:557 +0x191 github.com/pulumiverse/pulumi-talos/provider/native.(*Provider).GetSpec(_, {_, _}, {_, _}, {_, _}) /home/runner/work/pulumi-talos/pulumi-talos/provider/native/provider.go:36 +0xf6 github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.genPulumiSchema(_, {_, _}, {_, _}, {{0x49a43c0, 0xc000da68c0}, {0x41d1110, 0x5}, {0x0, ...}, ...}, ...) /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/[email protected]/pkg/tfgen/generate_schema.go:251 +0x347
iwahbe
added a commit
to pulumi/pulumi-go-provider
that referenced
this pull request
Nov 13, 2025
It looks like `GetSchema` was abandon, there weren't any tests for it and it was completely broken with `infer`. See pulumiverse/pulumi-talos#195 for an example: panic: interface conversion: interface {} is nil, not provider.RunInfo goroutine 1 [running]: github.com/pulumi/pulumi-go-provider.GetRunInfo(...) /home/runner/go/pkg/mod/github.com/pulumi/[email protected]/provider.go:607 github.com/pulumi/pulumi-go-provider/middleware/schema.(*state).generateSchema(_, {_, _}) /home/runner/go/pkg/mod/github.com/pulumi/[email protected]/middleware/schema/schema.go:289 +0x9f0 github.com/pulumi/pulumi-go-provider/middleware/schema.(*state).GetSchema(0xc000ddaea0, {0x494e508, 0xc0012ee370}, {0xc0008e7c70?}) /home/runner/go/pkg/mod/github.com/pulumi/[email protected]/middleware/schema/schema.go:191 +0x11b github.com/pulumi/pulumi-go-provider/middleware/cancel.Wrap.setCancel2[...].func7({0x0?}) /home/runner/go/pkg/mod/github.com/pulumi/[email protected]/middleware/cancel/cancel.go:134 +0xa2 github.com/pulumi/pulumi-go-provider.GetSchema({_, _}, {_, _}, {_, _}, {0xc000ddc810, 0x0, 0xc000dbc240, 0xc000ddc840, ...}) /home/runner/go/pkg/mod/github.com/pulumi/[email protected]/provider.go:557 +0x191 github.com/pulumiverse/pulumi-talos/provider/native.(*Provider).GetSpec(_, {_, _}, {_, _}, {_, _}) /home/runner/work/pulumi-talos/pulumi-talos/provider/native/provider.go:36 +0xf6 github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.genPulumiSchema(_, {_, _}, {_, _}, {{0x49a43c0, 0xc000da68c0}, {0x41d1110, 0x5}, {0x0, ...}, ...}, ...) /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/[email protected]/pkg/tfgen/generate_schema.go:251 +0x347
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Activate a muxed provider. The muxed provider wraps a native provider implemented with
pulumi-go-provider.