Skip to content

Fix crash with --disable-interactivity and EFResume#6302

Open
Trenly wants to merge 1 commit into
microsoft:masterfrom
Trenly:InteractivityFix
Open

Fix crash with --disable-interactivity and EFResume#6302
Trenly wants to merge 1 commit into
microsoft:masterfrom
Trenly:InteractivityFix

Conversation

@Trenly

@Trenly Trenly commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

📖 Description

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

Manually tested - did not add unit tests as resume is still experimental

✅ Checklist

📋 Issue Type

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

@Trenly Trenly requested a review from a team as a code owner June 19, 2026 19:43
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.

Installing with --disable-interactivity flag with the "Resume" experimental feature enabled results in "0x8000ffff : Catastrophic failure"

1 participant