Repository navigation
ci: restore cross-browser E2E coverage via weekly workflow - #1652
Merged
Merged
Conversation
PR #1623 limited the E2E lane to Chromium on every PR for speed, which dropped Firefox and WebKit coverage entirely. Past browser-specific bugs (e.g. a Firefox-only quirk in how `window.Components` is populated) show this coverage has value, so reintroduce it - but on a weekly cadence instead of paying for it on every PR. - Add `.github/workflows/tests-cross-browser.yml`: runs `tox -e e2e` weekly (Mon 06:00 UTC) and on manual dispatch, with a matrix over chromium/firefox/webkit. `fail-fast: false` keeps each browser's red/green independent. Chromium is included as a baseline so a failure tells you whether the bug is browser-specific or a generic E2E regression. A `notify_failure` job files or updates a tracking issue (label `ci-cross-browser-failure`) on scheduled failures only. - `tox.ini`: `[testenv:e2e]` now reads `DJC_TEST_BROWSERS` via `passenv` instead of pinning chromium with `set_env`, so the caller controls which browsers run. The PR-time lane in `tests.yml` sets `DJC_TEST_BROWSERS=chromium` explicitly to keep its fast default. - Document the test markers, CI lanes, and browser selection in `docs/community/development.md`, and add an explanatory comment to the `pytest_collection_modifyitems` hook in `tests/conftest.py`. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Contributor
Performance Benchmark ResultsComparing PR changes against master branch: Benchmarks that have stayed the same:
|
Contributor
Performance Benchmark ResultsComparing PR changes against master branch: Benchmarks that have stayed the same:
|
Collaborator
|
@JuroOravec Sounds like a good compromise. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(Opus 4.8)
Summary
#1623 split the test matrix into lanes and limited the E2E lane to Chromium only on every PR for speed. That dropped Firefox and WebKit coverage entirely. Past browser-specific bugs (e.g. a Firefox-only quirk in how
window.Componentsis populated) show this coverage has value, so this PR reintroduces it - but on a weekly cadence instead of paying for it on every PR.Changes
New workflow
.github/workflows/tests-cross-browser.ymltox -e e2eweekly (Mondays 06:00 UTC) and on manualworkflow_dispatch.chromium,firefox,webkit.fail-fast: falsekeeps each browser's red/green independent for easy triage.notify_failurejob files or updates a tracking issue (labelci-cross-browser-failure) on scheduled failures only, so manual dispatch runs don't open noisy issues. One open issue per outage: it comments on an existing open issue if present, otherwise creates one.tox.ini-[testenv:e2e]now readsDJC_TEST_BROWSERSviapassenvinstead of hardcoding chromium withset_env, so the caller controls which browsers run. (set_envwould have overridden the caller and silently broken the cross-browser run.).github/workflows/tests.yml- the PR-timee2elane now setsDJC_TEST_BROWSERS=chromiumexplicitly at the step level, preserving its fast single-browser default.Docs -
docs/community/development.mddocuments the test markers, the CI lanes, and how to select browsers locally withDJC_TEST_BROWSERS. Added an explanatory comment to thepytest_collection_modifyitemshook intests/conftest.py.Notes
🤖 Generated with Claude Code