-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix race condition issues with e2e tests for realtime-api #791
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🦋 Changeset detectedLatest commit: f104116 The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
f915f49
to
3f64076
Compare
3f64076
to
1535d4f
Compare
e70d139
to
4d31f76
Compare
4d31f76
to
2512bee
Compare
a21500b
to
0ef84f9
Compare
0ef84f9
to
f104116
Compare
edolix
approved these changes
May 22, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @iAmmar7 🙌
edolix
pushed a commit
that referenced
this pull request
May 22, 2023
* Fix race condition issues with e2e tests for realtime-api * fix prompt type issue * Caller and Callee wait for each other on each step * sleep removed from the voice tap e2e * fix voice record e2e * voice collect e2e * voice record multiple * voice detect event * encap the outbound call within try catch * removed unnecessary wait * fix call detect e2e * enable all test cases * fix voice peer call with promise * fix voice prompt * improve voice test * enable all the CI jobs * remove sleep for video api * handled failed state for calling.call.connect event * enable all the pipelines * include changeset
edolix
pushed a commit
that referenced
this pull request
May 22, 2023
* Fix race condition issues with e2e tests for realtime-api * fix prompt type issue * Caller and Callee wait for each other on each step * sleep removed from the voice tap e2e * fix voice record e2e * voice collect e2e * voice record multiple * voice detect event * encap the outbound call within try catch * removed unnecessary wait * fix call detect e2e * enable all test cases * fix voice peer call with promise * fix voice prompt * improve voice test * enable all the CI jobs * remove sleep for video api * handled failed state for calling.call.connect event * enable all the pipelines * include changeset
edolix
pushed a commit
that referenced
this pull request
May 22, 2023
* Fix race condition issues with e2e tests for realtime-api * fix prompt type issue * Caller and Callee wait for each other on each step * sleep removed from the voice tap e2e * fix voice record e2e * voice collect e2e * voice record multiple * voice detect event * encap the outbound call within try catch * removed unnecessary wait * fix call detect e2e * enable all test cases * fix voice peer call with promise * fix voice prompt * improve voice test * enable all the CI jobs * remove sleep for video api * handled failed state for calling.call.connect event * enable all the pipelines * include changeset
edolix
pushed a commit
that referenced
this pull request
Jun 6, 2023
* EventEmitter for each instance of a component (#754) * EventEmitter for each instance of a component * remove branch from the main workflow * add changeset * add dev branch to workflow * add dev branch to ci/cd * Parent voice call worker to fork child call workers (#762) * Calling worker to fork call workers * hanlde calling.call.state events * handle calling.call.dial event and move dial function to the client * fix answer() promise * handle calling.call.collect event * hanlde calling.call.send_digits event * handle calling.call.detect event * handle calling.call.tap event * handle calling.call.prompt event * handle calling.call.connect event * override on, once, and off functions for the Call * replace _on with on in e2e test cases * include changeset * fix playback event for prompt * fix call.detect event with internal sdk worker * unit test cases fix * rebased with the dev * replace overriden functions * fix instanceMap arg --------- Co-authored-by: edolix <[email protected]> * GH Action jobs should not run on push (#780) * Cleanup emitter transform for Voice Call APIs (#781) * Cleanup emitter transform for Voice Call APIs * include changeset * Use base event emitter for Message API (#782) * Use base event emitter for Message API * emitter transform remove and changeset include * ApplyEventListeners comment update * Use base event emitter for Chat & PubSub API (#783) * base emitter for chat and pubsub api * changeset included * improve pubsub and chat worker initializing * fix chat and pubsub e2e js case * improve chat and pubsub e2e js case * SDK child worker type fix * type issues fix for sub workers * more debug * more debug in voiceCallPlayWorker * update payload from voiceCallDialWorker * run only voice test for now * override event listeners for call instances * fix node script * fix voiceCallConnectWorker bug * fix test cases for playback and recording --------- Co-authored-by: edolix <[email protected]> * Use base event emitter for realtime video API (#784) * Use base event emitter for realtime Video API * videoMember worker initiated * internal sdk video event to resolve getRoomSessions promise * internal sdk event to resolve getRoomSessionById promise * handle video.playback events with base emitter * room session playback functions for realtime-api * handle video.recording events and shared methods * custom video.member events with backward compatibilty * handle video stream events and methods * handle layout event from the server * video room audience count event * worker introduced to inject instances in the instance map * validation for instances in injectInInstanceMapWorker * return value fix for play and recording functions * fix unit test case for video class * expose intanceMap through BaseComponent and remove injectInInstanceMap worker * removed emitter transform from the RoomSession object and fix RoomSessionMember unit tests * unit tests for room session playback, recording, and stream classes * comments for stream class * video room sdk worker removed and related types * add playground with DTMF loop * review changesets * Fix race condition issues with e2e tests for realtime-api (#791) * Fix race condition issues with e2e tests for realtime-api * fix prompt type issue * Caller and Callee wait for each other on each step * sleep removed from the voice tap e2e * fix voice record e2e * voice collect e2e * voice record multiple * voice detect event * encap the outbound call within try catch * removed unnecessary wait * fix call detect e2e * enable all test cases * fix voice peer call with promise * fix voice prompt * improve voice test * enable all the CI jobs * remove sleep for video api * handled failed state for calling.call.connect event * enable all the pipelines * include changeset * review changesets [skip ci] * Trigger CI * reduce logs * just add feedback in playground * Use instance map for Voice APIs instance creation (#799) * Use instance map for Voice APIs instance creation * changeset include * Remove instance when action ended (#802) * Remove instance when action ended * remove comment from the videoRoomWorker * Fix types for component's payload object (#801) * Fix types for component's payload object * fix build issue * include BaseComponentOptionsWithPayload interface * Override attach events function for BasePubSub (#804) * Return RoomSessionMember object instead of plain Member object in realtime-api (#803) * Return RoomSessionMember object instead of plain Member object * fix build bug * include changeset * fix build --------- Co-authored-by: Ammar Ansari <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.