Closed Bug 2023598 Opened 8 months ago Closed 7 months ago

[wpt-sync] Sync PR 58465 - adds new lint rule for ineffective exclusion patterns in WEB_FEATURES.yml

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox151 fixed)

RESOLVED FIXED
151 Branch
Tracking Status
firefox151 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 58465 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/58465
Details from upstream follow.

Chris Cuellar <58723+ChrisC@users.noreply.github.com> wrote:

adds new lint rule for ineffective exclusion patterns in WEB_FEATURES.yml

This adds functionality to the WPT linter to cross-check files listed in an exclusion pattern in a WEB_FEATURES.yml (e.g. "!some-file.html" or "!some-file-*") and raises an error if it finds a redundant or simply ineffective exclusion pattern.

Keeping track of exclusions can be a problem on WEB_FEATURES.yml files with lots of different web features with lots of potential unexpected overlap (there's good examples of this complexity in the newly raised lint errors fixed in this commit.)

cc @jcscottiii @jugglinmike @foolip

The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/329ee4c9059b https://hg.mozilla.org/integration/autoland/rev/c49d2e4884b8 [wpt PR 58465] - adds new lint rule for ineffective exclusion patterns in WEB_FEATURES.yml, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
You need to log in before you can comment on or make changes to this bug.