-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Pulumi automation does not understand 'output-change' #16126
Labels
area/automation-api
area/cli
UX of using the CLI (args, output, logs)
impact/regression
Something that used to work, but is now broken
kind/bug
Some behavior is incorrect or out of spec
p1
Bugs severe enough to be the next item assigned to an engineer
resolution/fixed
This issue was fixed
Milestone
Comments
Phil1972
added
kind/bug
Some behavior is incorrect or out of spec
needs-triage
Needs attention from the triage team
labels
May 6, 2024
This looks like a regression due to #15903 Before that, we wouldn't show an v3.114.0
v3.115.1
@PollRobots, can we elide |
justinvp
added
area/cli
UX of using the CLI (args, output, logs)
area/automation-api
impact/regression
Something that used to work, but is now broken
p1
Bugs severe enough to be the next item assigned to an engineer
and removed
needs-triage
Needs attention from the triage team
area/cli
UX of using the CLI (args, output, logs)
labels
May 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/automation-api
area/cli
UX of using the CLI (args, output, logs)
impact/regression
Something that used to work, but is now broken
kind/bug
Some behavior is incorrect or out of spec
p1
Bugs severe enough to be the next item assigned to an engineer
resolution/fixed
This issue was fixed
What happened?
I am trying to preview a stack with the newest CLI 3.115.0 and for resources that change, the preview shows 'output-change' instead of the proper verb I guess and that crashes the automation module.
Example
See report above
and the automation fails with this:
System.InvalidOperationException: 'output-change' is not valid Pulumi.Automation.OperationType at Pulumi.Automation.Serialization.OperationTypeConverter.Convert(String input) at Pulumi.Automation.Serialization.Json.ResourceChangesJsonConverter.Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options) at System.Text.Json.Serialization.JsonConverter
1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)at System.Text.Json.Serialization.Metadata.JsonPropertyInfo
1.ReadJsonAndSetMember(Object obj, ReadStack& state, Utf8JsonReader& reader) at System.Text.Json.Serialization.Converters.ObjectDefaultConverter
1.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)at System.Text.Json.Serialization.JsonConverter
1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value) at System.Text.Json.Serialization.Metadata.JsonPropertyInfo
1.ReadJsonAndSetMember(Object obj, ReadStack& state, Utf8JsonReader& reader)at System.Text.Json.Serialization.Converters.ObjectDefaultConverter
1.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value) at System.Text.Json.Serialization.JsonConverter
1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)at System.Text.Json.Serialization.JsonConverter
1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state) at System.Text.Json.JsonSerializer.Read[TValue](Utf8JsonReader& reader, JsonTypeInfo jsonTypeInfo) at Pulumi.Automation.Serialization.Json.MapToModelJsonConverter
2.Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options)at System.Text.Json.Serialization.JsonConverter
1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value) at System.Text.Json.Serialization.JsonConverter
1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan
1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable
1 actualByteCount)at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan
1 json, JsonTypeInfo jsonTypeInfo) at Pulumi.Automation.Events.EventLogWatcher.ReadEventsOnce() at Pulumi.Automation.Events.EventLogWatcher.ReadEventsOnce() at Pulumi.Automation.Events.EventLogWatcher.PollForEvents(CancellationToken externalCancellationToken) at Pulumi.Automation.Events.EventLogWatcher.AwaitPollingTask() at Pulumi.Automation.Events.EventLogWatcher.Stop() at Pulumi.Automation.Commands.LocalPulumiCommand.RunAsync(IList
1 args, String workingDir, IDictionary2 additionalEnv, Action
1 onStandardOutput, Action1 onStandardError, Action
1 onEngineEvent, CancellationToken cancellationToken)at Pulumi.Automation.Workspace.RunStackCommandAsync(String stackName, IList
1 args, Action
1 onStandardOutput, Action1 onStandardError, Action
1 onEngineEvent, CancellationToken cancellationToken)at Pulumi.Automation.WorkspaceStack.RunCommandAsync(IList
1 args, Action
1 onStandardOutput, Action1 onStandardError, Action
1 onEngineEvent, CancellationToken cancellationToken)at Pulumi.Automation.WorkspaceStack.PreviewAsync(PreviewOptions options, CancellationToken cancellationToken)
at Pulumi.Automation.WorkspaceStack.PreviewAsync(PreviewOptions options, CancellationToken cancellationToken)
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func
3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates
1 shouldRetryResultPredicates, Func5 onRetryAsync, Int32 permittedRetryCount, IEnumerable
1 sleepDurationsEnumerable, Func4 sleepDurationProvider, Boolean continueOnCapturedContext) at Polly.AsyncPolicy.ExecuteAsync[TResult](Func
3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)at Program.Preview(WorkspaceStack stack, Int32 attempt) in /home/vsts/work/1/s/src/Infra.Automation/Program.cs:line 230`
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: