Skip to content

Keep engine installation status current - #326

Open
dajiaohuang wants to merge 3 commits into
Anil-matcha:mainfrom
dajiaohuang:fix/engine-install-stale-status
Open

dajiaohuang wants to merge 3 commits into
Anil-matcha:mainfrom
dajiaohuang:fix/engine-install-stale-status

Conversation

@dajiaohuang

@dajiaohuang dajiaohuang commented Nov 14, 2026 •

Copy link
Copy Markdown

An older engine-install status request can finish after the user starts an install and replace the running operation with an idle status. The UI then hides Cancel and enables Install again while the operation is running. Ignore superseded status responses and invalidate pending status reads when starting or cancelling an operation. Keep failed cancellation feedback visible when later status polls succeed.

Validation: headless Chrome mounted the actual component with synthetic API responses. A delayed idle status reproduced the missing Cancel button before the change; after the change the running operation and disabled Install button remained. A status response slower than the polling interval also completed successfully despite later polls. A failed cancellation remained visible through successful polls. Focused ESLint and git diff --check passed. Real desktop installation, backend integration and CI were not run.

@dajiaohuang
dajiaohuang marked this pull request as ready for review November 14, 2026 08:40
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