Skip to content

feat: add && syntax for AND conditions in skip entries - #1193

Open
BethGriggs wants to merge 1 commit into
nodejs:mainfrom
BethGriggs:and-tags
Open

BethGriggs wants to merge 1 commit into
nodejs:mainfrom
BethGriggs:and-tags

Conversation

@BethGriggs

Copy link
Copy Markdown
Member

Allows combining multiple match conditions with && in a single string, so a skip only applies when all parts match. For example:

"skip": ["win32", "aix && >=26"]

Previously only OR logic was possible (array items are OR'd). The new syntax works with any existing condition type: semver ranges, platform, arch, platform-arch combos, distro, endian, and fips.

Assisted-by: IBM Bob

Checklist
  • npm test passes
  • tests are included
  • documentation is changed or added
  • contribution guidelines followed
    here

Allows combining multiple match conditions with && in a single string,
so a skip only applies when all parts match. For example:

  "skip": ["win32", "aix && >=26"]

Previously only OR logic was possible (array items are OR'd). The new
syntax works with any existing condition type: semver ranges, platform,
arch, platform-arch combos, distro, endian, and fips.

Assisted-by: IBM Bob
Signed-off-by: Beth Griggs <bethanyngriggs@gmail.com>
@codecov-commenter

codecov-commenter commented Oct 9, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.21%. Comparing base (76e35b4) to head (aae20ef).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1193      +/-   ##
==========================================
+ Coverage   96.20%   96.21%   +0.01%     
==========================================
  Files          29       29              
  Lines        2213     2219       +6     
==========================================
+ Hits         2129     2135       +6     
  Misses         84       84              

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

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.

2 participants