Skip to content

Cherry-pick df65ed7e9: test(gateway): align outbound session assertion shape#1217

Merged
alexey-pelykh merged 1 commit intomainfrom
cherry-pick/df65ed7e9-align-outbound-session-assertion
Mar 13, 2026
Merged

Cherry-pick df65ed7e9: test(gateway): align outbound session assertion shape#1217
alexey-pelykh merged 1 commit intomainfrom
cherry-pick/df65ed7e9-align-outbound-session-assertion

Conversation

@alexey-pelykh
Copy link
Copy Markdown

Cherry-pick from upstream

Summary

Aligns outbound session assertion shapes in gateway send and message tests. Tests now assert against the session object (with agentId + key) instead of the flat agentId property, matching the session context forwarding changes from the previous commit.

Conflict Resolution

  • send.test.ts: 4 identical conflicts — fork (Batch 4) already wrapped agentId in session object but without key. Took upstream's more specific assertions that include both agentId and key.
  • message.test.ts: Both sides converged on session wrapper; fork changed channel from telegram to mattermost (rebrand). Kept fork's channel/to values with the session wrapper.

Cherry-picked-from: df65ed7

@alexey-pelykh alexey-pelykh merged commit f9ffc0a into main Mar 13, 2026
7 checks passed
@alexey-pelykh alexey-pelykh deleted the cherry-pick/df65ed7e9-align-outbound-session-assertion branch March 13, 2026 17:16
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.

2 participants