Skip to content

[1.29] Fix crash with --disable-interactivity and EFResume#6303

Draft
Trenly wants to merge 1 commit into
microsoft:release-v1.29from
Trenly:PickInteractivity129
Draft

[1.29] Fix crash with --disable-interactivity and EFResume#6303
Trenly wants to merge 1 commit into
microsoft:release-v1.29from
Trenly:PickInteractivity129

Conversation

@Trenly

@Trenly Trenly commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

📖 Description

Cherry Picks #6302 into v1.29

When winget install --disable-interactivity is executed with the Resume experimental feature enabled, checkpoint creation saves all command-line arguments. On resume or during checkpoint validation, the code calls Argument::ForType() on every saved argument type to reconstruct the execution context. However, Execution::Args::Type::DisableInteractivity was missing from the Argument::ForType() switch statement, causing the default case to throw E_UNEXPECTED (0x8000ffff) instead of properly handling the flag.

🔗 References

🔍 Validation

✅ Checklist

📋 Issue Type

  • Bug fix
  • Feature
  • Task
Microsoft Reviewers: Open in CodeFlow

@Trenly Trenly changed the title Fix crash with --disable-interactivity and EFResume [1.29] Fix crash with --disable-interactivity and EFResume Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant