Skip to content

fix: ensures the translateMessage Meteor method validates access and type#40546

Merged
julio-rocketchat merged 3 commits into
release-7.10.12from
backport-7.10.12-40528
May 15, 2026
Merged

fix: ensures the translateMessage Meteor method validates access and type#40546
julio-rocketchat merged 3 commits into
release-7.10.12from
backport-7.10.12-40528

Conversation

@dionisio-bot
Copy link
Copy Markdown
Contributor

@dionisio-bot dionisio-bot Bot commented May 14, 2026

Backport of #40528

@dionisio-bot dionisio-bot Bot requested a review from a team as a code owner May 14, 2026 21:02
@dionisio-bot dionisio-bot Bot requested a review from julio-rocketchat May 14, 2026 21:02
@dionisio-bot dionisio-bot Bot added the backport Used to inform backported PR label May 14, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 14, 2026

🦋 Changeset detected

Latest commit: 9c110b1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 39 packages
Name Type
@rocket.chat/meteor Patch
@rocket.chat/core-typings Patch
@rocket.chat/rest-typings Patch
@rocket.chat/uikit-playground Patch
@rocket.chat/api-client Patch
@rocket.chat/apps Patch
@rocket.chat/core-services Patch
@rocket.chat/cron Patch
@rocket.chat/ddp-client Patch
@rocket.chat/freeswitch Patch
@rocket.chat/fuselage-ui-kit Patch
@rocket.chat/gazzodown Patch
@rocket.chat/http-router Patch
@rocket.chat/livechat Patch
@rocket.chat/model-typings Patch
@rocket.chat/ui-avatar Patch
@rocket.chat/ui-client Patch
@rocket.chat/ui-contexts Patch
@rocket.chat/web-ui-registration Patch
@rocket.chat/account-service Patch
@rocket.chat/authorization-service Patch
@rocket.chat/ddp-streamer Patch
@rocket.chat/omnichannel-transcript Patch
@rocket.chat/presence-service Patch
@rocket.chat/queue-worker Patch
@rocket.chat/stream-hub-service Patch
@rocket.chat/license Patch
@rocket.chat/omnichannel-services Patch
@rocket.chat/pdf-worker Patch
@rocket.chat/presence Patch
rocketchat-services Patch
@rocket.chat/models Patch
@rocket.chat/network-broker Patch
@rocket.chat/mock-providers Patch
@rocket.chat/ui-video-conf Patch
@rocket.chat/ui-voip Patch
@rocket.chat/instance-status Patch
@rocket.chat/omni-core Patch
@rocket.chat/omni-core-ee Patch

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

@codecov
Copy link
Copy Markdown

codecov Bot commented May 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.29%. Comparing base (85f0f2d) to head (cc427d3).
⚠️ Report is 1 commits behind head on release-7.10.12.

Additional details and impacted files

Impacted file tree graph

@@                 Coverage Diff                 @@
##           release-7.10.12   #40546      +/-   ##
===================================================
+ Coverage            66.28%   66.29%   +0.01%     
===================================================
  Files                 3311     3311              
  Lines               111271   111271              
  Branches             21055    21059       +4     
===================================================
+ Hits                 73751    73770      +19     
+ Misses               34779    34758      -21     
- Partials              2741     2743       +2     
Flag Coverage Δ
e2e 57.47% <ø> (-0.02%) ⬇️
unit 71.52% <ø> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dionisio-bot
Copy link
Copy Markdown
Contributor Author

dionisio-bot Bot commented May 15, 2026

Looks like this PR is not ready to merge, because of the following issues:

  • This PR is missing the 'stat: QA assured' label
  • This PR is missing the required milestone or project

Please fix the issues and try again

If you have any trouble, please check the PR guidelines

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 3 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="apps/meteor/tests/end-to-end/api/autotranslate.ts">

<violation number="1" location="apps/meteor/tests/end-to-end/api/autotranslate.ts:456">
P2: Method-call errors are returned in a 200 response with `success: true`; this assertion expects the wrong status/shape for `error-not-allowed`.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread apps/meteor/tests/end-to-end/api/autotranslate.ts Outdated
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
@julio-rocketchat julio-rocketchat merged commit aa49925 into release-7.10.12 May 15, 2026
156 of 165 checks passed
@julio-rocketchat julio-rocketchat deleted the backport-7.10.12-40528 branch May 15, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Used to inform backported PR community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants