Skip to content

[stable34] fix(ci): clone vendored test apps from the matching stable branch - #65874

Merged
AndyScherzinger merged 1 commit into
stable34from
fix/stable34/playwright-vendored-app-branch
Oct 24, 2026
Merged

AndyScherzinger merged 1 commit into
stable34from
fix/stable34/playwright-vendored-app-branch

Conversation

@AndyScherzinger

@AndyScherzinger AndyScherzinger commented Oct 24, 2026 •

Copy link
Copy Markdown
Member
  • Resolves: #

Summary

Playwright shard 5/8 fails deterministically on stable34 (e.g. #65865): the two "openfile" tests in tests/playwright/e2e/files/router-query.spec.ts never see the viewer dialog.

Cause: the Cypress → Playwright migration (31abfbd) dropped the workflow-level BRANCH: ${{ github.base_ref || github.ref_name }} env the Cypress workflow set. Without it @nextcloud/e2e-test-server falls back to master (├─ Using branch 'master' in the job log) and clones nextcloud/viewer from its default branch without --branch. That branch is empty since the viewer moved to the @nextcloud/viewer library for 36+, so the stable test server runs without a viewer.

Fix: restore the BRANCH env, so vendored apps are cloned from the matching stable34 branch. master is not affected, it does not clone the viewer.

TODO

Checklist

The Playwright migration dropped the BRANCH env the Cypress workflow
set, so @nextcloud/e2e-test-server fell back to 'master' and cloned
nextcloud/viewer from its default branch. That branch is empty since
the viewer moved to the @nextcloud/viewer library for 36+, so stable
branches ran without a viewer and the "openfile" router-query tests
failed deterministically.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
(cherry picked from commit 86b11ca)
@AndyScherzinger
AndyScherzinger requested a review from a team as a code owner October 24, 2026 14:43
@AndyScherzinger
AndyScherzinger removed the request for review from a team October 24, 2026 14:43
@AndyScherzinger AndyScherzinger added this to the Nextcloud 34.0.6 milestone Oct 24, 2026
@AndyScherzinger AndyScherzinger added the 3. to review Waiting for reviews label Oct 24, 2026
@AndyScherzinger AndyScherzinger added the tests Related to tests label Oct 24, 2026
@AndyScherzinger AndyScherzinger added bug 3. to review Waiting for reviews tests Related to tests CI labels Oct 24, 2026
@AndyScherzinger
AndyScherzinger merged commit a56ceb9 into stable34 Oct 24, 2026
135 of 142 checks passed
@AndyScherzinger
AndyScherzinger deleted the fix/stable34/playwright-vendored-app-branch branch October 24, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug CI tests Related to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant