media: expose removed devices in getupdateddevices #520
Triggered via issue
December 3, 2024 17:58
Status
Failure
Total duration
1m 54s
Artifacts
–
canary-release.yml
on: issue_comment
Canary Release
1m 43s
Annotations
2 errors and 1 warning
Canary Release
@whereby.com/core#build: command (/home/runner/work/sdk/sdk/packages/core) /tmp/yarn--1733248796282-0.7627540525726255/yarn run build exited (1)
|
Canary Release
Unhandled error: Error: Command failed with exit code 1: yarn release -- --no-git-tags --snapshot --tag canary
warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
Attention:
Turborepo now collects completely anonymous telemetry regarding usage.
This information is used to shape the Turborepo roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://turbo.build/repo/docs/telemetry
turbo 2.0.14
::error::@whereby.com/core#build: command (/home/runner/work/sdk/sdk/packages/core) /tmp/yarn--1733248796282-0.7627540525726255/yarn run build exited (1)
ERROR run failed: command exited (1)
error Command failed with exit code 1.
error Command failed with exit code 1.
yarn run v1.22.22
$ yarn build && changeset publish --no-git-tags --snapshot --tag canary
$ turbo build
• Packages in scope: @whereby.com/browser-sdk, @whereby.com/core, @whereby.com/eslint-config, @whereby.com/media, @whereby.com/react-native-sdk, embed-element-app, nextjs-example, quiz-app, react-native-webview-example, sample-app, telehealth-tutorial-app
• Running build in 11 packages
• Remote caching disabled
::group::@whereby.com/media:build
cache miss, executing 7ebf79119d2bcc4e
yarn run v1.22.22
$ rimraf dist && rollup -c rollup.config.js
src/index.ts → dist/index.mjs...
created dist/index.mjs in 5.7s
src/index.ts → dist/legacy-esm.js...
created dist/legacy-esm.js in 2.7s
src/index.ts → dist/index.cjs...
created dist/index.cjs in 2.5s
src/index.ts → dist/index.d.ts...
created dist/index.d.ts in 1.6s
src/index.ts → dist/index.d.cts...
created dist/index.d.cts in 1.5s
src/index.ts → dist/index.d.mts...
created dist/index.d.mts in 1.4s
Done in 16.24s.
::endgroup::
�[;31m@whereby.com/core:build�[;0m
cache miss, executing a81b30e8d0e9157e
yarn run v1.22.22
$ rimraf dist && rollup -c rollup.config.js
src/index.ts → dist/index.mjs...
[!] (plugin rpt2) RollupError: [plugin rpt2] src/redux/slices/localMedia.ts:428:48 - error TS2322: Type 'string | null | undefined' is not assignable to type 'string | undefined'.
Type 'null' is not assignable to type 'string | undefined'.
428 dispatch(doSwitchLocalStream({ audioId: autoSwitchAudioId, videoId: autoSwitchVideoId }));
~~~~~~~
src/redux/slices/localMedia.ts:440:36
440 async ({ audioId, videoId }: { audioId?: string; videoId?: string }, { dispatch, getState, rejectWithValue }) => {
~~~~~~~
The expected type comes from property 'audioId' which is declared here on type '{ audioId?: string | undefined; videoId?: string | undefined; }'
src/redux/slices/localMedia.ts:428:76 - error TS2322: Type 'string | null | undefined' is not assignable to type 'string | undefined'.
428 dispatch(doSwitchLocalStream({ audioId: autoSwitchAudioId, videoId: autoSwitchVideoId }));
~~~~~~~
src/redux/slices/localMedia.ts:440:54
440 async ({ audioId, videoId }: { audioId?: string; videoId?: string }, { dispatch, getState, rejectWithValue }) => {
~~~~~~~
The expected type comes from property 'videoId' which is
|
Canary Release
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|