Skip to content

fix(apps): prevent installation invalidation on app cron updates#39516

Merged
dionisio-bot[bot] merged 1 commit intorelease-7.12.6from
backport-7.12.6-37152
Mar 11, 2026
Merged

fix(apps): prevent installation invalidation on app cron updates#39516
dionisio-bot[bot] merged 1 commit intorelease-7.12.6from
backport-7.12.6-37152

Conversation

@dionisio-bot
Copy link
Copy Markdown
Contributor

@dionisio-bot dionisio-bot bot commented Mar 10, 2026

Backport of #37152

@dionisio-bot dionisio-bot bot requested a review from a team as a code owner March 10, 2026 18:35
@dionisio-bot dionisio-bot bot requested a review from d-gubert March 10, 2026 18:35
@dionisio-bot dionisio-bot bot added the backport Used to inform backported PR label Mar 10, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 10, 2026

🦋 Changeset detected

Latest commit: ff5a755

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

This PR includes changesets to release 42 packages
Name Type
@rocket.chat/apps-engine Patch
@rocket.chat/meteor Patch
@rocket.chat/apps Patch
@rocket.chat/core-services Patch
@rocket.chat/core-typings Patch
@rocket.chat/fuselage-ui-kit Patch
@rocket.chat/rest-typings Patch
@rocket.chat/ddp-streamer Patch
@rocket.chat/presence Patch
rocketchat-services Patch
@rocket.chat/uikit-playground Patch
@rocket.chat/api-client Patch
@rocket.chat/cron Patch
@rocket.chat/ddp-client Patch
@rocket.chat/freeswitch 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/omnichannel-transcript Patch
@rocket.chat/presence-service Patch
@rocket.chat/queue-worker Patch
@rocket.chat/stream-hub-service Patch
@rocket.chat/federation-matrix Patch
@rocket.chat/license Patch
@rocket.chat/media-calls Patch
@rocket.chat/omnichannel-services Patch
@rocket.chat/pdf-worker Patch
@rocket.chat/models Patch
@rocket.chat/network-broker Patch
@rocket.chat/omni-core-ee 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

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

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.

2 issues found across 9 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="packages/apps-engine/src/server/AppManager.ts">

<violation number="1" location="packages/apps-engine/src/server/AppManager.ts:941">
P1: Keeping scheduled jobs here lets an `INVALID_LICENSE_DISABLED` app continue running its cron processors.</violation>
</file>

<file name="packages/apps-engine/tests/server/AppManager.spec.ts">

<violation number="1" location="packages/apps-engine/tests/server/AppManager.spec.ts:138">
P2: Stub `validateLicense()` for the mock apps in these skip-path tests. `updateAppsMarketplaceInfo()` always runs a second validation pass over `manager.apps`, so the current setup still hits unimplemented bridge methods and logs errors even when the update path is skipped.

(Based on your team's feedback about mocking only dependencies that affect observable side effects.) [FEEDBACK_USED]</violation>
</file>

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

@d-gubert d-gubert force-pushed the backport-7.12.6-37152 branch from d215be7 to 7261206 Compare March 10, 2026 19:16
@dionisio-bot
Copy link
Copy Markdown
Contributor Author

dionisio-bot bot commented Mar 10, 2026

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

  • 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

@d-gubert d-gubert force-pushed the backport-7.12.6-37152 branch from 7261206 to fb8f8b2 Compare March 10, 2026 23:33
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (release-7.12.6@ba189d3). Learn more about missing BASE report.

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                @@
##             release-7.12.6   #39516   +/-   ##
=================================================
  Coverage                  ?   66.62%           
=================================================
  Files                     ?     3409           
  Lines                     ?   116436           
  Branches                  ?    21470           
=================================================
  Hits                      ?    77578           
  Misses                    ?    36153           
  Partials                  ?     2705           
Flag Coverage Δ
e2e 57.49% <ø> (?)
unit 71.62% <ø> (?)

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.

@d-gubert d-gubert force-pushed the backport-7.12.6-37152 branch from fb8f8b2 to ff5a755 Compare March 11, 2026 12:59
@d-gubert d-gubert added the stat: QA assured Means it has been tested and approved by a company insider label Mar 11, 2026
@dionisio-bot dionisio-bot bot merged commit 7bab3a1 into release-7.12.6 Mar 11, 2026
81 of 83 checks passed
@dionisio-bot dionisio-bot bot deleted the backport-7.12.6-37152 branch March 11, 2026 22: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 stat: QA assured Means it has been tested and approved by a company insider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant