Skip to content

[stable31] fix(assets): rebuild dist for stable31 with correct dependencies#60790

Open
miaulalala wants to merge 2 commits into
stable31from
fix/noid/stable31-comments-dist-rebuild
Open

[stable31] fix(assets): rebuild dist for stable31 with correct dependencies#60790
miaulalala wants to merge 2 commits into
stable31from
fix/noid/stable31-comments-dist-rebuild

Conversation

@miaulalala
Copy link
Copy Markdown
Contributor

Summary

  • PR [stable31] fix(comments): mark comments as read and dismiss notifications in Activity sidebar  #60621 broke Cypress on stable31 with TypeError: (0 , _.withScopeId) is not a function
  • The dist files in that PR were built using master's node_modules, which had @nextcloud/dialogs@7.3.0
  • @nextcloud/dialogs@7.3.0 bundles a Vue 3-compiled floating-vue/vue-resize that imports withScopeId, openBlock, and createBlock from vue
  • Vue 2.7.16 (used in stable31) does not export these Vue 3 APIs → TypeError on every page load → all Cypress tests fail

This PR rebuilds the dist files using stable31's package-lock.json (@nextcloud/dialogs@6.4.2) with Node 20 as required by the project's engine constraint.

Test plan

  • Cypress should pass on stable31 after this merges

🤖 Generated with Claude Code

The dist files merged in #60621 were built using master's node_modules,
which had @nextcloud/dialogs@7.3.0. That version bundles a Vue 3-compiled
floating-vue/vue-resize that imports withScopeId, openBlock, createBlock
from 'vue'. Vue 2.7.16 (used in stable31) does not export these APIs,
causing a TypeError on page load that crashed all Cypress tests.

Rebuilt using stable31's package-lock.json (@nextcloud/dialogs@6.4.2)
with Node 20 as required by the project's engine constraint.

AI-Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
@miaulalala miaulalala requested a review from skjnldsv May 28, 2026 08:16
@github-actions github-actions Bot changed the title fix(assets): rebuild dist for stable31 with correct dependencies [stable31] fix(assets): rebuild dist for stable31 with correct dependencies May 28, 2026
@miaulalala miaulalala requested review from a team, ChristophWurst, mejo-, nfebe and sorbaugh and removed request for a team May 28, 2026 08:16
@miaulalala miaulalala self-assigned this May 28, 2026
@mejo-
Copy link
Copy Markdown
Member

mejo- commented May 28, 2026

Seems like still all Cypress tests fail 😢

The Cypress browser (Chrome 118 / Electron 27) is below stable31's
minimum browser version requirement, causing every page visit to show
"Your browser is not supported" instead of loading the app. This
silently prevented #user-menu, [data-cy-files-list], OCA.Files.Sidebar,
and all other Vue-rendered elements from ever appearing, making the
entire test suite fail.

Set no_unsupported_browser_warning=true during configureNextcloud() so
the browser check is suppressed in the test container.

AI-Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
@miaulalala miaulalala force-pushed the fix/noid/stable31-comments-dist-rebuild branch from ba0232c to faa005f Compare May 28, 2026 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants