Skip to content

fix(plugin): cancel every OpenGUI task phase - #91

Merged
HarveySang merged 3 commits into
mainfrom
codex/fix-opengui-stop-cancellation
Sep 1, 2026
Merged

fix(plugin): cancel every OpenGUI task phase#91
HarveySang merged 3 commits into
mainfrom
codex/fix-opengui-stop-cancellation

Conversation

@HarveySang

@HarveySang HarveySang commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • route model preparation, device waiting, execution, and failure recovery through the fused OpenGUI task lease signal
  • stop late-settling prepare, wait, preflight, and recovery work from advancing after cancellation
  • preserve aborts that model capability probes previously swallowed
  • bound Host stop requests to 5 seconds and show stop failures beside the composer control
  • add red-green regression coverage for every affected cancellation boundary and both hung stop-request stages

Verification

  • pnpm run check
  • 42 test files / 239 tests passed
  • TypeScript, Host/Client/Codex bundles, and Codex plugin structure validation passed

Runtime boundary

No active DSH Host or Android device was available for a real-device E2E check.

The workbench stop signal was lost because model preparation, device waiting, and recovery kept using the parent interaction signal. Route the full prepared-task lifecycle through the fused task lease signal and pin all three phases with red-green regression coverage.
Preserve cancellation across late-settling preparation and recovery work, bound Host stop requests, and surface stop failures in the composer.
Separate the mutation timeout from the best-effort status refresh so a stale status request cannot turn an accepted cancellation into a false failure.
@HarveySang
HarveySang merged commit 7319b01 into main Sep 1, 2026
4 checks passed
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