You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pulumi lexicon: disruption classes from the preview observation's plan attributes #5378
chant lifecycle plan reports every Pulumi update with disruption unknown, even when the member was observed at preview depth.
annotateDisruption (packages/core/src/cli/handlers/lifecycle.ts:1633) hands the lexicon each entry's observed attributes. The pulumi classifier, classifyPulumiDisruption in lexicons/pulumi/src/disruption.ts, answers only from a previewSteps attribute. The preview observation from #5332 (lexicons/pulumi/src/preview-observation.ts) writes the terraform plan depth's attribute names (planAction, planActions, planActionReason and planReplacePaths) and has no previewSteps. Nothing sets previewSteps on an observed resource, so the classifier gets no steps and core reads the missing verdict as unknown.
Acceptance criteria
classifyPulumiDisruption answers from the plan attributes the preview observation writes, with the table in disruption.ts.
Callers that build queries with pulumiDisruptionQueries keep their previewSteps answers.
A test runs lifecycle plan on a pulumi member observed at preview depth and shows an in-place, a replace and a destroy verdict.
An entry with no plan attributes still reads unknown.
The pulumi lexicon exports a *_FLOOR for it in src/chant-floors.ts.
Activity