Skip to content

ci: Drop Wikibase from the selenium stage#221

Merged
lens0021 merged 1 commit into
mainfrom
selenium-drop-wikibase
Jun 21, 2026
Merged

ci: Drop Wikibase from the selenium stage#221
lens0021 merged 1 commit into
mainfrom
selenium-drop-wikibase

Conversation

@lens0021

Copy link
Copy Markdown
Member

The selenium required check has been failing on Wikibase's bundled wikibase-termbox selenium specs (reading/editing/LicenseOverlay.spec.js), which time out in waitForTermboxToLoad.

Root cause (confirmed against Wikimedia CI): Quibble's selenium stage runs npm run selenium-test for every dependency that defines it. On REL1_43, Wikibase's wdio config globs in the termbox specs, whose mobile UI needs MinervaNeue + MobileFrontend to render (it is client-side-rendered; the SSR service is unrelated). Without them the page never hydrates and the specs time out. None of this exercises this extension.

Wikimedia's own CI does not run Wikibase's selenium for downstream extensions (on master Wikibase gates its selenium-test script to a no-op; only REL1_43 lacks that gate). This mirrors that: drop Wikibase from the selenium stage's dependency set only. Wikibase stays for phan/phpunit, which need it.

Expected result: the selenium check goes green legitimately, so the repo no longer needs admin-merge overrides.

Quibble's selenium stage runs `npm run selenium-test` for every dependency
that defines it. On REL1_43, Wikibase's wdio config globs in the
wikibase-termbox selenium specs, which render a mobile UI that needs
MinervaNeue + MobileFrontend; without them waitForTermboxToLoad times out,
so the selenium check failed on flaky termbox specs that have nothing to do
with this extension.

Wikimedia's own CI does not run Wikibase's selenium for downstream
extensions either (its master selenium-test entry is gated to a no-op).
Mirror that: drop Wikibase from the selenium stage's dependency set only;
it stays for phan/phpunit, which need it.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@codecov

codecov Bot commented Jun 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 5.59%. Comparing base (7f6e7fe) to head (8dcd7ac).

Additional details and impacted files
@@           Coverage Diff           @@
##              main    #221   +/-   ##
=======================================
  Coverage     5.59%   5.59%           
  Complexity      46      46           
=======================================
  Files            4       4           
  Lines          143     143           
=======================================
  Hits             8       8           
  Misses         135     135           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 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.

@lens0021 lens0021 merged commit 3d9995e into main Jun 21, 2026
17 checks passed
@lens0021 lens0021 deleted the selenium-drop-wikibase branch June 21, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant