Skip to content

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

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

AndyScherzinger merged 1 commit into
stable35from
fix/stable35/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 stable35 (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 stable35 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 added this to the Nextcloud 35.0.3 milestone Oct 24, 2026
@AndyScherzinger AndyScherzinger added bug 3. to review Waiting for reviews tests Related to tests CI labels Oct 24, 2026
@AndyScherzinger
AndyScherzinger requested review from Altahrim, come-nc, leftybournes and provokateurin and removed request for a team October 24, 2026 14:43
@AndyScherzinger
AndyScherzinger merged commit 5ce150a into stable35 Oct 24, 2026
192 of 201 checks passed
@AndyScherzinger
AndyScherzinger deleted the fix/stable35/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