Skip to content

fix: stabilize feature prompt autosave tests#61

Merged
hehehai merged 1 commit intomainfrom
codex/feature-prompt-autosave-followup
May 6, 2026
Merged

fix: stabilize feature prompt autosave tests#61
hehehai merged 1 commit intomainfrom
codex/feature-prompt-autosave-followup

Conversation

@hehehai
Copy link
Copy Markdown
Owner

@hehehai hehehai commented May 6, 2026

  • Summary of changes

    • Refactor FeaturePromptSection to coordinate local draft, external sync, and debounced autosave through FeaturePromptDraftCoordinator.
    • Add FeaturePromptDraftCoordinatorTests to cover initialization, flush behavior, stale debounce payloads, round-trip echo suppression, and external updates.
    • Align VoxtTests signing settings with the app target and enable generated test bundle Info.plist so local test execution works again.
  • Test plan

    • xcodebuild build-for-testing -project Voxt.xcodeproj -scheme Voxt -configuration TestDebug -destination "platform=macOS" -derivedDataPath /Users/guanwei/x/doit/Voxt/build/DerivedDataFeaturePromptFixed
    • xcodebuild test-without-building -project Voxt.xcodeproj -scheme Voxt -configuration TestDebug -destination "platform=macOS" -derivedDataPath /Users/guanwei/x/doit/Voxt/build/DerivedDataFeaturePromptFixed -only-testing:VoxtTests/FeaturePromptDraftCoordinatorTests

@hehehai hehehai merged commit ca1e179 into main May 6, 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.

1 participant