Skip to content

fix: pass messageId in iOS ChatViewModel tests to match message_complete guard#23059

Merged
siddseethepalli merged 1 commit into
mainfrom
do/fix-ios-message-complete-tests
Apr 2, 2026
Merged

fix: pass messageId in iOS ChatViewModel tests to match message_complete guard#23059
siddseethepalli merged 1 commit into
mainfrom
do/fix-ios-message-complete-tests

Conversation

@siddseethepalli
Copy link
Copy Markdown
Contributor

Summary

Original prompt

--yolo Fix the specific CI issue in this failing job only: https://github.com/vellum-ai/vellum-assistant/actions/runs/23878980674/job/69628064850

…ete guard

The message_complete guard (ChatActionHandler:355) returns early when
messageId is nil and isSending is true, preventing state cleanup.
Tests were constructing MessageCompleteMessage() without a messageId,
triggering the guard and causing XCTAssertFalse failures.

Same fix pattern as #23053 which addressed ConversationLifecycleIOSTests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@siddseethepalli siddseethepalli merged commit 0d4b1c0 into main Apr 2, 2026
@siddseethepalli siddseethepalli deleted the do/fix-ios-message-complete-tests branch April 2, 2026 01:31
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