Skip to content

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

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

AndyScherzinger merged 1 commit into
stable33from
fix/stable33/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 stable33 (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 stable33 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>
@AndyScherzinger
AndyScherzinger requested a review from a team as a code owner October 24, 2026 14:42
@AndyScherzinger AndyScherzinger added this to the Nextcloud 33.0.11 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, provokateurin and salmart-dev and removed request for a team October 24, 2026 14:43
@AndyScherzinger
AndyScherzinger merged commit 9f6c678 into stable33 Oct 24, 2026
184 of 198 checks passed
@AndyScherzinger
AndyScherzinger deleted the fix/stable33/playwright-vendored-app-branch branch October 24, 2026 17:30
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