Skip to content

fix: wrong user role showing in channel #25457

fix: wrong user role showing in channel

fix: wrong user role showing in channel #25457

Triggered via pull request September 15, 2024 07:54
Status Failure
Total duration 13m 24s
Artifacts 1

ci.yml

on: pull_request
⚙️ Variables Setup
7s
⚙️ Variables Setup
🚀 Notify external services - draft
5s
🚀 Notify external services - draft
📦 Build Packages
1m 35s
📦 Build Packages
Matrix: 🔎 Code Check / code-check
📦 Meteor Build - coverage
6m 52s
📦 Meteor Build - coverage
🔨 Test Unit  /  Unit Tests
1m 57s
🔨 Test Unit / Unit Tests
Matrix: 🚢 Build Docker Images for Testing
🚢 Build Docker Image (preview)
0s
🚢 Build Docker Image (preview)
Matrix: 🔨 Test API (EE) / test
Waiting for pending jobs
Matrix: 🔨 Test API (CE) / test
Waiting for pending jobs
Matrix: 🔨 Test UI (EE) / test
Waiting for pending jobs
Matrix: 🔨 Test UI (EE) / test
Waiting for pending jobs
Matrix: 🔨 Test UI (CE) / test
Waiting for pending jobs
✅ Tests Done
0s
✅ Tests Done
📦 Meteor Build - official
0s
📦 Meteor Build - official
Matrix: 🚢 Build Docker Images for Production
🚀 Publish build assets
0s
🚀 Publish build assets
Matrix: 🚀 Publish Docker Image (main)
Matrix: 🚀 Publish Docker Image (services)
🚀 Notify external services
0s
🚀 Notify external services
trigger-dependent-workflows
0s
trigger-dependent-workflows
Update Version Durability  /  update-versions
Update Version Durability / update-versions
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 15 warnings
🔎 Code Check / TypeScript
Cannot find module '/client/lib/queryClient' or its corresponding type declarations.
🔎 Code Check / TypeScript
Cannot find module '/client/lib/queryClient' or its corresponding type declarations.
🔎 Code Check / TypeScript
@rocket.chat/meteor#typecheck: command (/home/runner/work/Rocket.Chat/Rocket.Chat/apps/meteor) /tmp/xfs-ea9a116c/yarn run typecheck exited (2)
🔎 Code Check / TypeScript
Process completed with exit code 2.
🔎 Code Check / Code Lint
@rocket.chat/meteor#lint: command (/home/runner/work/Rocket.Chat/Rocket.Chat/apps/meteor) /tmp/xfs-4d547b06/yarn run lint exited (1)
🔎 Code Check / Code Lint: apps/meteor/client/views/room/hooks/useUserHasRoomRole.ts#L4
There should be at least one empty line between import groups
🔎 Code Check / Code Lint: apps/meteor/client/views/room/hooks/useUserHasRoomRole.ts#L5
`@tanstack/react-query` import should occur before import of `react`
🔎 Code Check / Code Lint: apps/meteor/client/views/room/hooks/useUserHasRoomRole.ts#L6
`@rocket.chat/ui-contexts` import should occur before import of `react`
🔎 Code Check / Code Lint: apps/meteor/client/views/room/hooks/useUserInfoActions/actions/useChangeLeaderAction.ts#L9
There should be at least one empty line between import groups
✅ Tests Done
Process completed with exit code 1.
📦 Build Packages
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3, actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
🔎 Code Check / TypeScript
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3, actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
🔨 Test Unit / Unit Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3, actions/[email protected], codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
📦 Meteor Build - coverage
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3, actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
🔎 Code Check / Code Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3, actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
🔎 Code Check / Code Lint: apps/meteor/app/lib/server/lib/debug.js#L84
Consider using the native Array.prototype.forEach() or Object.entries().forEach()
🔎 Code Check / Code Lint: apps/meteor/app/lib/server/oauth/oauth.js#L42
Consider using the native Array.prototype.includes()
🔎 Code Check / Code Lint: apps/meteor/app/lib/server/startup/rateLimiter.js#L65
Consider using the native Array.prototype.forEach() or Object.entries().forEach()
🔎 Code Check / Code Lint: apps/meteor/app/livechat/server/lib/sendTranscript.ts#L26
Async function 'sendTranscript' has a complexity of 32. Maximum allowed is 31
🔎 Code Check / Code Lint: apps/meteor/app/markdown/lib/hljs.js#L10
Async arrow function has a complexity of 173. Maximum allowed is 31
🔎 Code Check / Code Lint: apps/meteor/app/meteor-accounts-saml/server/lib/SAML.ts#L81
Static async method 'insertOrUpdateSAMLUser' has a complexity of 33. Maximum allowed is 31

Artifacts

Produced during runtime
Name Size
build Expired
341 MB