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
Schema loader made to respect PULUMI_DEBUG_PROVIDERS #15526
Merged
Merged
Conversation
This file contains 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
Changelog[uncommitted] (2024-03-04)Features
|
t0yv0
commented
Feb 27, 2024
Frassle
reviewed
Feb 27, 2024
if err != nil { | ||
return nil, nil, err | ||
} | ||
// If PULUMI_DEBUG_PROVIDERS requested an attach port, skip caching and workspace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reasonable
This was referenced Feb 28, 2024
Test: Upgrade pulumi/{pkg,sdk} to 23982a35b7aebea0a6272f753b2cb3c0ca74e0bf
pulumi/pulumi-azuread#851
Closed
Closed
Closed
Test: Upgrade pulumi/{pkg,sdk} to df542ebf54929635f6f701bd44a784eed50e5038
pulumi/pulumi-azuread#852
Closed
Closed
Closed
Closed
Closed
Test: Upgrade pulumi/{pkg,sdk} to fb66894bde3dd239c8dff1a4659e98a7e1fba31e
pulumi/pulumi-azuread#854
Closed
Test: Upgrade pulumi/{pkg,sdk} to 368b8d325c3334847837caf5dd2bfd6e0505adfb
pulumi/pulumi-azuread#855
Closed
Closed
Closed
Closed
6 tasks
t0yv0
force-pushed
the
t0yv0/schema-loader-respects-debug-providers
branch
from
March 4, 2024 17:09
8672250
to
ce8ffce
Compare
This was referenced Mar 4, 2024
Closed
Test: Upgrade pulumi/{pkg,sdk} to ce8ffce2e4b8f4ff8b95016390421093996ae8e3
pulumi/pulumi-azuread#896
Closed
Closed
Closed
"Prime Go Cache" job flaked with
|
Frassle
approved these changes
Mar 4, 2024
|
||
if version == nil { | ||
info, _ := provider.GetPluginInfo() // nonfatal error | ||
version = info.Version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use contract.IgnoreError()
Co-authored-by: Thomas Gummerer <t.gummerer@gmail.com>
t0yv0
force-pushed
the
t0yv0/schema-loader-respects-debug-providers
branch
from
March 4, 2024 21:38
ce8ffce
to
ddb43d5
Compare
This was referenced Mar 4, 2024
This was referenced Mar 4, 2024
github-merge-queue bot
pushed a commit
that referenced
this pull request
Mar 6, 2024
### Features - [pkg] Make schema.NewPluginLoader respect PULUMI_DEBUG_PROVIDERS, which enables Pulumi YAML programs to work correctly with this feature [#15526](#15526) - [sdk/python] Add support for asynchronous invokes via a new `invoke_async` function [#15602](#15602) - [sdkgen/dotnet] Support for non-overlay components in codegen for pulumi-kubernetes provider [#15490](#15490) ### Bug Fixes - [backend/service] Make decrypt/encrypt network calls retryable to help work around network hiccups [#15600](#15600) - [cli/new] Strip credentials and query strings from template URLs saved to project [#15586](#15586) - [engine] Fix an issue where snapshots could become invalid when doing a targeted up [#15476](#15476) - [sdk/python] Fix determining plugins for old packages in the Python language host [#15576](#15576) - [pkg/testing] Make ProgramTest use a temporary PULUMI_HOME for each test [#15568](#15568) - [sdkgen/dotnet] Codegen fix for resources without constant input properties [#15488](#15488)
Merged
github-merge-queue bot
pushed a commit
that referenced
this pull request
Mar 7, 2024
Draft changelog: ### Features - [auto/{go,nodejs,python}] Add support for suppress progress and suppress outputs parameters in the Automation API [#15596](#15596) - [pkg] Make schema.NewPluginLoader respect PULUMI_DEBUG_PROVIDERS, which enables Pulumi YAML programs to work correctly with this feature [#15526](#15526) - [sdk/dotnet] Update dotnet language host to 3.60.0 [#15609](#15609) - [sdk/nodejs] Add experimental support to the NodeJS SDK for the new transforms system. [#15532](#15532) - [sdk/python] Add support for asynchronous invokes via a new `invoke_async` function [#15602](#15602) - [sdkgen/dotnet] Support for non-overlay components in codegen for pulumi-kubernetes provider [#15490](#15490) ### Bug Fixes - [cli] Fix a panic when the secrets provider is missing from the deployment snapshot [#15599](#15599) - [backend/service] Make decrypt/encrypt network calls retryable to help work around network hiccups [#15600](#15600) - [cli/new] Strip credentials and query strings from template URLs saved to project [#15586](#15586) - [engine] Fix an issue where snapshots could become invalid when doing a targeted up [#15476](#15476) - [pkg/testing] Make ProgramTest use a temporary PULUMI_HOME for each test [#15568](#15568) - [sdkgen/dotnet] Codegen fix for resources without constant input properties [#15488](#15488) - [sdk/nodejs] Properly capture node:crypto and global.crypto in node 19+ - [sdk/python] Fix determining plugins for old packages in the Python language host [#15576](#15576)
This was referenced Mar 8, 2024
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.
Description
With this change pulumi-yaml can pick up local provider and attach to it from PULUMI_DEBUG_PROVIDERS for the purposes of schema resolution, which enables using non-existent test-only providers. Before the change it would fail hard trying to download it.
Checklist
make tidy
to update any new dependenciesmake lint
to verify my code passes the lint checkgofumpt
make changelog
and committed thechangelog/pending/<file>
documenting my change