Repository navigation
chore: upgrade @100mslive/hms-video-store to 0.15.0 - #1163
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. Summary by CodeRabbit
WalkthroughThe HMS video store dependency is upgraded from 0.10.6 to 0.14.7. Presenter video detachment now runs only when the live room is connected, while screen-share state continues to reset. ChangesHMS live video flow
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Other · Severity of issue fixed: Medium Merge Risk: ⚪ Minimal · up to The upgrade and connection-state guard do not leave an actionable current-head risk. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
Full details: Linked Issues checkExplanation The PR updates ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. A rabbit checks the room before the track can flee, Comment |
Deploying www-rds with
|
| Latest commit: |
8d39484
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://1b0a892f.www-rds.pages.dev |
| Branch Preview URL: | https://chore-upgrade-100ms-video-st.www-rds.pages.dev |
84b18ed to
d099e5d
Compare
Bumps the 100ms SDK used by the live events page from 0.10.6 (2023) to 0.14.7. Since 0.11 the core @100mslive/hms-video package is bundled into hms-video-store, so it drops out of the lockfile. The only code change is a guard in LiveService.renderScreenVideoToPeers: detachVideo now reads the SDK store, which only exists after a room has been joined, and the peers subscription fires on construction. Without the guard the service throws (unhandled rejection) on every page that injects it before join. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Entire-Checkpoint: 01M27X1H3G7V7Y686T8BT20V5Q
d099e5d to
ed6fe3b
Compare
|
@coderabbitai Please review it again |
|
✅ Action performedFull review finished. |
Date: 11-09-2026
Developer Name:
Ankush DharkarIssue Ticket Number:-
Description:
@100mslive/hms-video-storefrom0.10.6(June 2023) to0.15.0, keeping the exact pin inpackage.json.0.11, the core@100mslive/hms-videopackage is bundled directly intohms-video-store. It has been removed frompnpm-lock.yaml, leaving a single@100mslive/hms-video-store@0.15.0package entry.app/services/live.js):hmsActions.detachVideoqueries internal state viasdk.store.getTrackById, which is only available once a room has been joined or previewed (0.10.6used a local map that tolerated early invocations).detachVideo(undefined, videoEl)during initialization (triggerOnSubscribe()), causing an unhandled rejection and test failures on any page injecting the service.detachVideowithif (this.hmsStore.getState(selectIsConnectedToRoom)).isJoinedproperty to prevent Ember's backtracking re-render assertions during the subscribe lifecycle.Is Under Feature Flag
Database changes
Breaking changes (If your feature is breaking/missing something please mention pending tickets)
Is Development Tested?
Tested in staging?
Test & Verification Summary
View Test Details
pnpm lintpasses (CSS, HBS, format, JS all exit 0).pnpm test:emberpasses (382 pass, 6 skip, 0 fail).live.js, 12 tests fail withTypeError: Cannot read properties of undefined (reading 'getTrackById').pnpm buildexits 0.Lint,build) and Cloudflare Pages deployment checks pass.Additional Notes
isScreenShareOnresets tofalse).ROOM_ENDEDtoast.detachVideoguard inapp/services/live.js; the rest is lockfile resolution and dependency pinning.