Skip to content

fix: avoid stuck HUD when short recording is cancelled#156

Merged
isecret merged 1 commit into
mainfrom
fix/hud-short-recording-cancel
Jun 3, 2026
Merged

fix: avoid stuck HUD when short recording is cancelled#156
isecret merged 1 commit into
mainfrom
fix/hud-short-recording-cancel

Conversation

@isecret

@isecret isecret commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • avoid sending recordingStopped for short recordings that should be silently cancelled
  • send processingCancelled for the quick start/stop path so the HUD dismisses instead of staying in thinking
  • add regression coverage for both SessionCoordinator and HUDFeedbackController

Testing

  • DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer xcodebuild test -project Typoless.xcodeproj -scheme Typoless -configuration Debug -destination platform=macOS -derivedDataPath /Users/secret/Projects/playground/typoless/app/.build/DerivedData -only-testing:TypolessTests/SessionCoordinatorLearningTests -only-testing:TypolessTests/HUDFeedbackControllerTests

Closes #155

@isecret isecret merged commit 9b2cb3f into main Jun 3, 2026
1 check 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.

bug: 快速启动后立即停止会导致 HUD 卡在 thinking

1 participant