Skip to content

fix: pass messageId in iOS lifecycle tests to match message_complete guard#23053

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

fix: pass messageId in iOS lifecycle tests to match message_complete guard#23053
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/23878739463/job/69627346840

…guard

The guard added in f97ad8a skips message_complete events without messageId
while isSending is true. These two tests send messages then call
MessageCompleteMessage() without a messageId, causing the handler to no-op.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@siddseethepalli siddseethepalli merged commit 18a9f18 into main Apr 2, 2026
@siddseethepalli siddseethepalli deleted the do/fix-ios-message-complete-tests branch April 2, 2026 01:20
siddseethepalli added a commit that referenced this pull request Apr 2, 2026
…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 added a commit that referenced this pull request Apr 2, 2026
…ete guard (#23059)

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>
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